47: /* Get the defined_balance_id for the specified balance DB item. */
48:
49: cursor csr_defined_balance is
50: select to_number(UE.creator_id) 51: from ff_user_entities UE, 52: ff_database_items DI
53: where DI.user_name = p_db_item_name
54: and UE.user_entity_id = DI.user_entity_id
55: and Ue.creator_type = 'B'