2455: * This function validates that the Period Code exists *
2456: * *
2457: * PARAMETERS *
2458: * p_organization_id IN mtl_organizations.organization_id%TYPE *
2459: * p_calendar_code IN cm_cldr_hdr_b.calendar_code%TYPE *
2460: * p_period_code IN cm_cldr_dtl.period_code%TYPE *
2461: * p_cost_type_id IN cm_mthd_mst.cost_type_id%TYPE *
2462: * *
2463: * RETURNS *
2468: ***************************************************************************************/
2469: FUNCTION Validate_period_code
2470: (
2471: p_organization_id IN mtl_organizations.organization_id%TYPE,
2472: p_calendar_code IN cm_cldr_hdr_b.calendar_code%TYPE,
2473: p_period_code IN cm_cldr_dtl.period_code%TYPE,
2474: p_cost_type_id IN cm_mthd_mst.cost_type_id%TYPE
2475: )
2476: RETURN NUMBER