108: PSB_SET_RELATIONS b,
109: PSB_BUDGET_POSITIONS c
110: WHERE exists
111: (SELECT 1
112: FROM PSB_DEFAULT_ACCOUNT_DISTRS d
113: WHERE d.default_rule_id = a.default_rule_id)
114: AND a.priority is not NULL
115: AND (a.global_default_flag = 'N'
116: or a.global_default_flag IS NULL)
123: CURSOR l_ld_dist_csr is
124: SELECT chart_of_accounts_id,
125: code_combination_id,
126: distribution_percent
127: FROM PSB_DEFAULT_ACCOUNT_DISTRS
128: WHERE default_rule_id = l_default_rule_id
129: AND code_combination_id IS NOT NULL;
130:
131: