57: CURSOR get_defined_bal_status( cp_balance_type_id NUMBER
58: ,cp_business_group_id NUMBER
59: ) IS
60: select 'Y'
61: from dual
62: where exists
63: ( select 1
64: from pay_defined_balances pdb
65: where pdb.balance_type_id = cp_balance_type_id