274: -- Check if reversed distribution id 2 is mapped for the event class
275: CURSOR c_rev_dist_2
276: IS
277: SELECT a.accounting_attribute_code, a.assignment_group_code
278: FROM xla_evt_class_acct_attrs_fvl a
279: WHERE a.application_id = p_application_id
280: AND a.event_class_code = p_event_class_code
281: AND a.accounting_attribute_code = 'REVERSED_DISTRIBUTION_ID2'
282: AND default_flag = 'Y';
296: -- Check if reversed distribution id 3 is mapped for the event class
297: CURSOR c_rev_dist_3
298: IS
299: SELECT a.accounting_attribute_code, a.assignment_group_code
300: FROM xla_evt_class_acct_attrs_fvl a
301: WHERE a.application_id = p_application_id
302: AND a.event_class_code = p_event_class_code
303: AND a.accounting_attribute_code = 'REVERSED_DISTRIBUTION_ID3'
304: AND default_flag = 'Y';
318: -- Check if reversed distribution id 4 is mapped for the event class
319: CURSOR c_rev_dist_4
320: IS
321: SELECT a.accounting_attribute_code, a.assignment_group_code
322: FROM xla_evt_class_acct_attrs_fvl a
323: WHERE a.application_id = p_application_id
324: AND a.event_class_code = p_event_class_code
325: AND a.accounting_attribute_code = 'REVERSED_DISTRIBUTION_ID4'
326: AND default_flag = 'Y';
340: -- Check if reversed distribution id 5 is mapped for the event class
341: CURSOR c_rev_dist_5
342: IS
343: SELECT a.accounting_attribute_code, a.assignment_group_code
344: FROM xla_evt_class_acct_attrs_fvl a
345: WHERE a.application_id = p_application_id
346: AND a.event_class_code = p_event_class_code
347: AND a.accounting_attribute_code = 'REVERSED_DISTRIBUTION_ID5'
348: AND a.default_flag = 'Y';