366:
367: begin
368: select 1
369: into l_count
370: from dual
371: where exists(
372: SELECT 1
373: FROM pa_proj_fp_options
374: WHERE cost_period_mask_id = p_period_mask_id);
384:
385: begin
386: select 1
387: into l_count
388: from dual
389: where exists(
390: SELECT 1
391: FROM pa_proj_fp_options
392: WHERE rev_period_mask_id = p_period_mask_id);
402:
403: begin
404: select 1
405: into l_count
406: from dual
407: where exists(
408: SELECT 1
409: FROM pa_proj_fp_options
410: WHERE all_period_mask_id = p_period_mask_id);