FUNCTIONis_on_arrears_plan(in_policy_numINNUMBER,in_policy_period_eff_dateINDATE)RETURNVARCHAR2ISv_generate_billing_codepayment_plan_type_code.generate_billing_code%TYPE;BEGINSELECTpptc.generate_billing_codeINTOv_generate_billing_codeFROMbilling_masterbm,billing_defaultsbd,payment_plan_type_codepptcWHEREbm.policy_num=in_policy_numANDbm.policy_period_eff_date=in_policy_period_eff_dateANDbm.billing_default_code=bd.billing_default_codeANDbd.payment_plan_type=pptc.code;IFv_generate_billing_codeNOTIN('INST','PPAY')THENRETURN'Y';ELSERETURN'N';ENDIF;EXCEPTIONWHENNO_DATA_FOUNDTHENRETURN'N';WHENOTHERSTHENpk73090_error_handler.raise_an_error('is_on_arrears_plan '||in_policy_num||','||in_policy_period_eff_date||','||SQLERRM);ENDis_on_arrears_plan;/*********************************************************** * PROCEDURE NAME : create_osc_billing_history * Create billing history for osc * * ***************************************************************** * PROGRAMMER ANALYST DATE MOD # *************************************************************/
Note: Statements marked with * were inferred from code structure, naming conventions, or
contextual evidence where direct confirmation was not available in source artifacts. Statements
marked with ** could not be confirmed; treat as unknown until verified.