DBA Data[Home] [Help]

APPS.ARP_ALLOCATION_PKG dependencies on STANDARD

Line 221: arp_standard.debug(' the_gl_account_source for bucket '||p_bucket||' is '||l_res);

217: l_res := g_ae_rule_rec.gl_account_source2;
218: ELSE
219: l_res := g_ae_rule_rec.tax_code_source1;
220: END IF;
221: arp_standard.debug(' the_gl_account_source for bucket '||p_bucket||' is '||l_res);
222: RETURN l_res;
223: END;
224:
225:

Line 243: arp_standard.debug(' the_tax_code_source for bucket '||p_bucket||' is '|| l_res);

239: l_res := g_ae_rule_rec.tax_code_source2;
240: ELSE
241: l_res := g_ae_rule_rec.tax_code_source1;
242: END IF;
243: arp_standard.debug(' the_tax_code_source for bucket '||p_bucket||' is '|| l_res);
244: RETURN l_res;
245: END;
246:
247: FUNCTION the_tax_recoverable_flag

Line 264: arp_standard.debug(' the_tax_recoverable_flag for bucket '||p_bucket||' is '|| l_res);

260: l_res := g_ae_rule_rec.tax_recoverable_flag2;
261: ELSE
262: l_res := g_ae_rule_rec.tax_recoverable_flag1;
263: END IF;
264: arp_standard.debug(' the_tax_recoverable_flag for bucket '||p_bucket||' is '|| l_res);
265: RETURN l_res;
266: END;
267:
268: FUNCTION source_exec

Line 278: arp_standard.debug('source_exec +');

274: IS
275: l_source_exec VARCHAR2(30);
276: BEGIN
277: l_source_exec := NULL;
278: arp_standard.debug('source_exec +');
279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);
280: arp_standard.debug(' p_process_uned :'||p_process_uned );
281: arp_standard.debug(' p_process_pay :'||p_process_pay );
282: arp_standard.debug(' p_source_table :'||p_source_table );

Line 279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);

275: l_source_exec VARCHAR2(30);
276: BEGIN
277: l_source_exec := NULL;
278: arp_standard.debug('source_exec +');
279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);
280: arp_standard.debug(' p_process_uned :'||p_process_uned );
281: arp_standard.debug(' p_process_pay :'||p_process_pay );
282: arp_standard.debug(' p_source_table :'||p_source_table );
283: IF p_process_ed_adj = 'Y' AND p_source_table = 'ADJ' THEN

Line 280: arp_standard.debug(' p_process_uned :'||p_process_uned );

276: BEGIN
277: l_source_exec := NULL;
278: arp_standard.debug('source_exec +');
279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);
280: arp_standard.debug(' p_process_uned :'||p_process_uned );
281: arp_standard.debug(' p_process_pay :'||p_process_pay );
282: arp_standard.debug(' p_source_table :'||p_source_table );
283: IF p_process_ed_adj = 'Y' AND p_source_table = 'ADJ' THEN
284: l_source_exec := 'ADJ';

Line 281: arp_standard.debug(' p_process_pay :'||p_process_pay );

277: l_source_exec := NULL;
278: arp_standard.debug('source_exec +');
279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);
280: arp_standard.debug(' p_process_uned :'||p_process_uned );
281: arp_standard.debug(' p_process_pay :'||p_process_pay );
282: arp_standard.debug(' p_source_table :'||p_source_table );
283: IF p_process_ed_adj = 'Y' AND p_source_table = 'ADJ' THEN
284: l_source_exec := 'ADJ';
285: ELSIF p_process_ed_adj = 'Y' AND p_source_table = 'RA' THEN

Line 282: arp_standard.debug(' p_source_table :'||p_source_table );

278: arp_standard.debug('source_exec +');
279: arp_standard.debug(' p_process_ed_adj :'||p_process_ed_adj);
280: arp_standard.debug(' p_process_uned :'||p_process_uned );
281: arp_standard.debug(' p_process_pay :'||p_process_pay );
282: arp_standard.debug(' p_source_table :'||p_source_table );
283: IF p_process_ed_adj = 'Y' AND p_source_table = 'ADJ' THEN
284: l_source_exec := 'ADJ';
285: ELSIF p_process_ed_adj = 'Y' AND p_source_table = 'RA' THEN
286: l_source_exec := 'ED';

Line 292: arp_standard.debug(' l_source_exec :'||l_source_exec);

288: l_source_exec := 'UNED';
289: ELSIF p_process_pay = 'Y' AND p_source_table = 'RA' THEN
290: l_source_exec := 'PAY';
291: END IF;
292: arp_standard.debug(' l_source_exec :'||l_source_exec);
293: arp_standard.debug('source_exec -');
294: RETURN l_source_exec;
295: END;
296:

Line 293: arp_standard.debug('source_exec -');

289: ELSIF p_process_pay = 'Y' AND p_source_table = 'RA' THEN
290: l_source_exec := 'PAY';
291: END IF;
292: arp_standard.debug(' l_source_exec :'||l_source_exec);
293: arp_standard.debug('source_exec -');
294: RETURN l_source_exec;
295: END;
296:
297:

Line 309: arp_standard.debug('source_exec +');

305: l_process_uned VARCHAR2(1) := 'N';
306: l_process_pay VARCHAR2(1) := 'N';
307: BEGIN
308: l_source_exec := NULL;
309: arp_standard.debug('source_exec +');
310: arp_standard.debug(' p_type_acct :'||p_type_acct);
311: arp_standard.debug(' p_source_table :'||p_source_table );
312: IF p_type_acct = 'ED_ADJ' THEN
313: l_process_ed_adj := 'Y';

Line 310: arp_standard.debug(' p_type_acct :'||p_type_acct);

306: l_process_pay VARCHAR2(1) := 'N';
307: BEGIN
308: l_source_exec := NULL;
309: arp_standard.debug('source_exec +');
310: arp_standard.debug(' p_type_acct :'||p_type_acct);
311: arp_standard.debug(' p_source_table :'||p_source_table );
312: IF p_type_acct = 'ED_ADJ' THEN
313: l_process_ed_adj := 'Y';
314: ELSIF p_type_acct = 'UNED' THEN

Line 311: arp_standard.debug(' p_source_table :'||p_source_table );

307: BEGIN
308: l_source_exec := NULL;
309: arp_standard.debug('source_exec +');
310: arp_standard.debug(' p_type_acct :'||p_type_acct);
311: arp_standard.debug(' p_source_table :'||p_source_table );
312: IF p_type_acct = 'ED_ADJ' THEN
313: l_process_ed_adj := 'Y';
314: ELSIF p_type_acct = 'UNED' THEN
315: l_process_uned := 'Y';

Line 324: arp_standard.debug(' l_source_exec :'||l_source_exec);

320: p_process_uned => l_process_uned,
321: p_process_pay => l_process_pay,
322: p_source_table => p_source_table);
323:
324: arp_standard.debug(' l_source_exec :'||l_source_exec);
325: arp_standard.debug('source_exec -');
326: RETURN l_source_exec;
327: END;
328:

Line 325: arp_standard.debug('source_exec -');

321: p_process_pay => l_process_pay,
322: p_source_table => p_source_table);
323:
324: arp_standard.debug(' l_source_exec :'||l_source_exec);
325: arp_standard.debug('source_exec -');
326: RETURN l_source_exec;
327: END;
328:
329: /* =======================================================================

Line 398: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax()+');

394: What_kind_of_activity EXCEPTION;
395: impossible_adjust EXCEPTION;
396: BEGIN
397: -- IF PG_DEBUG in ('Y', 'C') THEN
398: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax()+');
399: -- END IF;
400:
401: /*----------------------------------------------------------------------------+
402: | Assign globals and get system options info |

Line 453: arp_standard.debug(' p_gt_id :'||p_gt_id);

449: SELECT ar_distribution_split_s.NEXTVAL INTO g_id FROM DUAL;
450: ELSE
451: g_id := p_gt_id;
452: END IF;
453: arp_standard.debug(' p_gt_id :'||p_gt_id);
454: arp_standard.debug(' g_id :'||g_id);
455: --}
456: g_ed_adj_activity_link := 0;
457: g_uned_activity_link := 0;

Line 454: arp_standard.debug(' g_id :'||g_id);

450: ELSE
451: g_id := p_gt_id;
452: END IF;
453: arp_standard.debug(' p_gt_id :'||p_gt_id);
454: arp_standard.debug(' g_id :'||g_id);
455: --}
456: g_ed_adj_activity_link := 0;
457: g_uned_activity_link := 0;
458: g_link_ctr := 0;

Line 481: arp_standard.debug('g_ae_doc_rec+');

477: g_simul_app := NULL;
478:
479: END IF;
480:
481: arp_standard.debug('g_ae_doc_rec+');
482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);

Line 482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);

478:
479: END IF;
480:
481: arp_standard.debug('g_ae_doc_rec+');
482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);

Line 483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);

479: END IF;
480:
481: arp_standard.debug('g_ae_doc_rec+');
482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);

Line 484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);

480:
481: arp_standard.debug('g_ae_doc_rec+');
482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);

Line 485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);

481: arp_standard.debug('g_ae_doc_rec+');
482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);

Line 486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);

482: arp_standard.debug(' g_ae_doc_rec.document_type:'||g_ae_doc_rec.document_type);
483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);

Line 487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);

483: arp_standard.debug(' g_ae_doc_rec.document_id :'||g_ae_doc_rec.document_id);
484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);

Line 488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);

484: arp_standard.debug(' g_ae_doc_rec.accounting_entity_level:'||g_ae_doc_rec.accounting_entity_level);
485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);

Line 489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);

485: arp_standard.debug(' g_ae_doc_rec.source_table: '||g_ae_doc_rec.source_table);
486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);

Line 490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);

486: arp_standard.debug(' g_ae_doc_rec.source_id: '||g_ae_doc_rec.source_id);
487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);

Line 491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);

487: arp_standard.debug(' g_ae_doc_rec.source_id_old: '||g_ae_doc_rec.source_id_old);
488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);

Line 492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);

488: arp_standard.debug(' g_ae_doc_rec.other_flag: '||g_ae_doc_rec.other_flag);
489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);

Line 493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);

489: arp_standard.debug(' g_ae_doc_rec.miscel1: '||g_ae_doc_rec.miscel1);
490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');

Line 494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);

490: arp_standard.debug(' g_ae_doc_rec.event: '||g_ae_doc_rec.event);
491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:

Line 495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);

491: arp_standard.debug(' g_ae_doc_rec.deferred_tax: '||g_ae_doc_rec.deferred_tax);
492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');

Line 496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);

492: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_yn:'||g_ae_doc_rec.pay_sched_upd_yn);
493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);

Line 497: arp_standard.debug('g_ae_doc_rec-');

493: arp_standard.debug(' g_ae_doc_rec.pay_sched_upd_cm_yn:'||g_ae_doc_rec.pay_sched_upd_cm_yn);
494: arp_standard.debug(' g_ae_doc_rec.override_source_type:'||g_ae_doc_rec.override_source_type);
495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);

Line 499: arp_standard.debug('g_ae_rule_rec+');

495: arp_standard.debug(' g_ae_doc_rec.gl_tax_acct: '||g_ae_doc_rec.gl_tax_acct);
496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);

Line 500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);

496: arp_standard.debug(' g_ae_doc_rec.inv_cm_app_mode:'||g_ae_doc_rec.inv_cm_app_mode);
497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);

Line 501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);

497: arp_standard.debug('g_ae_doc_rec-');
498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);

Line 502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);

498:
499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);

Line 503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);

499: arp_standard.debug('g_ae_rule_rec+');
500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);

Line 504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);

500: arp_standard.debug(' g_ae_rule_rec.gl_account_source1 :'||g_ae_rule_rec.gl_account_source1);
501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);

Line 505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);

501: arp_standard.debug(' g_ae_rule_rec.tax_code_source1 :'||g_ae_rule_rec.tax_code_source1);
502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);

Line 506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);

502: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag1 :'||g_ae_rule_rec.tax_recoverable_flag1);
503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);

Line 507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);

503: arp_standard.debug(' g_ae_rule_rec.code_combination_id1 :'||g_ae_rule_rec.code_combination_id1);
504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);

Line 508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);

504: arp_standard.debug(' g_ae_rule_rec.asset_tax_code1 :'||g_ae_rule_rec.asset_tax_code1);
505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);

Line 509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);

505: arp_standard.debug(' g_ae_rule_rec.liability_tax_code1 :'||g_ae_rule_rec.liability_tax_code1);
506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);

Line 510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);

506: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid1 :'||g_ae_rule_rec.act_tax_non_rec_ccid1);
507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);

Line 511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);

507: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id1 :'||g_ae_rule_rec.act_vat_tax_id1);
508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);

Line 512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);

508: arp_standard.debug(' g_ae_rule_rec.gl_account_source2 :'||g_ae_rule_rec.gl_account_source2);
509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');

Line 513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);

509: arp_standard.debug(' g_ae_rule_rec.tax_code_source2 :'||g_ae_rule_rec.tax_code_source2);
510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:

Line 514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);

510: arp_standard.debug(' g_ae_rule_rec.tax_recoverable_flag2 :'||g_ae_rule_rec.tax_recoverable_flag2);
511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');

Line 515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);

511: arp_standard.debug(' g_ae_rule_rec.code_combination_id2 :'||g_ae_rule_rec.code_combination_id2);
512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);

Line 516: arp_standard.debug('g_ae_rule_rec-');

512: arp_standard.debug(' g_ae_rule_rec.asset_tax_code2 :'||g_ae_rule_rec.asset_tax_code2);
513: arp_standard.debug(' g_ae_rule_rec.liability_tax_code2 :'||g_ae_rule_rec.liability_tax_code2);
514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);

Line 518: arp_standard.debug('g_ae_event_rec+');

514: arp_standard.debug(' g_ae_rule_rec.act_tax_non_rec_ccid2 :'||g_ae_rule_rec.act_tax_non_rec_ccid2);
515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);

Line 519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);

515: arp_standard.debug(' g_ae_rule_rec.act_vat_tax_id2 :'||g_ae_rule_rec.act_vat_tax_id2);
516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);
523: arp_standard.debug('g_ae_event_rec-');

Line 520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);

516: arp_standard.debug('g_ae_rule_rec-');
517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);
523: arp_standard.debug('g_ae_event_rec-');
524:

Line 521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);

517:
518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);
523: arp_standard.debug('g_ae_event_rec-');
524:
525:

Line 522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);

518: arp_standard.debug('g_ae_event_rec+');
519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);
523: arp_standard.debug('g_ae_event_rec-');
524:
525:
526:

Line 523: arp_standard.debug('g_ae_event_rec-');

519: arp_standard.debug(' g_ae_event_rec.event_type :'||g_ae_event_rec.event_type);
520: arp_standard.debug(' g_ae_event_rec.event_id :'||g_ae_event_rec.event_id);
521: arp_standard.debug(' g_ae_event_rec.event_date :'||g_ae_event_rec.event_date);
522: arp_standard.debug(' g_ae_event_rec.event_status :'||g_ae_event_rec.event_status);
523: arp_standard.debug('g_ae_event_rec-');
524:
525:
526:
527: /*----------------------------------------------------------------------------+

Line 558: p_internal_org_id => arp_standard.sysparm.org_id,

554: p_validation_level => NULL,
555: x_return_status => l_return_status,
556: x_msg_count => l_msg_count,
557: x_msg_data => l_msg_data,
558: p_internal_org_id => arp_standard.sysparm.org_id,
559: p_legal_entity_id => l_le_id,
560: p_transaction_date => nvl(p_app_rec.apply_date,
561: p_adj_rec.apply_date),
562: p_related_doc_date => NULL,

Line 577: arp_standard.debug('Upgrade method is R12_MERGE,check whether further processing is needed');

573: +----------------------------------------------------------------------------*/
574: IF nvl(g_cust_inv_rec.upgrade_method,'NONE') = 'R12_MERGE' AND
575: g_ae_doc_rec.source_table IN ('RA','ADJ') THEN
576: IF PG_DEBUG in ('Y', 'C') THEN
577: arp_standard.debug('Upgrade method is R12_MERGE,check whether further processing is needed');
578: END IF;
579:
580: Check_Entry(p_invoice_id => l_invoice_id ,
581: p_app_rec => p_app_rec ,

Line 587: arp_standard.debug('Check_Entry return value false,avoidng call to detailed accting engine.');

583: p_required => l_required );
584:
585: IF NOT l_required THEN --processing not required
586: IF PG_DEBUG in ('Y', 'C') THEN
587: arp_standard.debug('Check_Entry return value false,avoidng call to detailed accting engine.');
588: END IF;
589:
590: GOTO end_process_lbl;
591: END IF;

Line 605: arp_standard.debug('Problem is this a application or adjustment allocation ?');

601:
602: IF ( (p_app_rec.receivable_application_id IS NOT NULL)
603: AND (p_adj_rec.adjustment_id IS NOT NULL))
604: THEN
605: arp_standard.debug('Problem is this a application or adjustment allocation ?');
606: arp_standard.debug(' Both receivable_application_id :' ||p_app_rec.receivable_application_id);
607: arp_standard.debug(' and adjustment_id_id :' ||p_adj_rec.adjustment_id);
608: arp_standard.debug(' are not null');
609: RAISE What_kind_of_activity;

Line 606: arp_standard.debug(' Both receivable_application_id :' ||p_app_rec.receivable_application_id);

602: IF ( (p_app_rec.receivable_application_id IS NOT NULL)
603: AND (p_adj_rec.adjustment_id IS NOT NULL))
604: THEN
605: arp_standard.debug('Problem is this a application or adjustment allocation ?');
606: arp_standard.debug(' Both receivable_application_id :' ||p_app_rec.receivable_application_id);
607: arp_standard.debug(' and adjustment_id_id :' ||p_adj_rec.adjustment_id);
608: arp_standard.debug(' are not null');
609: RAISE What_kind_of_activity;
610: ELSIF (p_app_rec.receivable_application_id IS NOT NULL) OR

Line 607: arp_standard.debug(' and adjustment_id_id :' ||p_adj_rec.adjustment_id);

603: AND (p_adj_rec.adjustment_id IS NOT NULL))
604: THEN
605: arp_standard.debug('Problem is this a application or adjustment allocation ?');
606: arp_standard.debug(' Both receivable_application_id :' ||p_app_rec.receivable_application_id);
607: arp_standard.debug(' and adjustment_id_id :' ||p_adj_rec.adjustment_id);
608: arp_standard.debug(' are not null');
609: RAISE What_kind_of_activity;
610: ELSIF (p_app_rec.receivable_application_id IS NOT NULL) OR
611: (p_app_rec.receivable_application_id IS NULL AND

Line 608: arp_standard.debug(' are not null');

604: THEN
605: arp_standard.debug('Problem is this a application or adjustment allocation ?');
606: arp_standard.debug(' Both receivable_application_id :' ||p_app_rec.receivable_application_id);
607: arp_standard.debug(' and adjustment_id_id :' ||p_adj_rec.adjustment_id);
608: arp_standard.debug(' are not null');
609: RAISE What_kind_of_activity;
610: ELSIF (p_app_rec.receivable_application_id IS NOT NULL) OR
611: (p_app_rec.receivable_application_id IS NULL AND
612: p_app_rec.applied_customer_trx_id IS NOT NULL AND

Line 683: arp_standard.debug(' x_line_adj :'||l_line_adj);

679: x_frt_adj => l_frt_adj,
680: x_chrg_adj => l_chrg_adj,
681: p_app_rec => p_app_rec);
682:
683: arp_standard.debug(' x_line_adj :'||l_line_adj);
684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);
685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);
686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);
687: arp_standard.debug(' l_return_status :'||l_return_status);

Line 684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);

680: x_chrg_adj => l_chrg_adj,
681: p_app_rec => p_app_rec);
682:
683: arp_standard.debug(' x_line_adj :'||l_line_adj);
684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);
685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);
686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);
687: arp_standard.debug(' l_return_status :'||l_return_status);
688:

Line 685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);

681: p_app_rec => p_app_rec);
682:
683: arp_standard.debug(' x_line_adj :'||l_line_adj);
684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);
685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);
686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);
687: arp_standard.debug(' l_return_status :'||l_return_status);
688:
689: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN

Line 686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);

682:
683: arp_standard.debug(' x_line_adj :'||l_line_adj);
684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);
685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);
686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);
687: arp_standard.debug(' l_return_status :'||l_return_status);
688:
689: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
690: RAISE impossible_adjust;

Line 687: arp_standard.debug(' l_return_status :'||l_return_status);

683: arp_standard.debug(' x_line_adj :'||l_line_adj);
684: arp_standard.debug(' x_tax_adj :'||l_tax_adj);
685: arp_standard.debug(' x_frt_adj :'||l_frt_adj);
686: arp_standard.debug(' x_chrg_adj :'||l_chrg_adj);
687: arp_standard.debug(' l_return_status :'||l_return_status);
688:
689: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
690: RAISE impossible_adjust;
691: END IF;

Line 703: arp_standard.debug('Problem is this a application or adjustment allocation ?');

699: ELSIF ( (p_adj_rec.adjustment_id IS NULL)
700: AND (p_app_rec.receivable_application_id IS NULL)
701: AND (NVL(g_simul_app,'N') = 'N')) -- added to avoid check for simulation [bug 8464438]
702: THEN
703: arp_standard.debug('Problem is this a application or adjustment allocation ?');
704: arp_standard.debug(' Both receivable_application_id and adjustment_id_id are null');
705: RAISE What_kind_of_activity;
706: END IF;
707: g_prim_det_dist_done := 'Y';

Line 704: arp_standard.debug(' Both receivable_application_id and adjustment_id_id are null');

700: AND (p_app_rec.receivable_application_id IS NULL)
701: AND (NVL(g_simul_app,'N') = 'N')) -- added to avoid check for simulation [bug 8464438]
702: THEN
703: arp_standard.debug('Problem is this a application or adjustment allocation ?');
704: arp_standard.debug(' Both receivable_application_id and adjustment_id_id are null');
705: RAISE What_kind_of_activity;
706: END IF;
707: g_prim_det_dist_done := 'Y';
708:

Line 722: arp_standard.debug(' HYU calling Get_Tax_Curr');

718:
719: /*----------------------------------------------------------------------------+
720: | Get tax rounding rules and currency details |
721: +----------------------------------------------------------------------------*/
722: arp_standard.debug(' HYU calling Get_Tax_Curr');
723: --{CMAPP
724: IF l_cm_app <> 'Y' THEN
725: Get_Tax_Curr(p_invoice_id => l_invoice_id,
726: p_payment_schedule_id => l_payment_schedule_id);

Line 747: arp_standard.debug(' l_process_ed_adj:'||l_process_ed_adj);

743: AND (nvl(p_app_rec.amount_applied,0) <> 0)) THEN
744: l_process_pay := 'Y';
745: END IF;
746:
747: arp_standard.debug(' l_process_ed_adj:'||l_process_ed_adj);
748: arp_standard.debug(' l_process_uned:'||l_process_uned);
749: arp_standard.debug(' l_process_pay:'||l_process_pay);
750:
751: /*----------------------------------------------------------------------------+

Line 748: arp_standard.debug(' l_process_uned:'||l_process_uned);

744: l_process_pay := 'Y';
745: END IF;
746:
747: arp_standard.debug(' l_process_ed_adj:'||l_process_ed_adj);
748: arp_standard.debug(' l_process_uned:'||l_process_uned);
749: arp_standard.debug(' l_process_pay:'||l_process_pay);
750:
751: /*----------------------------------------------------------------------------+
752: | Get Invoice Revenue and Tax distributions for Non Rule Invoice |

Line 749: arp_standard.debug(' l_process_pay:'||l_process_pay);

745: END IF;
746:
747: arp_standard.debug(' l_process_ed_adj:'||l_process_ed_adj);
748: arp_standard.debug(' l_process_uned:'||l_process_uned);
749: arp_standard.debug(' l_process_pay:'||l_process_pay);
750:
751: /*----------------------------------------------------------------------------+
752: | Get Invoice Revenue and Tax distributions for Non Rule Invoice |
753: +----------------------------------------------------------------------------*/

Line 754: arp_standard.debug(' Calling Get_Invoice_Distributions');

750:
751: /*----------------------------------------------------------------------------+
752: | Get Invoice Revenue and Tax distributions for Non Rule Invoice |
753: +----------------------------------------------------------------------------*/
754: arp_standard.debug(' Calling Get_Invoice_Distributions');
755:
756:
757: Get_Invoice_Distributions(p_invoice_id => l_invoice_id ,
758: p_app_rec => p_app_rec ,

Line 840: arp_standard.debug( 'upgrade method '||g_cust_inv_rec.upgrade_method);

836: -- p_adj_rec => p_adj_rec );
837: -- END IF; --end if payments
838:
839: IF PG_DEBUG in ('Y', 'C') THEN
840: arp_standard.debug( 'upgrade method '||g_cust_inv_rec.upgrade_method);
841: END IF;
842:
843: /*----------------------------------------------------------------------------+
844: | Summarize built accounting lines for revenue and tax to net out accounting |

Line 853: arp_standard.debug('Updating CM ard to stamp ref_prev_cust_trx_line_id');

849: ELSE
850: Summarize_Accounting_Lines;
851:
852: IF g_ae_doc_rec.inv_cm_app_mode = 'C' THEN
853: arp_standard.debug('Updating CM ard to stamp ref_prev_cust_trx_line_id');
854:
855: update ar_distributions ard
856: set ref_prev_cust_trx_line_id = (select previous_customer_trx_line_id
857: from ra_customer_trx_lines

Line 870: arp_standard.debug('CM ard rows updated : '||l_cnt);

866: and ctl_cm.previous_customer_trx_line_id is not null);
867:
868: l_cnt := sql%rowcount;
869:
870: arp_standard.debug('CM ard rows updated : '||l_cnt);
871:
872: IF l_cnt > 0 THEN
873: arp_standard.debug('Updating INV ard to stamp ref_prev_cust_trx_line_id');
874:

Line 873: arp_standard.debug('Updating INV ard to stamp ref_prev_cust_trx_line_id');

869:
870: arp_standard.debug('CM ard rows updated : '||l_cnt);
871:
872: IF l_cnt > 0 THEN
873: arp_standard.debug('Updating INV ard to stamp ref_prev_cust_trx_line_id');
874:
875: update ar_distributions ard
876: set ref_prev_cust_trx_line_id = (select ref_customer_trx_line_id
877: from ar_distributions

Line 890: arp_standard.debug('INV ard rows updated : '||l_cnt);

886: where ra.receivable_application_id = g_ae_doc_rec.source_id
887: and ra.applied_customer_trx_id = ctl_inv.customer_trx_id);
888: l_cnt := sql%rowcount;
889:
890: arp_standard.debug('INV ard rows updated : '||l_cnt);
891: END IF;
892: END IF;
893: END IF;
894:

Line 926: arp_standard.debug('Exceeded upper limit for maximum number of rows in ra_ar_gt');

922: * periodically delete the data from GT tables for every 1000 applications*
923: * for a receipt. * */
924: IF arp_det_dist_pkg.g_appln_count >= PG_DEL_FRM_GT_CNT THEN
925: IF PG_DEBUG in ('Y', 'C') THEN
926: arp_standard.debug('Exceeded upper limit for maximum number of rows in ra_ar_gt');
927: arp_standard.debug('PG_DEL_FRM_GT_CNT : ' || PG_DEL_FRM_GT_CNT);
928: arp_standard.debug('Clear all gt tables');
929: END IF;
930:

Line 927: arp_standard.debug('PG_DEL_FRM_GT_CNT : ' || PG_DEL_FRM_GT_CNT);

923: * for a receipt. * */
924: IF arp_det_dist_pkg.g_appln_count >= PG_DEL_FRM_GT_CNT THEN
925: IF PG_DEBUG in ('Y', 'C') THEN
926: arp_standard.debug('Exceeded upper limit for maximum number of rows in ra_ar_gt');
927: arp_standard.debug('PG_DEL_FRM_GT_CNT : ' || PG_DEL_FRM_GT_CNT);
928: arp_standard.debug('Clear all gt tables');
929: END IF;
930:
931: arp_det_dist_pkg.g_appln_count := 0;

Line 928: arp_standard.debug('Clear all gt tables');

924: IF arp_det_dist_pkg.g_appln_count >= PG_DEL_FRM_GT_CNT THEN
925: IF PG_DEBUG in ('Y', 'C') THEN
926: arp_standard.debug('Exceeded upper limit for maximum number of rows in ra_ar_gt');
927: arp_standard.debug('PG_DEL_FRM_GT_CNT : ' || PG_DEL_FRM_GT_CNT);
928: arp_standard.debug('Clear all gt tables');
929: END IF;
930:
931: arp_det_dist_pkg.g_appln_count := 0;
932:

Line 936: arp_standard.debug('No of rows deleted from ra_customer_trx_lines_gt : '||l_cnt);

932:
933: DELETE FROM ra_customer_trx_lines_gt;
934: IF PG_DEBUG in ('Y', 'C') THEN
935: l_cnt := sql%rowcount;
936: arp_standard.debug('No of rows deleted from ra_customer_trx_lines_gt : '||l_cnt);
937: END IF;
938:
939: DELETE FROM ra_ar_gt;
940: IF PG_DEBUG in ('Y', 'C') THEN

Line 942: arp_standard.debug('No of rows deleted from ra_ar_gt : '||l_cnt);

938:
939: DELETE FROM ra_ar_gt;
940: IF PG_DEBUG in ('Y', 'C') THEN
941: l_cnt := SQL%ROWCOUNT;
942: arp_standard.debug('No of rows deleted from ra_ar_gt : '||l_cnt);
943: END IF;
944:
945: DELETE FROM ra_ar_amounts_gt;
946: IF PG_DEBUG in ('Y', 'C') THEN

Line 948: arp_standard.debug('No of rows deleted from ra_ar_amounts_gt : '||l_cnt);

944:
945: DELETE FROM ra_ar_amounts_gt;
946: IF PG_DEBUG in ('Y', 'C') THEN
947: l_cnt := SQL%ROWCOUNT;
948: arp_standard.debug('No of rows deleted from ra_ar_amounts_gt : '||l_cnt);
949: END IF;
950:
951: DELETE FROM ar_base_dist_amts_gt;
952: IF PG_DEBUG in ('Y', 'C') THEN

Line 954: arp_standard.debug('No of rows deleted from ar_base_dist_amts_gt : '||l_cnt);

950:
951: DELETE FROM ar_base_dist_amts_gt;
952: IF PG_DEBUG in ('Y', 'C') THEN
953: l_cnt := SQL%ROWCOUNT;
954: arp_standard.debug('No of rows deleted from ar_base_dist_amts_gt : '||l_cnt);
955: END IF;
956:
957: DELETE FROM ar_line_app_detail_gt;
958: IF PG_DEBUG in ('Y', 'C') THEN

Line 960: arp_standard.debug('No of rows deleted from ar_line_app_detail_gt : '||l_cnt);

956:
957: DELETE FROM ar_line_app_detail_gt;
958: IF PG_DEBUG in ('Y', 'C') THEN
959: l_cnt := SQL%ROWCOUNT;
960: arp_standard.debug('No of rows deleted from ar_line_app_detail_gt : '||l_cnt);
961: END IF;
962:
963: DELETE FROM ar_ae_alloc_rec_gt;
964: IF PG_DEBUG in ('Y', 'C') THEN

Line 966: arp_standard.debug('No of rows deleted from ar_ae_alloc_rec_gt : '||l_cnt);

962:
963: DELETE FROM ar_ae_alloc_rec_gt;
964: IF PG_DEBUG in ('Y', 'C') THEN
965: l_cnt := SQL%ROWCOUNT;
966: arp_standard.debug('No of rows deleted from ar_ae_alloc_rec_gt : '||l_cnt);
967: END IF;
968: END IF;
969:
970: <>

Line 972: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax()-');

968: END IF;
969:
970: <>
971: IF PG_DEBUG in ('Y', 'C') THEN
972: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax()-');
973: END IF;
974:
975: EXCEPTION
976: WHEN NO_DATA_FOUND THEN

Line 978: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax - NO_DATA_FOUND' );

974:
975: EXCEPTION
976: WHEN NO_DATA_FOUND THEN
977: IF PG_DEBUG in ('Y', 'C') THEN
978: arp_standard.debug( 'ARP_ALLOCATION_PKG.Allocate_Tax - NO_DATA_FOUND' );
979: END IF;
980: RAISE;
981:
982: WHEN What_kind_of_activity THEN

Line 984: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax - What_kind_of_activity');

980: RAISE;
981:
982: WHEN What_kind_of_activity THEN
983: IF PG_DEBUG in ('Y', 'C') THEN
984: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax - What_kind_of_activity');
985: END IF;
986: RAISE;
987:
988: WHEN impossible_adjust THEN

Line 990: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax - impossible_adjust');

986: RAISE;
987:
988: WHEN impossible_adjust THEN
989: IF PG_DEBUG in ('Y', 'C') THEN
990: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax - impossible_adjust');
991: END IF;
992: RAISE;
993:
994: WHEN OTHERS THEN

Line 996: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax:'||SQLERRM);

992: RAISE;
993:
994: WHEN OTHERS THEN
995: IF PG_DEBUG in ('Y', 'C') THEN
996: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Allocate_Tax:'||SQLERRM);
997: END IF;
998: RAISE;
999:
1000: END Allocate_Tax;

Line 1029: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry()+');

1025:
1026: BEGIN
1027:
1028: IF PG_DEBUG in ('Y', 'C') THEN
1029: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry()+');
1030: END IF;
1031:
1032: --Is tax deferred
1033: BEGIN

Line 1036: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - Checking for deferred tax');

1032: --Is tax deferred
1033: BEGIN
1034:
1035: IF PG_DEBUG in ('Y', 'C') THEN
1036: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - Checking for deferred tax');
1037: END IF;
1038:
1039: select gld.customer_trx_id
1040: into l_dummy

Line 1050: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - DEFERRED TAX');

1046:
1047: l_ae_def_tax := TRUE; --Atleast one deferred tax line exists
1048:
1049: IF PG_DEBUG in ('Y', 'C') THEN
1050: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - DEFERRED TAX');
1051: END IF;
1052:
1053: EXCEPTION
1054: WHEN NO_DATA_FOUND THEN

Line 1056: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - NO DEFERRED TAX');

1052:
1053: EXCEPTION
1054: WHEN NO_DATA_FOUND THEN
1055: IF PG_DEBUG in ('Y', 'C') THEN
1056: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry - NO DEFERRED TAX');
1057: END IF;
1058: l_ae_def_tax := FALSE; --Tax is not deferred
1059: END;
1060:

Line 1062: arp_standard.debug(' g_ae_doc_rec.source_table:'||g_ae_doc_rec.source_table);

1058: l_ae_def_tax := FALSE; --Tax is not deferred
1059: END;
1060:
1061: IF PG_DEBUG in ('Y', 'C') THEN
1062: arp_standard.debug(' g_ae_doc_rec.source_table:'||g_ae_doc_rec.source_table);
1063: arp_standard.debug(' p_app_rec.earned_discount_taken:'||p_app_rec.earned_discount_taken);
1064: arp_standard.debug(' p_app_rec.unearned_discount_taken:'||p_app_rec.unearned_discount_taken);
1065: arp_standard.debug(' p_app_rec.amount_applied:'||p_app_rec.amount_applied);
1066: END IF;

Line 1063: arp_standard.debug(' p_app_rec.earned_discount_taken:'||p_app_rec.earned_discount_taken);

1059: END;
1060:
1061: IF PG_DEBUG in ('Y', 'C') THEN
1062: arp_standard.debug(' g_ae_doc_rec.source_table:'||g_ae_doc_rec.source_table);
1063: arp_standard.debug(' p_app_rec.earned_discount_taken:'||p_app_rec.earned_discount_taken);
1064: arp_standard.debug(' p_app_rec.unearned_discount_taken:'||p_app_rec.unearned_discount_taken);
1065: arp_standard.debug(' p_app_rec.amount_applied:'||p_app_rec.amount_applied);
1066: END IF;
1067:

Line 1064: arp_standard.debug(' p_app_rec.unearned_discount_taken:'||p_app_rec.unearned_discount_taken);

1060:
1061: IF PG_DEBUG in ('Y', 'C') THEN
1062: arp_standard.debug(' g_ae_doc_rec.source_table:'||g_ae_doc_rec.source_table);
1063: arp_standard.debug(' p_app_rec.earned_discount_taken:'||p_app_rec.earned_discount_taken);
1064: arp_standard.debug(' p_app_rec.unearned_discount_taken:'||p_app_rec.unearned_discount_taken);
1065: arp_standard.debug(' p_app_rec.amount_applied:'||p_app_rec.amount_applied);
1066: END IF;
1067:
1068: --Set processing required flag

Line 1065: arp_standard.debug(' p_app_rec.amount_applied:'||p_app_rec.amount_applied);

1061: IF PG_DEBUG in ('Y', 'C') THEN
1062: arp_standard.debug(' g_ae_doc_rec.source_table:'||g_ae_doc_rec.source_table);
1063: arp_standard.debug(' p_app_rec.earned_discount_taken:'||p_app_rec.earned_discount_taken);
1064: arp_standard.debug(' p_app_rec.unearned_discount_taken:'||p_app_rec.unearned_discount_taken);
1065: arp_standard.debug(' p_app_rec.amount_applied:'||p_app_rec.amount_applied);
1066: END IF;
1067:
1068: --Set processing required flag
1069: IF ((g_ae_doc_rec.source_table = 'RA')

Line 1081: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry()-');

1077: p_required := FALSE;
1078: END IF;
1079:
1080: IF PG_DEBUG in ('Y', 'C') THEN
1081: arp_standard.debug( 'ARP_ALLOCATION_PKG.Check_Entry()-');
1082: END IF;
1083:
1084: EXCEPTION
1085: WHEN OTHERS THEN

Line 1087: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Check_Entry');

1083:
1084: EXCEPTION
1085: WHEN OTHERS THEN
1086: IF PG_DEBUG in ('Y', 'C') THEN
1087: arp_standard.debug( 'EXCEPTION: ARP_ALLOCATION_PKG.Check_Entry');
1088: END IF;
1089: RAISE;
1090: END Check_Entry;
1091:

Line 1109: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()+');

1105: p_payment_schedule_id IN ar_payment_schedules.payment_schedule_id%TYPE ) IS
1106:
1107: BEGIN
1108: IF PG_DEBUG in ('Y', 'C') THEN
1109: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()+');
1110: arp_standard.debug( ' p_invoice_id = ' || p_invoice_id);
1111: arp_standard.debug( ' p_payment_schedule_id = ' || p_payment_schedule_id);
1112: END IF;
1113:

Line 1110: arp_standard.debug( ' p_invoice_id = ' || p_invoice_id);

1106:
1107: BEGIN
1108: IF PG_DEBUG in ('Y', 'C') THEN
1109: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()+');
1110: arp_standard.debug( ' p_invoice_id = ' || p_invoice_id);
1111: arp_standard.debug( ' p_payment_schedule_id = ' || p_payment_schedule_id);
1112: END IF;
1113:
1114: /*----------------------------------------------------------------------------+

Line 1111: arp_standard.debug( ' p_payment_schedule_id = ' || p_payment_schedule_id);

1107: BEGIN
1108: IF PG_DEBUG in ('Y', 'C') THEN
1109: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()+');
1110: arp_standard.debug( ' p_invoice_id = ' || p_invoice_id);
1111: arp_standard.debug( ' p_payment_schedule_id = ' || p_payment_schedule_id);
1112: END IF;
1113:
1114: /*----------------------------------------------------------------------------+
1115: | Get Invoice tax rounding rules and currency information |

Line 1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);

1136: and pay.payment_schedule_id = p_payment_schedule_id
1137: and ct.invoice_currency_code = fc.currency_code;
1138: END IF;
1139: IF PG_DEBUG in ('Y', 'C') THEN
1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);
1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);

Line 1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);

1137: and ct.invoice_currency_code = fc.currency_code;
1138: END IF;
1139: IF PG_DEBUG in ('Y', 'C') THEN
1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);
1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);
1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');

Line 1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);

1138: END IF;
1139: IF PG_DEBUG in ('Y', 'C') THEN
1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);
1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);
1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');
1146: END IF;

Line 1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);

1139: IF PG_DEBUG in ('Y', 'C') THEN
1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);
1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);
1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');
1146: END IF;
1147:

Line 1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);

1140: arp_standard.debug( ' g_ae_curr_rec.precision = ' || g_ae_curr_rec.precision);
1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);
1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');
1146: END IF;
1147:
1148: EXCEPTION

Line 1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');

1141: arp_standard.debug( ' g_ae_curr_rec.minimum_accountable_unit = ' || g_ae_curr_rec.minimum_accountable_unit);
1142: arp_standard.debug( ' g_amount_due_remaining = ' || g_amount_due_remaining);
1143: arp_standard.debug( ' g_acctd_amount_due_remaining = ' || g_acctd_amount_due_remaining);
1144: arp_standard.debug( ' g_amount_due_original = ' || g_amount_due_original);
1145: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Curr()-');
1146: END IF;
1147:
1148: EXCEPTION
1149: WHEN NO_DATA_FOUND THEN

Line 1151: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Tax_Curr - NO_DATA_FOUND' );

1147:
1148: EXCEPTION
1149: WHEN NO_DATA_FOUND THEN
1150: IF PG_DEBUG in ('Y', 'C') THEN
1151: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Tax_Curr - NO_DATA_FOUND' );
1152: END IF;
1153: RAISE;
1154:
1155: WHEN OTHERS THEN

Line 1157: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Tax_Curr');

1153: RAISE;
1154:
1155: WHEN OTHERS THEN
1156: IF PG_DEBUG in ('Y', 'C') THEN
1157: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Tax_Curr');
1158: END IF;
1159: RAISE;
1160:
1161: END Get_Tax_Curr;

Line 1278: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()+');

1274:
1275: BEGIN
1276:
1277: IF PG_DEBUG in ('Y', 'C') THEN
1278: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()+');
1279: END IF;
1280: /*------------------------------------------------------------------------------+
1281: | Initialise revenue, tax amounts and accounted amounts |
1282: +------------------------------------------------------------------------------*/

Line 1502: arp_standard.debug('p_process_ed_adj:'||p_process_ed_adj);

1498: '','VAT',
1499: 'LOC') */
1500:
1501:
1502: arp_standard.debug('p_process_ed_adj:'||p_process_ed_adj);
1503: arp_standard.debug('p_process_uned:'||p_process_uned);
1504:
1505:
1506: IF ((NVL(p_process_ed_adj,'N') = 'Y' AND

Line 1503: arp_standard.debug('p_process_uned:'||p_process_uned);

1499: 'LOC') */
1500:
1501:
1502: arp_standard.debug('p_process_ed_adj:'||p_process_ed_adj);
1503: arp_standard.debug('p_process_uned:'||p_process_uned);
1504:
1505:
1506: IF ((NVL(p_process_ed_adj,'N') = 'Y' AND
1507: g_ae_rule_rec.gl_account_source1 = 'REVENUE_ON_INVOICE' AND

Line 1749: arp_standard.debug('Get_Invoice_Distributions: ' || 'Tax and Deferred Tax amount accumulators, non recoverable account validation');

1745:
1746:
1747:
1748: IF PG_DEBUG in ('Y', 'C') THEN
1749: arp_standard.debug('Get_Invoice_Distributions: ' || 'Tax and Deferred Tax amount accumulators, non recoverable account validation');
1750: END IF;
1751:
1752: for l_get_group_data IN get_group_data_tax LOOP
1753:

Line 1766: arp_standard.debug('Get_Invoice_Distributions: ' || 'Invalid CCid error');

1762: OR (g_ae_rule_rec.tax_code_source1 = 'ACTIVITY'))
1763: AND (l_get_group_data.ae_override_ccid1 = 2)) THEN
1764:
1765: IF PG_DEBUG in ('Y', 'C') THEN
1766: arp_standard.debug('Get_Invoice_Distributions: ' || 'Invalid CCid error');
1767: END IF;
1768: RAISE invalid_ccid_error;
1769:
1770: END IF;

Line 1784: arp_standard.debug('Get_Invoice_Distributions: ' || 'Invalid CCid error');

1780: OR (g_ae_rule_rec.tax_code_source2 = 'ACTIVITY'))
1781: AND (l_get_group_data.ae_override_ccid2 = 2)) THEN
1782:
1783: IF PG_DEBUG in ('Y', 'C') THEN
1784: arp_standard.debug('Get_Invoice_Distributions: ' || 'Invalid CCid error');
1785: END IF;
1786: RAISE invalid_ccid_error;
1787:
1788: END IF;

Line 1811: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_tax_ctr = ' || g_ae_tax_ctr);

1807: --Assign tax lines
1808: g_ae_tax_ctr := g_ae_tax_ctr + l_get_group_data.ae_count;
1809:
1810: IF PG_DEBUG in ('Y', 'C') THEN
1811: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_tax_ctr = ' || g_ae_tax_ctr);
1812: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = ' ||
1813: g_ae_rule_rec.def_tax_amt);
1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||
1815: g_ae_rule_rec.def_tax_acctd_amt);

Line 1812: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = ' ||

1808: g_ae_tax_ctr := g_ae_tax_ctr + l_get_group_data.ae_count;
1809:
1810: IF PG_DEBUG in ('Y', 'C') THEN
1811: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_tax_ctr = ' || g_ae_tax_ctr);
1812: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = ' ||
1813: g_ae_rule_rec.def_tax_amt);
1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||
1815: g_ae_rule_rec.def_tax_acctd_amt);
1816: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = ' || g_ae_rule_rec.tax_amt);

Line 1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||

1810: IF PG_DEBUG in ('Y', 'C') THEN
1811: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_tax_ctr = ' || g_ae_tax_ctr);
1812: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = ' ||
1813: g_ae_rule_rec.def_tax_amt);
1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||
1815: g_ae_rule_rec.def_tax_acctd_amt);
1816: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = ' || g_ae_rule_rec.tax_amt);
1817: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = ' ||
1818: g_ae_rule_rec.tax_acctd_amt);

Line 1816: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = ' || g_ae_rule_rec.tax_amt);

1812: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = ' ||
1813: g_ae_rule_rec.def_tax_amt);
1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||
1815: g_ae_rule_rec.def_tax_acctd_amt);
1816: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = ' || g_ae_rule_rec.tax_amt);
1817: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = ' ||
1818: g_ae_rule_rec.tax_acctd_amt);
1819: END IF;
1820:

Line 1817: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = ' ||

1813: g_ae_rule_rec.def_tax_amt);
1814: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = ' ||
1815: g_ae_rule_rec.def_tax_acctd_amt);
1816: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = ' || g_ae_rule_rec.tax_amt);
1817: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = ' ||
1818: g_ae_rule_rec.tax_acctd_amt);
1819: END IF;
1820:
1821: END LOOP;

Line 1832: arp_standard.debug('Get_Invoice_Distributions: ' || 'Inserting Revenue lines');

1828: p_process_uned => p_process_uned,
1829: p_process_pay => p_process_pay);
1830: */
1831: IF PG_DEBUG in ('Y', 'C') THEN
1832: arp_standard.debug('Get_Invoice_Distributions: ' || 'Inserting Revenue lines');
1833: END IF;
1834:
1835:
1836: /*----------------------------------------------------------------------------+

Line 2424: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rev_ctr ' || g_ae_rev_ctr);

2420: g_ae_rule_rec.revenue_amt := l_get_group_data.sum_ae_amount;
2421: g_ae_rule_rec.revenue_acctd_amt := l_get_group_data.sum_ae_acctd_amount;
2422:
2423: IF PG_DEBUG in ('Y', 'C') THEN
2424: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rev_ctr ' || g_ae_rev_ctr);
2425: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = ' || g_ae_rule_rec.revenue_amt);
2426: arp_standard.debug('Get_Invoice_Distributions: ' ||
2427: 'g_ae_rule_rec.revenue_acctd_amt = ' || g_ae_rule_rec.revenue_acctd_amt);
2428: END IF;

Line 2425: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = ' || g_ae_rule_rec.revenue_amt);

2421: g_ae_rule_rec.revenue_acctd_amt := l_get_group_data.sum_ae_acctd_amount;
2422:
2423: IF PG_DEBUG in ('Y', 'C') THEN
2424: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rev_ctr ' || g_ae_rev_ctr);
2425: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = ' || g_ae_rule_rec.revenue_amt);
2426: arp_standard.debug('Get_Invoice_Distributions: ' ||
2427: 'g_ae_rule_rec.revenue_acctd_amt = ' || g_ae_rule_rec.revenue_acctd_amt);
2428: END IF;
2429:

Line 2426: arp_standard.debug('Get_Invoice_Distributions: ' ||

2422:
2423: IF PG_DEBUG in ('Y', 'C') THEN
2424: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rev_ctr ' || g_ae_rev_ctr);
2425: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = ' || g_ae_rule_rec.revenue_amt);
2426: arp_standard.debug('Get_Invoice_Distributions: ' ||
2427: 'g_ae_rule_rec.revenue_acctd_amt = ' || g_ae_rule_rec.revenue_acctd_amt);
2428: END IF;
2429:
2430: ELSIF l_get_group_data.ae_account_class = 'REVUNEARN' THEN

Line 2438: arp_standard.debug('Get_Invoice_Distributions: ' ||

2434: g_sum_unearn_rev_amt := l_get_group_data.sum_ae_amount;
2435: g_sum_unearn_rev_acctd_amt := l_get_group_data.sum_ae_acctd_amount;
2436:
2437: IF PG_DEBUG in ('Y', 'C') THEN
2438: arp_standard.debug('Get_Invoice_Distributions: ' ||
2439: 'g_sum_unearn_rev_amt = ' || g_sum_unearn_rev_amt);
2440: arp_standard.debug('Get_Invoice_Distributions: ' ||
2441: 'g_sum_unearn_rev_acctd_amt = ' || g_sum_unearn_rev_acctd_amt);
2442: END IF;

Line 2440: arp_standard.debug('Get_Invoice_Distributions: ' ||

2436:
2437: IF PG_DEBUG in ('Y', 'C') THEN
2438: arp_standard.debug('Get_Invoice_Distributions: ' ||
2439: 'g_sum_unearn_rev_amt = ' || g_sum_unearn_rev_amt);
2440: arp_standard.debug('Get_Invoice_Distributions: ' ||
2441: 'g_sum_unearn_rev_acctd_amt = ' || g_sum_unearn_rev_acctd_amt);
2442: END IF;
2443:
2444:

Line 2454: arp_standard.debug('Get_Invoice_Distributions: ' ||

2450:
2451: g_ae_rule_rec.receivable_account := l_get_group_data.ae_code_combination_id;
2452:
2453: IF PG_DEBUG in ('Y', 'C') THEN
2454: arp_standard.debug('Get_Invoice_Distributions: ' ||
2455: 'g_ae_rule_rec.receivable_amt = ' || g_ae_rule_rec.receivable_amt);
2456: arp_standard.debug('Get_Invoice_Distributions: ' ||
2457: 'g_ae_rule_rec.receivable_acctd_amt = ' || g_ae_rule_rec.receivable_acctd_amt);
2458: arp_standard.debug('Get_Invoice_Distributions: ' ||

Line 2456: arp_standard.debug('Get_Invoice_Distributions: ' ||

2452:
2453: IF PG_DEBUG in ('Y', 'C') THEN
2454: arp_standard.debug('Get_Invoice_Distributions: ' ||
2455: 'g_ae_rule_rec.receivable_amt = ' || g_ae_rule_rec.receivable_amt);
2456: arp_standard.debug('Get_Invoice_Distributions: ' ||
2457: 'g_ae_rule_rec.receivable_acctd_amt = ' || g_ae_rule_rec.receivable_acctd_amt);
2458: arp_standard.debug('Get_Invoice_Distributions: ' ||
2459: 'g_ae_rule_rec.receivable_account = ' || g_ae_rule_rec.receivable_account);
2460: END IF; */

Line 2458: arp_standard.debug('Get_Invoice_Distributions: ' ||

2454: arp_standard.debug('Get_Invoice_Distributions: ' ||
2455: 'g_ae_rule_rec.receivable_amt = ' || g_ae_rule_rec.receivable_amt);
2456: arp_standard.debug('Get_Invoice_Distributions: ' ||
2457: 'g_ae_rule_rec.receivable_acctd_amt = ' || g_ae_rule_rec.receivable_acctd_amt);
2458: arp_standard.debug('Get_Invoice_Distributions: ' ||
2459: 'g_ae_rule_rec.receivable_account = ' || g_ae_rule_rec.receivable_account);
2460: END IF; */
2461:
2462: END IF;

Line 2487: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = ' ||

2483: and latest_rec_flag = 'Y';
2484: END IF;
2485:
2486: IF PG_DEBUG in ('Y', 'C') THEN
2487: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = ' ||
2488: g_ae_rule_rec.receivable_amt);
2489: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = ' ||
2490: g_ae_rule_rec.receivable_acctd_amt);
2491: arp_standard.debug('Get_Invoice_Distributions: ' ||

Line 2489: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = ' ||

2485:
2486: IF PG_DEBUG in ('Y', 'C') THEN
2487: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = ' ||
2488: g_ae_rule_rec.receivable_amt);
2489: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = ' ||
2490: g_ae_rule_rec.receivable_acctd_amt);
2491: arp_standard.debug('Get_Invoice_Distributions: ' ||
2492: 'g_ae_rule_rec.receivable_account = ' || g_ae_rule_rec.receivable_account);
2493: END IF;

Line 2491: arp_standard.debug('Get_Invoice_Distributions: ' ||

2487: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = ' ||
2488: g_ae_rule_rec.receivable_amt);
2489: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = ' ||
2490: g_ae_rule_rec.receivable_acctd_amt);
2491: arp_standard.debug('Get_Invoice_Distributions: ' ||
2492: 'g_ae_rule_rec.receivable_account = ' || g_ae_rule_rec.receivable_account);
2493: END IF;
2494:
2495: /*------------------------------------------------------------------------------+

Line 2730: arp_standard.debug('Get_Invoice_Distributions: ' ||

2726: END IF; --create revenue total table
2727:
2728:
2729: IF PG_DEBUG in ('Y', 'C') THEN
2730: arp_standard.debug('Get_Invoice_Distributions: ' ||
2731: 'g_ae_rule_rec.gl_account_source1 = '||g_ae_rule_rec.gl_account_source1);
2732: arp_standard.debug('Get_Invoice_Distributions: ' ||
2733: 'g_ae_rule_rec.tax_code_source1 = '||g_ae_rule_rec.tax_code_source1);
2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||

Line 2732: arp_standard.debug('Get_Invoice_Distributions: ' ||

2728:
2729: IF PG_DEBUG in ('Y', 'C') THEN
2730: arp_standard.debug('Get_Invoice_Distributions: ' ||
2731: 'g_ae_rule_rec.gl_account_source1 = '||g_ae_rule_rec.gl_account_source1);
2732: arp_standard.debug('Get_Invoice_Distributions: ' ||
2733: 'g_ae_rule_rec.tax_code_source1 = '||g_ae_rule_rec.tax_code_source1);
2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||
2735: g_ae_rule_rec.tax_recoverable_flag1);
2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||

Line 2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||

2730: arp_standard.debug('Get_Invoice_Distributions: ' ||
2731: 'g_ae_rule_rec.gl_account_source1 = '||g_ae_rule_rec.gl_account_source1);
2732: arp_standard.debug('Get_Invoice_Distributions: ' ||
2733: 'g_ae_rule_rec.tax_code_source1 = '||g_ae_rule_rec.tax_code_source1);
2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||
2735: g_ae_rule_rec.tax_recoverable_flag1);
2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||
2737: g_ae_rule_rec.code_combination_id1);
2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||

Line 2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||

2732: arp_standard.debug('Get_Invoice_Distributions: ' ||
2733: 'g_ae_rule_rec.tax_code_source1 = '||g_ae_rule_rec.tax_code_source1);
2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||
2735: g_ae_rule_rec.tax_recoverable_flag1);
2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||
2737: g_ae_rule_rec.code_combination_id1);
2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||
2739: g_ae_rule_rec.asset_tax_code1);
2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||

Line 2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||

2734: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag1 = '||
2735: g_ae_rule_rec.tax_recoverable_flag1);
2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||
2737: g_ae_rule_rec.code_combination_id1);
2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||
2739: g_ae_rule_rec.asset_tax_code1);
2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||
2741: g_ae_rule_rec.liability_tax_code1);
2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||

Line 2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||

2736: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id1 = '||
2737: g_ae_rule_rec.code_combination_id1);
2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||
2739: g_ae_rule_rec.asset_tax_code1);
2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||
2741: g_ae_rule_rec.liability_tax_code1);
2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||
2743: g_ae_rule_rec.act_tax_non_rec_ccid1);
2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||

Line 2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||

2738: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code1 = '||
2739: g_ae_rule_rec.asset_tax_code1);
2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||
2741: g_ae_rule_rec.liability_tax_code1);
2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||
2743: g_ae_rule_rec.act_tax_non_rec_ccid1);
2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||
2745: g_ae_rule_rec.gl_account_source2);
2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||

Line 2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||

2740: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code1 = '||
2741: g_ae_rule_rec.liability_tax_code1);
2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||
2743: g_ae_rule_rec.act_tax_non_rec_ccid1);
2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||
2745: g_ae_rule_rec.gl_account_source2);
2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||
2747: g_ae_rule_rec.tax_code_source2);
2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||

Line 2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||

2742: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid1 = '||
2743: g_ae_rule_rec.act_tax_non_rec_ccid1);
2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||
2745: g_ae_rule_rec.gl_account_source2);
2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||
2747: g_ae_rule_rec.tax_code_source2);
2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||
2749: g_ae_rule_rec.tax_recoverable_flag2);
2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||

Line 2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||

2744: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.gl_account_source2 = '||
2745: g_ae_rule_rec.gl_account_source2);
2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||
2747: g_ae_rule_rec.tax_code_source2);
2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||
2749: g_ae_rule_rec.tax_recoverable_flag2);
2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||
2751: g_ae_rule_rec.code_combination_id2);
2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||

Line 2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||

2746: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_code_source2 = '||
2747: g_ae_rule_rec.tax_code_source2);
2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||
2749: g_ae_rule_rec.tax_recoverable_flag2);
2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||
2751: g_ae_rule_rec.code_combination_id2);
2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||
2753: g_ae_rule_rec.asset_tax_code2);
2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||

Line 2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||

2748: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_recoverable_flag2 = '||
2749: g_ae_rule_rec.tax_recoverable_flag2);
2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||
2751: g_ae_rule_rec.code_combination_id2);
2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||
2753: g_ae_rule_rec.asset_tax_code2);
2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||
2755: g_ae_rule_rec.liability_tax_code2);
2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||

Line 2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||

2750: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.code_combination_id2 = '||
2751: g_ae_rule_rec.code_combination_id2);
2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||
2753: g_ae_rule_rec.asset_tax_code2);
2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||
2755: g_ae_rule_rec.liability_tax_code2);
2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||
2757: g_ae_rule_rec.act_tax_non_rec_ccid2);
2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||

Line 2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||

2752: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.asset_tax_code2 = '||
2753: g_ae_rule_rec.asset_tax_code2);
2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||
2755: g_ae_rule_rec.liability_tax_code2);
2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||
2757: g_ae_rule_rec.act_tax_non_rec_ccid2);
2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||
2759: g_ae_rule_rec.receivable_account);
2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||

Line 2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||

2754: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.liability_tax_code2 = '||
2755: g_ae_rule_rec.liability_tax_code2);
2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||
2757: g_ae_rule_rec.act_tax_non_rec_ccid2);
2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||
2759: g_ae_rule_rec.receivable_account);
2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||
2761: g_ae_rule_rec.receivable_amt);
2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||

Line 2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||

2756: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.act_tax_non_rec_ccid2 = '||
2757: g_ae_rule_rec.act_tax_non_rec_ccid2);
2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||
2759: g_ae_rule_rec.receivable_account);
2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||
2761: g_ae_rule_rec.receivable_amt);
2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||
2763: g_ae_rule_rec.receivable_acctd_amt);
2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||

Line 2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||

2758: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_account = '||
2759: g_ae_rule_rec.receivable_account);
2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||
2761: g_ae_rule_rec.receivable_amt);
2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||
2763: g_ae_rule_rec.receivable_acctd_amt);
2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||
2765: g_ae_rule_rec.revenue_amt);
2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||

Line 2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||

2760: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_amt = '||
2761: g_ae_rule_rec.receivable_amt);
2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||
2763: g_ae_rule_rec.receivable_acctd_amt);
2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||
2765: g_ae_rule_rec.revenue_amt);
2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||
2767: g_ae_rule_rec.revenue_acctd_amt);
2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||

Line 2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||

2762: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.receivable_acctd_amt = '||
2763: g_ae_rule_rec.receivable_acctd_amt);
2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||
2765: g_ae_rule_rec.revenue_amt);
2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||
2767: g_ae_rule_rec.revenue_acctd_amt);
2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||
2769: g_ae_rule_rec.tax_amt);
2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||

Line 2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||

2764: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_amt = '||
2765: g_ae_rule_rec.revenue_amt);
2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||
2767: g_ae_rule_rec.revenue_acctd_amt);
2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||
2769: g_ae_rule_rec.tax_amt);
2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||
2771: g_ae_rule_rec.tax_acctd_amt);
2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||

Line 2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||

2766: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.revenue_acctd_amt = '||
2767: g_ae_rule_rec.revenue_acctd_amt);
2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||
2769: g_ae_rule_rec.tax_amt);
2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||
2771: g_ae_rule_rec.tax_acctd_amt);
2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||
2773: g_ae_rule_rec.def_tax_amt);
2774: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = '||

Line 2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||

2768: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_amt = '||
2769: g_ae_rule_rec.tax_amt);
2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||
2771: g_ae_rule_rec.tax_acctd_amt);
2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||
2773: g_ae_rule_rec.def_tax_amt);
2774: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = '||
2775: g_ae_rule_rec.def_tax_acctd_amt);
2776: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()-');

Line 2774: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = '||

2770: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.tax_acctd_amt = '||
2771: g_ae_rule_rec.tax_acctd_amt);
2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||
2773: g_ae_rule_rec.def_tax_amt);
2774: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = '||
2775: g_ae_rule_rec.def_tax_acctd_amt);
2776: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()-');
2777: END IF;
2778:

Line 2776: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()-');

2772: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_amt = '||
2773: g_ae_rule_rec.def_tax_amt);
2774: arp_standard.debug('Get_Invoice_Distributions: ' || 'g_ae_rule_rec.def_tax_acctd_amt = '||
2775: g_ae_rule_rec.def_tax_acctd_amt);
2776: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Invoice_Distributions()-');
2777: END IF;
2778:
2779:
2780: EXCEPTION

Line 2783: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Get_Invoice_Distributions' );

2779:
2780: EXCEPTION
2781: WHEN invalid_ccid_error THEN
2782: IF PG_DEBUG in ('Y', 'C') THEN
2783: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Get_Invoice_Distributions' );
2784: END IF;
2785: fnd_message.set_name('AR','AR_INVALID_TAX_ACCOUNT');
2786: RAISE;
2787:

Line 2790: arp_standard.debug('ram_api_error - ARP_ALLOCATION_PKG.Get_Invoice_Distributions' );

2786: RAISE;
2787:
2788: WHEN ram_api_error THEN
2789: IF PG_DEBUG in ('Y', 'C') THEN
2790: arp_standard.debug('ram_api_error - ARP_ALLOCATION_PKG.Get_Invoice_Distributions' );
2791: END IF;
2792: RAISE;
2793:
2794: WHEN NO_DATA_FOUND THEN

Line 2796: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Invoice_Distributions - NO_DATA_FOUND' );

2792: RAISE;
2793:
2794: WHEN NO_DATA_FOUND THEN
2795: IF PG_DEBUG in ('Y', 'C') THEN
2796: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Invoice_Distributions - NO_DATA_FOUND' );
2797: END IF;
2798: RAISE;
2799:
2800: WHEN OTHERS THEN

Line 2802: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Invoice_Distributions');

2798: RAISE;
2799:
2800: WHEN OTHERS THEN
2801: IF PG_DEBUG in ('Y', 'C') THEN
2802: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Invoice_Distributions');
2803: END IF;
2804: RAISE;
2805:
2806: END Get_Invoice_Distributions;

Line 2856: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Link_Id()+');

2852: l_set_pay_link VARCHAR2(1) := 'N';
2853:
2854: BEGIN
2855: IF PG_DEBUG in ('Y', 'C') THEN
2856: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Link_Id()+');
2857: END IF;
2858:
2859: l_link_ctr := g_link_ctr;
2860:

Line 2867: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_set_ed_adj_link ' || l_set_ed_adj_link);

2863: -----------------------------------------------------------------------------
2864: IF ((p_process_ed_adj = 'Y') AND (g_ed_adj_activity_link = 0)) THEN
2865: l_set_ed_adj_link := 'Y';
2866: IF PG_DEBUG in ('Y', 'C') THEN
2867: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_set_ed_adj_link ' || l_set_ed_adj_link);
2868: END IF;
2869: END IF;
2870:
2871: -----------------------------------------------------------------------------

Line 2877: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_set_uned_link ' || l_set_uned_link);

2873: -----------------------------------------------------------------------------
2874: IF ((p_process_uned = 'Y') AND (g_uned_activity_link = 0)) THEN
2875: l_set_uned_link := 'Y';
2876: IF PG_DEBUG in ('Y', 'C') THEN
2877: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_set_uned_link ' || l_set_uned_link);
2878: END IF;
2879: END IF;
2880:
2881: -----------------------------------------------------------------------------

Line 2887: arp_standard.debug('Get_Tax_Link_Id: ' || 'l_set_pay_link ' || l_set_pay_link);

2883: -----------------------------------------------------------------------------
2884: IF p_process_pay = 'Y' THEN
2885: l_set_pay_link := 'Y';
2886: IF PG_DEBUG in ('Y', 'C') THEN
2887: arp_standard.debug('Get_Tax_Link_Id: ' || 'l_set_pay_link ' || l_set_pay_link);
2888: END IF;
2889: END IF;
2890:
2891: -----------------------------------------------------------------------------

Line 2899: arp_standard.debug('Get_Tax_Link_Id: ' || 'l_mirror_link_ctr ' || l_mirror_link_ctr);

2895: IF l_set_ed_adj_link = 'Y' AND l_set_uned_link = 'Y' THEN
2896: l_mirror_link_ctr := 'Y';
2897: l_link_ctr1 := l_link_ctr + g_ae_tax_ctr + 1;
2898: IF PG_DEBUG in ('Y', 'C') THEN
2899: arp_standard.debug('Get_Tax_Link_Id: ' || 'l_mirror_link_ctr ' || l_mirror_link_ctr);
2900: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_link_ctr1 ' || l_link_ctr1);
2901: END IF;
2902: END IF;
2903:

Line 2900: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_link_ctr1 ' || l_link_ctr1);

2896: l_mirror_link_ctr := 'Y';
2897: l_link_ctr1 := l_link_ctr + g_ae_tax_ctr + 1;
2898: IF PG_DEBUG in ('Y', 'C') THEN
2899: arp_standard.debug('Get_Tax_Link_Id: ' || 'l_mirror_link_ctr ' || l_mirror_link_ctr);
2900: arp_standard.debug('Get_Tax_Link_Id: ' || ' l_link_ctr1 ' || l_link_ctr1);
2901: END IF;
2902: END IF;
2903:
2904: -----------------------------------------------------------------------------

Line 2918: arp_standard.debug('Get_Tax_Link_Id: ' || 'Opened get_tax Cursor ');

2914: +-------------------------------------------------------------------------------*/
2915: OPEN get_tax;
2916:
2917: IF PG_DEBUG in ('Y', 'C') THEN
2918: arp_standard.debug('Get_Tax_Link_Id: ' || 'Opened get_tax Cursor ');
2919: END IF;
2920:
2921: LOOP
2922: --initialize record

Line 2934: arp_standard.debug('Get_Tax_Link_Id: ' || 'COUNT = 0 and LAST FETCH ');

2930: END IF;
2931:
2932: IF (inv_line_tbl.COUNT = 0) AND (l_last_fetch) THEN
2933: IF PG_DEBUG in ('Y', 'C') THEN
2934: arp_standard.debug('Get_Tax_Link_Id: ' || 'COUNT = 0 and LAST FETCH ');
2935: END IF;
2936: EXIT;
2937: END IF;
2938:

Line 2953: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr ' || l_link_ctr);

2949: l_link_ctr1 := l_link_ctr1 + 1;
2950: END IF;
2951:
2952: IF PG_DEBUG in ('Y', 'C') THEN
2953: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr ' || l_link_ctr);
2954: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr1 ' || l_link_ctr1);
2955: arp_standard.debug('Get_Tax_Link_Id: ' || 'inv_line_tbl(' || i || ') = '|| inv_line_tbl(i));
2956: END IF;
2957:

Line 2954: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr1 ' || l_link_ctr1);

2950: END IF;
2951:
2952: IF PG_DEBUG in ('Y', 'C') THEN
2953: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr ' || l_link_ctr);
2954: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr1 ' || l_link_ctr1);
2955: arp_standard.debug('Get_Tax_Link_Id: ' || 'inv_line_tbl(' || i || ') = '|| inv_line_tbl(i));
2956: END IF;
2957:
2958: update /*+ INDEX(art3 AR_AE_ALLOC_REC_GT_N4) */

Line 2955: arp_standard.debug('Get_Tax_Link_Id: ' || 'inv_line_tbl(' || i || ') = '|| inv_line_tbl(i));

2951:
2952: IF PG_DEBUG in ('Y', 'C') THEN
2953: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr ' || l_link_ctr);
2954: arp_standard.debug('Get_Tax_Link_Id: ' || 'Link Id l_link_ctr1 ' || l_link_ctr1);
2955: arp_standard.debug('Get_Tax_Link_Id: ' || 'inv_line_tbl(' || i || ') = '|| inv_line_tbl(i));
2956: END IF;
2957:
2958: update /*+ INDEX(art3 AR_AE_ALLOC_REC_GT_N4) */
2959: ar_ae_alloc_rec_gt art3

Line 3014: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr ' || l_link_ctr);

3010: l_link_ctr1 := l_link_ctr1 - 1;
3011: END IF;
3012:
3013: IF PG_DEBUG in ('Y', 'C') THEN
3014: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr ' || l_link_ctr);
3015: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr1 ' || l_link_ctr1);
3016: END IF;
3017: END IF;
3018:

Line 3015: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr1 ' || l_link_ctr1);

3011: END IF;
3012:
3013: IF PG_DEBUG in ('Y', 'C') THEN
3014: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr ' || l_link_ctr);
3015: arp_standard.debug('Get_Tax_Link_Id: ' || 'Reversed Link Id l_link_ctr1 ' || l_link_ctr1);
3016: END IF;
3017: END IF;
3018:
3019: END LOOP; --sweep tax lines to formulate link

Line 3033: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Link_Id()-');

3029:
3030: END IF; --End if tax code source is ACTIVITY
3031:
3032: IF PG_DEBUG in ('Y', 'C') THEN
3033: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Tax_Link_Id()-');
3034: END IF;
3035:
3036: EXCEPTION
3037: WHEN NO_DATA_FOUND THEN

Line 3039: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);

3035:
3036: EXCEPTION
3037: WHEN NO_DATA_FOUND THEN
3038: IF PG_DEBUG in ('Y', 'C') THEN
3039: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);
3040: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Tax_Link_Id - NO_DATA_FOUND' );
3041: END IF;
3042: RAISE;
3043:

Line 3040: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Tax_Link_Id - NO_DATA_FOUND' );

3036: EXCEPTION
3037: WHEN NO_DATA_FOUND THEN
3038: IF PG_DEBUG in ('Y', 'C') THEN
3039: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);
3040: arp_standard.debug('ARP_ALLOCATION_PKG.Get_Tax_Link_Id - NO_DATA_FOUND' );
3041: END IF;
3042: RAISE;
3043:
3044: WHEN OTHERS THEN

Line 3046: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);

3042: RAISE;
3043:
3044: WHEN OTHERS THEN
3045: IF PG_DEBUG in ('Y', 'C') THEN
3046: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);
3047: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Tax_Link_Id');
3048: END IF;
3049: RAISE;
3050:

Line 3047: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Tax_Link_Id');

3043:
3044: WHEN OTHERS THEN
3045: IF PG_DEBUG in ('Y', 'C') THEN
3046: arp_standard.debug('Get_Tax_Link_Id: ' || 'SQLERRM ' || SQLERRM);
3047: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Tax_Link_Id');
3048: END IF;
3049: RAISE;
3050:
3051: END Get_Tax_Link_Id;

Line 3144: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Override_Accounts ');

3140:
3141: EXCEPTION
3142: WHEN OTHERS THEN
3143: IF PG_DEBUG in ('Y', 'C') THEN
3144: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Override_Accounts ');
3145: END IF;
3146: RAISE;
3147:
3148: END Override_Accounts;

Line 3169: arp_standard.debug( 'ARP_ALLOCATION_PKG.Process_Amounts()+');

3165:
3166: BEGIN
3167:
3168: IF PG_DEBUG in ('Y', 'C') THEN
3169: arp_standard.debug( 'ARP_ALLOCATION_PKG.Process_Amounts()+');
3170: END IF;
3171:
3172: /*------------------------------------------------------------------------------+
3173: | Initialise revenue amounts to allocate for discounts or adjustments |

Line 3291: arp_standard.debug( 'ARP_ALLOCATION_PKG.Process_Amounts()-');

3287:
3288: END IF;
3289:
3290: IF PG_DEBUG in ('Y', 'C') THEN
3291: arp_standard.debug( 'ARP_ALLOCATION_PKG.Process_Amounts()-');
3292: END IF;
3293:
3294: EXCEPTION
3295: WHEN OTHERS THEN

Line 3297: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Process_Amounts');

3293:
3294: EXCEPTION
3295: WHEN OTHERS THEN
3296: IF PG_DEBUG in ('Y', 'C') THEN
3297: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Process_Amounts');
3298: END IF;
3299: RAISE;
3300:
3301: END Process_Amounts;

Line 3334: arp_standard.debug( 'ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule()+');

3330:
3331: BEGIN
3332:
3333: IF PG_DEBUG in ('Y', 'C') THEN
3334: arp_standard.debug( 'ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule()+');
3335: END IF;
3336:
3337: /*-------------------------------------------------------------------------------+
3338: | Get Rules so that parent discount or adjustment record can be updated with the|

Line 3408: arp_standard.debug('Doc_Tax_Acct_Rule: ' || 'Rule being used being updated ' || l_rule_used);

3404:
3405: l_rule_used := l_rule_used || g_ovrrd_code;
3406:
3407: IF PG_DEBUG in ('Y', 'C') THEN
3408: arp_standard.debug('Doc_Tax_Acct_Rule: ' || 'Rule being used being updated ' || l_rule_used);
3409: END IF;
3410:
3411: /*-------------------------------------------------------------------------------+
3412: | Update the correct bucket with Rule used for a discount or an adjustment |

Line 3443: arp_standard.debug( 'ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule()-');

3439:
3440: END IF;
3441:
3442: IF PG_DEBUG in ('Y', 'C') THEN
3443: arp_standard.debug( 'ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule()-');
3444: END IF;
3445:
3446: EXCEPTION
3447: WHEN NO_DATA_FOUND THEN

Line 3449: arp_standard.debug('ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule- NO_DATA_FOUND' );

3445:
3446: EXCEPTION
3447: WHEN NO_DATA_FOUND THEN
3448: IF PG_DEBUG in ('Y', 'C') THEN
3449: arp_standard.debug('ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule- NO_DATA_FOUND' );
3450: END IF;
3451: RAISE;
3452:
3453: WHEN OTHERS THEN

Line 3455: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule');

3451: RAISE;
3452:
3453: WHEN OTHERS THEN
3454: IF PG_DEBUG in ('Y', 'C') THEN
3455: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Doc_Tax_Acct_Rule');
3456: END IF;
3457: RAISE;
3458:
3459: END Doc_Tax_Acct_Rule;

Line 3496: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Amts()+');

3492:
3493: BEGIN
3494:
3495: IF PG_DEBUG in ('Y', 'C') THEN
3496: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Amts()+');
3497: END IF;
3498:
3499: /*---------------------------------------------------------------------------+
3500: | When called from is the Wrapper routine for Bills Receivable, then the |

Line 3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);

3712:
3713: END IF;
3714:
3715: IF PG_DEBUG in ('Y', 'C') THEN
3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);

Line 3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);

3713: END IF;
3714:
3715: IF PG_DEBUG in ('Y', 'C') THEN
3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);

Line 3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);

3714:
3715: IF PG_DEBUG in ('Y', 'C') THEN
3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);

Line 3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);

3715: IF PG_DEBUG in ('Y', 'C') THEN
3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);
3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);

Line 3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);

3716: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);
3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);
3724: END IF;

Line 3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);

3717: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc ' || g_ae_rule_rec.line_acctd_amt_alloc);
3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);
3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);
3724: END IF;
3725:

Line 3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);

3718: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);
3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);
3724: END IF;
3725:
3726: /*------------------------------------------------------------------------------+

Line 3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);

3719: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc ' || g_ae_rule_rec.tax_acctd_amt_alloc);
3720: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc);
3721: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc);
3722: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc);
3723: arp_standard.debug('Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc);
3724: END IF;
3725:
3726: /*------------------------------------------------------------------------------+
3727: | If atleast one charges adjustment exists then add the charge to the line |

Line 3753: arp_standard.debug('Init_Amts: ' || 'Tax inclusive charges adjustments exist - charge added to line');

3749:
3750: g_ae_rule_rec.charges_acctd_amt_alloc := 0;
3751:
3752: IF PG_DEBUG in ('Y', 'C') THEN
3753: arp_standard.debug('Init_Amts: ' || 'Tax inclusive charges adjustments exist - charge added to line');
3754: END IF;
3755:
3756: END LOOP; --tax inclusive charges
3757:

Line 3881: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Amts()-');

3877: END IF; --end if revenue amount or accounted amount base is 0
3878:
3879:
3880: IF PG_DEBUG in ('Y', 'C') THEN
3881: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Amts()-');
3882: END IF;
3883:
3884: EXCEPTION
3885: WHEN rounding_error THEN

Line 3887: arp_standard.debug('Rounding error: ARP_ALLOCATION_PKG.Init_Amts');

3883:
3884: EXCEPTION
3885: WHEN rounding_error THEN
3886: IF PG_DEBUG in ('Y', 'C') THEN
3887: arp_standard.debug('Rounding error: ARP_ALLOCATION_PKG.Init_Amts');
3888: END IF;
3889: fnd_message.set_name('AR','AR_ROUNDING_ERROR');
3890: fnd_message.set_token('ROUTINE','ARP_ALLOCATION_PKG.INIT_AMTS');
3891: RAISE;

Line 3895: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Init_Amts');

3891: RAISE;
3892:
3893: WHEN OTHERS THEN
3894: IF PG_DEBUG in ('Y', 'C') THEN
3895: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Init_Amts');
3896: END IF;
3897: RAISE;
3898:
3899: END Init_Amts;

Line 3905: | This routine creates the standard Gross to Activity GL Account

3901: /* ==========================================================================
3902: | PROCEDURE Gross_To_Activity_GL
3903: |
3904: | DESCRIPTION
3905: | This routine creates the standard Gross to Activity GL Account
3906: | accounting entry.
3907: |
3908: | SCOPE - PRIVATE
3909: |

Line 3920: arp_standard.debug('ARP_ALLOCATION_PKG.Gross_To_Activity_GL()+');

3916:
3917: BEGIN
3918:
3919: IF PG_DEBUG in ('Y', 'C') THEN
3920: arp_standard.debug('ARP_ALLOCATION_PKG.Gross_To_Activity_GL()+');
3921: END IF;
3922:
3923: /*----------------------------------------------------------------------------+
3924: | Assign Currency Exchange rate information to initialisation record |

Line 3949: arp_standard.debug( 'ARP_ALLOCATION_PKG.Gross_To_Activity_GL()-');

3945: p_ae_line_init_rec => l_ae_line_init_rec,
3946: p_build_all => TRUE );
3947:
3948: IF PG_DEBUG in ('Y', 'C') THEN
3949: arp_standard.debug( 'ARP_ALLOCATION_PKG.Gross_To_Activity_GL()-');
3950: END IF;
3951:
3952: EXCEPTION
3953: WHEN OTHERS THEN

Line 3955: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Gross_To_Activity_GL');

3951:
3952: EXCEPTION
3953: WHEN OTHERS THEN
3954: IF PG_DEBUG in ('Y', 'C') THEN
3955: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Gross_To_Activity_GL');
3956: END IF;
3957: RAISE;
3958:
3959: END Gross_To_Activity_GL;

Line 3979: arp_standard.debug('ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab()+');

3975:
3976: l_ctr BINARY_INTEGER;
3977:
3978: BEGIN
3979: arp_standard.debug('ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab()+');
3980:
3981: /*------------------------------------------------------------------------------+
3982: | Set the prorate amount and summarized flags to null because they may have |
3983: | been set for earned discounts. |

Line 4006: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab()-');

4002: ae_tax_link_id_act = '' ,
4003: ae_counted_flag = 'N'
4004: WHERE ae_id = g_id;
4005:
4006: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab()-');
4007:
4008: EXCEPTION
4009: WHEN OTHERS THEN
4010: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab');

Line 4010: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab');

4006: arp_standard.debug( 'ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab()-');
4007:
4008: EXCEPTION
4009: WHEN OTHERS THEN
4010: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Init_Rev_Tax_Tab');
4011: RAISE;
4012:
4013: END Init_Rev_Tax_Tab;
4014:

Line 4035: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Acctd_Amt()-');

4031:
4032: BEGIN
4033:
4034: IF PG_DEBUG in ('Y', 'C') THEN
4035: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Acctd_Amt()-');
4036: END IF;
4037:
4038: l_acctd_amount := arpcurr.functional_amount(p_amount ,
4039: g_ae_sys_rec.base_currency ,

Line 4045: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Acctd_Amt()-');

4041: g_ae_sys_rec.base_precision ,
4042: g_ae_sys_rec.base_min_acc_unit );
4043:
4044: IF PG_DEBUG in ('Y', 'C') THEN
4045: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Acctd_Amt()-');
4046: END IF;
4047:
4048: RETURN l_acctd_amount ;
4049:

Line 4053: arp_standard.debug('Get_Acctd_Amt: ' || 'EXCEPTION: ARP_ALLOCATION_PKG.Init_Amts');

4049:
4050: EXCEPTION
4051: WHEN OTHERS THEN
4052: IF PG_DEBUG in ('Y', 'C') THEN
4053: arp_standard.debug('Get_Acctd_Amt: ' || 'EXCEPTION: ARP_ALLOCATION_PKG.Init_Amts');
4054: END IF;
4055: RAISE;
4056:
4057: END Get_Acctd_Amt;

Line 4147: arp_standard.debug( 'ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt()+');

4143: l_last_fetch BOOLEAN;
4144: BEGIN
4145:
4146: IF PG_DEBUG in ('Y', 'C') THEN
4147: arp_standard.debug( 'ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt()+');
4148: END IF;
4149:
4150: /*------------------------------------------------------------------------------+
4151: | Allocate discount, adjustment, finance charge amounts over revenue. The check|

Line 4168: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Revenue is True ');

4164: AND (g_ae_rev_ctr > 0) THEN
4165:
4166: l_process_rev := TRUE;
4167: IF PG_DEBUG in ('Y', 'C') THEN
4168: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Revenue is True ');
4169: END IF;
4170:
4171: END IF;
4172:

Line 4181: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Freight is True ');

4177: OR
4178: (((g_ae_rule_rec.freight_acctd_amt_alloc + g_ae_rule_rec.charges_acctd_amt_alloc) <> 0)
4179: AND (g_ae_rule_rec.revenue_acctd_amt <> 0))) AND (g_ae_rev_ctr > 0) THEN
4180: IF PG_DEBUG in ('Y', 'C') THEN
4181: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Freight is True ');
4182: END IF;
4183: l_process_frt := TRUE;
4184:
4185: END IF;

Line 4198: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Tax is True ');

4194: AND (g_ae_tax_ctr > 0) THEN
4195:
4196: l_process_tax := TRUE;
4197: IF PG_DEBUG in ('Y', 'C') THEN
4198: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'Process Tax is True ');
4199: END IF;
4200:
4201: END IF;
4202:

Line 4261: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'COUNT = 0 and LAST FETCH ');

4257: END IF;
4258:
4259: IF (g_ae_alloc_rev_tax_tbl.l_rowid.COUNT = 0) AND (l_last_fetch) THEN
4260: IF PG_DEBUG in ('Y', 'C') THEN
4261: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'COUNT = 0 and LAST FETCH ');
4262: END IF;
4263: EXIT;
4264: END IF;
4265:

Line 4300: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_amt = '||

4296: arpcurr.CurrRound(l_rev_run_amt_tot / g_ae_rule_rec.revenue_amt * g_ae_rule_rec.line_amt_alloc,
4297: g_cust_inv_rec.invoice_currency_code) - l_rev_run_pro_amt_tot;
4298:
4299: IF PG_DEBUG in ('Y', 'C') THEN
4300: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_amt = '||
4301: g_ae_alloc_rev_tax_tbl.ae_pro_amt(i));
4302: END IF;
4303:
4304: /*------------------------------------------------------------------------------+

Line 4321: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_amt('||i||') = '||

4317: (g_ae_rule_rec.freight_amt_alloc + g_ae_rule_rec.charges_amt_alloc),
4318: g_cust_inv_rec.invoice_currency_code) - l_frt_run_pro_amt_tot;
4319:
4320: IF PG_DEBUG in ('Y', 'C') THEN
4321: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_amt('||i||') = '||
4322: g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_amt(i));
4323: END IF;
4324:
4325: /*------------------------------------------------------------------------------+

Line 4349: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt = '||

4345: * g_ae_rule_rec.line_acctd_amt_alloc, g_ae_sys_rec.base_currency)
4346: - l_rev_run_pro_acctd_amt_tot;
4347:
4348: IF PG_DEBUG in ('Y', 'C') THEN
4349: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt = '||
4350: g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt(i));
4351: END IF;
4352:
4353: /*------------------------------------------------------------------------------+

Line 4369: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_acctd_amt('||i||') = '||

4365: * (g_ae_rule_rec.freight_acctd_amt_alloc + g_ae_rule_rec.charges_acctd_amt_alloc),
4366: g_ae_sys_rec.base_currency) - l_frt_run_pro_acctd_amt_tot;
4367:
4368: IF PG_DEBUG in ('Y', 'C') THEN
4369: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_acctd_amt('||i||') = '||
4370: g_ae_alloc_rev_tax_tbl.ae_pro_frt_chrg_acctd_amt(i));
4371: END IF;
4372:
4373: /*------------------------------------------------------------------------------+

Line 4416: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_amt = '||

4412: arpcurr.CurrRound(l_tax_run_amt_tot / g_ae_rule_rec.tax_amt * g_ae_rule_rec.tax_amt_alloc,
4413: g_cust_inv_rec.invoice_currency_code) - l_tax_run_pro_amt_tot;
4414:
4415: IF PG_DEBUG in ('Y', 'C') THEN
4416: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_amt = '||
4417: g_ae_alloc_rev_tax_tbl.ae_pro_amt(i));
4418: END IF;
4419:
4420: /*------------------------------------------------------------------------------+

Line 4437: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt = '||

4433: * g_ae_rule_rec.tax_acctd_amt_alloc, g_ae_sys_rec.base_currency)
4434: - l_tax_run_pro_acctd_amt_tot;
4435:
4436: IF PG_DEBUG in ('Y', 'C') THEN
4437: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt = '||
4438: g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt(i));
4439: END IF;
4440:
4441: /*------------------------------------------------------------------------------+

Line 4463: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_taxable_amt = '||

4459: g_ae_alloc_rev_tax_tbl.ae_pro_amt(i) / g_ae_alloc_rev_tax_tbl.ae_amount(i),
4460: g_cust_inv_rec.invoice_currency_code);
4461:
4462: IF PG_DEBUG in ('Y', 'C') THEN
4463: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_taxable_amt = '||
4464: g_ae_alloc_rev_tax_tbl.ae_pro_taxable_amt(i));
4465: END IF;
4466:
4467: END IF; --end if ae_amount is zero

Line 4480: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_taxable_acctd_amt = '||

4476: g_ae_alloc_rev_tax_tbl.ae_pro_acctd_amt(i) / g_ae_alloc_rev_tax_tbl.ae_acctd_amount(i),
4477: g_ae_sys_rec.base_currency);
4478:
4479: IF PG_DEBUG in ('Y', 'C') THEN
4480: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_taxable_acctd_amt = '||
4481: g_ae_alloc_rev_tax_tbl.ae_pro_taxable_acctd_amt(i));
4482: END IF;
4483:
4484: END IF; --end if ae_acctd_amount is zero

Line 4513: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_amt = '||

4509: arpcurr.CurrRound(l_def_tax_run_amt_tot / g_ae_rule_rec.def_tax_amt * l_tax_applied,
4510: g_cust_inv_rec.invoice_currency_code) - l_pro_def_tax_run_amt;
4511:
4512: IF PG_DEBUG in ('Y', 'C') THEN
4513: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_amt = '||
4514: g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_amt(i));
4515: END IF;
4516:
4517: /*------------------------------------------------------------------------------+

Line 4536: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_acctd_amt = '||

4532: * l_tax_acctd_applied, g_ae_sys_rec.base_currency)
4533: - l_pro_def_tax_run_acctd_amt;
4534:
4535: IF PG_DEBUG in ('Y', 'C') THEN
4536: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_acctd_amt = '||
4537: g_ae_alloc_rev_tax_tbl.ae_pro_def_tax_acctd_amt(i));
4538: END IF;
4539:
4540: /*------------------------------------------------------------------------------+

Line 4607: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_amt_tot : '||l_tax_run_pro_amt_tot||

4603: AND (g_ae_def_tax) AND (NOT g_done_def_tax) AND (p_type_acct = 'PAY')))
4604: AND l_process_tax THEN
4605:
4606: IF PG_DEBUG in ('Y', 'C') THEN
4607: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_amt_tot : '||l_tax_run_pro_amt_tot||
4608: ' <> '||'g_ae_rule_rec.tax_amt_alloc : '||g_ae_rule_rec.tax_amt_alloc);
4609: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_acctd_amt_tot : '||l_tax_run_pro_acctd_amt_tot||
4610: ' <> '||'g_ae_rule_rec.tax_acctd_amt_alloc : '||g_ae_rule_rec.tax_acctd_amt_alloc);
4611: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_amt : '||l_pro_def_tax_run_amt||

Line 4609: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_acctd_amt_tot : '||l_tax_run_pro_acctd_amt_tot||

4605:
4606: IF PG_DEBUG in ('Y', 'C') THEN
4607: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_amt_tot : '||l_tax_run_pro_amt_tot||
4608: ' <> '||'g_ae_rule_rec.tax_amt_alloc : '||g_ae_rule_rec.tax_amt_alloc);
4609: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_acctd_amt_tot : '||l_tax_run_pro_acctd_amt_tot||
4610: ' <> '||'g_ae_rule_rec.tax_acctd_amt_alloc : '||g_ae_rule_rec.tax_acctd_amt_alloc);
4611: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_amt : '||l_pro_def_tax_run_amt||
4612: ' <> '||'l_tax_applied : '||l_tax_applied);
4613: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_acctd_amt : '||l_pro_def_tax_run_acctd_amt||

Line 4611: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_amt : '||l_pro_def_tax_run_amt||

4607: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_amt_tot : '||l_tax_run_pro_amt_tot||
4608: ' <> '||'g_ae_rule_rec.tax_amt_alloc : '||g_ae_rule_rec.tax_amt_alloc);
4609: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_acctd_amt_tot : '||l_tax_run_pro_acctd_amt_tot||
4610: ' <> '||'g_ae_rule_rec.tax_acctd_amt_alloc : '||g_ae_rule_rec.tax_acctd_amt_alloc);
4611: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_amt : '||l_pro_def_tax_run_amt||
4612: ' <> '||'l_tax_applied : '||l_tax_applied);
4613: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_acctd_amt : '||l_pro_def_tax_run_acctd_amt||
4614: ' <> '||'l_tax_acctd_applied : '||l_tax_acctd_applied);
4615: END IF;

Line 4613: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_acctd_amt : '||l_pro_def_tax_run_acctd_amt||

4609: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_tax_run_pro_acctd_amt_tot : '||l_tax_run_pro_acctd_amt_tot||
4610: ' <> '||'g_ae_rule_rec.tax_acctd_amt_alloc : '||g_ae_rule_rec.tax_acctd_amt_alloc);
4611: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_amt : '||l_pro_def_tax_run_amt||
4612: ' <> '||'l_tax_applied : '||l_tax_applied);
4613: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_pro_def_tax_run_acctd_amt : '||l_pro_def_tax_run_acctd_amt||
4614: ' <> '||'l_tax_acctd_applied : '||l_tax_acctd_applied);
4615: END IF;
4616:
4617: RAISE rounding_error;

Line 4630: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_amt_tot : '||l_rev_run_pro_amt_tot||

4626: OR ((l_rev_run_pro_acctd_amt_tot <> g_ae_rule_rec.line_acctd_amt_alloc)
4627: AND (g_ae_rule_rec.revenue_acctd_amt <>0))) AND l_process_rev THEN
4628:
4629: IF PG_DEBUG in ('Y', 'C') THEN
4630: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_amt_tot : '||l_rev_run_pro_amt_tot||
4631: ' <> '||'g_ae_rule_rec.line_amt_alloc : '||g_ae_rule_rec.line_amt_alloc);
4632: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_acctd_amt_tot : '||l_rev_run_pro_acctd_amt_tot||
4633: ' <> '||'g_ae_rule_rec.line_acctd_amt_alloc : '||g_ae_rule_rec.line_acctd_amt_alloc);
4634: END IF;

Line 4632: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_acctd_amt_tot : '||l_rev_run_pro_acctd_amt_tot||

4628:
4629: IF PG_DEBUG in ('Y', 'C') THEN
4630: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_amt_tot : '||l_rev_run_pro_amt_tot||
4631: ' <> '||'g_ae_rule_rec.line_amt_alloc : '||g_ae_rule_rec.line_amt_alloc);
4632: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_rev_run_pro_acctd_amt_tot : '||l_rev_run_pro_acctd_amt_tot||
4633: ' <> '||'g_ae_rule_rec.line_acctd_amt_alloc : '||g_ae_rule_rec.line_acctd_amt_alloc);
4634: END IF;
4635:
4636: RAISE rounding_error;

Line 4651: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_amt_tot : '||l_frt_run_pro_amt_tot||

4647: (g_ae_rule_rec.freight_acctd_amt_alloc + g_ae_rule_rec.charges_acctd_amt_alloc))
4648: AND (g_ae_rule_rec.revenue_acctd_amt <>0))) AND l_process_frt THEN
4649:
4650: IF PG_DEBUG in ('Y', 'C') THEN
4651: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_amt_tot : '||l_frt_run_pro_amt_tot||
4652: ' <> '||'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc ||
4653: ' + g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc );
4654: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_acctd_amt_tot : '||l_frt_run_pro_acctd_amt_tot||
4655: ' <> '||'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc ||

Line 4654: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_acctd_amt_tot : '||l_frt_run_pro_acctd_amt_tot||

4650: IF PG_DEBUG in ('Y', 'C') THEN
4651: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_amt_tot : '||l_frt_run_pro_amt_tot||
4652: ' <> '||'g_ae_rule_rec.freight_amt_alloc ' || g_ae_rule_rec.freight_amt_alloc ||
4653: ' + g_ae_rule_rec.charges_amt_alloc ' || g_ae_rule_rec.charges_amt_alloc );
4654: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || 'l_frt_run_pro_acctd_amt_tot : '||l_frt_run_pro_acctd_amt_tot||
4655: ' <> '||'g_ae_rule_rec.freight_acctd_amt_alloc ' || g_ae_rule_rec.freight_acctd_amt_alloc ||
4656: ' + g_ae_rule_rec.charges_acctd_amt_alloc ' || g_ae_rule_rec.charges_acctd_amt_alloc );
4657: END IF;
4658:

Line 4664: arp_standard.debug( 'ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt()-');

4660:
4661: END IF;
4662:
4663: IF PG_DEBUG in ('Y', 'C') THEN
4664: arp_standard.debug( 'ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt()-');
4665: END IF;
4666:
4667: EXCEPTION
4668:

Line 4671: arp_standard.debug('Rounding Error: ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt' );

4667: EXCEPTION
4668:
4669: WHEN rounding_error THEN
4670: IF PG_DEBUG in ('Y', 'C') THEN
4671: arp_standard.debug('Rounding Error: ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt' );
4672: END IF;
4673: fnd_message.set_name('AR','AR_ROUNDING_ERROR');
4674: fnd_message.set_token('ROUTINE','ARP_ALLOCATION_PKG.ALLOC_REV_TAX_AMT');
4675: RAISE;

Line 4679: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || SQLERRM);

4675: RAISE;
4676:
4677: WHEN OTHERS THEN
4678: IF PG_DEBUG in ('Y', 'C') THEN
4679: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || SQLERRM);
4680: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt');
4681: END IF;
4682: RAISE;
4683:

Line 4680: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt');

4676:
4677: WHEN OTHERS THEN
4678: IF PG_DEBUG in ('Y', 'C') THEN
4679: arp_standard.debug('Alloc_Rev_Tax_Amt: ' || SQLERRM);
4680: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Alloc_Rev_Tax_Amt');
4681: END IF;
4682: RAISE;
4683:
4684: END Alloc_Rev_Tax_Amt;

Line 4758: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Amt()+');

4754:
4755: BEGIN
4756:
4757: IF PG_DEBUG in ('Y', 'C') THEN
4758: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Amt()+');
4759: END IF;
4760:
4761: OPEN set_taxable_and_link;
4762:

Line 4783: arp_standard.debug('Set_Taxable_Amt: ' || 'COUNT = 0 and LAST FETCH ');

4779: END IF;
4780:
4781: IF (rowid_tbl.COUNT = 0) AND (l_last_fetch) THEN
4782: IF PG_DEBUG in ('Y', 'C') THEN
4783: arp_standard.debug('Set_Taxable_Amt: ' || 'COUNT = 0 and LAST FETCH ');
4784: END IF;
4785: EXIT;
4786: END IF;
4787:

Line 4825: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Amt()-');

4821:
4822: CLOSE set_taxable_and_link;
4823:
4824: IF PG_DEBUG in ('Y', 'C') THEN
4825: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Amt()-');
4826: END IF;
4827:
4828: EXCEPTION
4829: WHEN OTHERS THEN

Line 4831: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Taxable_Amt');

4827:
4828: EXCEPTION
4829: WHEN OTHERS THEN
4830: IF PG_DEBUG in ('Y', 'C') THEN
4831: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Taxable_Amt');
4832: END IF;
4833: RAISE;
4834:
4835: END Set_Taxable_Amt;

Line 4920: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt()+');

4916: l_prev_collected_ccid NUMBER;
4917:
4918: BEGIN
4919: IF PG_DEBUG in ('Y', 'C') THEN
4920: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt()+');
4921: END IF;
4922:
4923: OPEN set_taxable_split;
4924:

Line 4955: arp_standard.debug('Set_Taxable_Split_Amt: ' || 'COUNT = 0 and LAST FETCH ');

4951: END IF;
4952:
4953: IF (rowid_tbl.COUNT = 0) AND (l_last_fetch) THEN
4954: IF PG_DEBUG in ('Y', 'C') THEN
4955: arp_standard.debug('Set_Taxable_Split_Amt: ' || 'COUNT = 0 and LAST FETCH ');
4956: END IF;
4957: EXIT;
4958: END IF;
4959:

Line 5009: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt()-');

5005:
5006: CLOSE set_taxable_split;
5007:
5008: IF PG_DEBUG in ('Y', 'C') THEN
5009: arp_standard.debug( 'ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt()-');
5010: END IF;
5011:
5012: EXCEPTION
5013: WHEN OTHERS THEN

Line 5015: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt');

5011:
5012: EXCEPTION
5013: WHEN OTHERS THEN
5014: IF PG_DEBUG in ('Y', 'C') THEN
5015: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Taxable_Split_Amt');
5016: END IF;
5017: RAISE;
5018:
5019: END Set_Taxable_Split_Amt;

Line 5093: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev()+');

5089:
5090: BEGIN
5091:
5092: IF PG_DEBUG in ('Y', 'C') THEN
5093: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev()+');
5094: END IF;
5095:
5096: IF (((p_type_acct = 'ED_ADJ') AND (g_ae_rule_rec.tax_code_source1 = 'NONE'))
5097: OR ((p_type_acct = 'UNED') AND (g_ae_rule_rec.tax_code_source2 = 'NONE'))) THEN

Line 5160: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_amt_tot :'

5156: IF ((l_rev_run_pro_amt_tot <> l_prev_tax_amt) OR
5157: (l_rev_run_pro_acctd_amt_tot <> l_prev_tax_acctd_amt)) THEN
5158:
5159: IF PG_DEBUG in ('Y', 'C') THEN
5160: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_amt_tot :'
5161: || l_rev_run_pro_amt_tot ||
5162: ' <> ' || 'l_prev_tax_amt :'
5163: || l_prev_tax_amt);
5164: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_acctd_amt_tot :'

Line 5164: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_acctd_amt_tot :'

5160: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_amt_tot :'
5161: || l_rev_run_pro_amt_tot ||
5162: ' <> ' || 'l_prev_tax_amt :'
5163: || l_prev_tax_amt);
5164: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_rev_run_pro_acctd_amt_tot :'
5165: || l_rev_run_pro_acctd_amt_tot ||
5166: ' <> ' || 'l_prev_tax_acctd_amt :'
5167: || l_prev_tax_acctd_amt);
5168: END IF;

Line 5199: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Invoice line '

5195: /*------------------------------------------------------------------------------+
5196: | Set Revenue amount and accounted amounts totals |
5197: +------------------------------------------------------------------------------*/
5198: IF PG_DEBUG in ('Y', 'C') THEN
5199: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Invoice line '
5200: || g_ae_alloc_tax_tbl.ae_link_to_cust_trx_line_id);
5201: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_amt '
5202: || g_ae_alloc_rev_tbl.ae_sum_rev_amt);
5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '

Line 5201: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_amt '

5197: +------------------------------------------------------------------------------*/
5198: IF PG_DEBUG in ('Y', 'C') THEN
5199: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Invoice line '
5200: || g_ae_alloc_tax_tbl.ae_link_to_cust_trx_line_id);
5201: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_amt '
5202: || g_ae_alloc_rev_tbl.ae_sum_rev_amt);
5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '
5204: || g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt);
5205: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax amount = '

Line 5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '

5199: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Invoice line '
5200: || g_ae_alloc_tax_tbl.ae_link_to_cust_trx_line_id);
5201: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_amt '
5202: || g_ae_alloc_rev_tbl.ae_sum_rev_amt);
5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '
5204: || g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt);
5205: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax amount = '
5206: || g_ae_alloc_tax_tbl.ae_pro_amt);
5207: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax accounted amount = '

Line 5205: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax amount = '

5201: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_amt '
5202: || g_ae_alloc_rev_tbl.ae_sum_rev_amt);
5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '
5204: || g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt);
5205: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax amount = '
5206: || g_ae_alloc_tax_tbl.ae_pro_amt);
5207: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax accounted amount = '
5208: || g_ae_alloc_tax_tbl.ae_pro_acctd_amt);
5209: END IF;

Line 5207: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax accounted amount = '

5203: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt '
5204: || g_ae_alloc_rev_tbl.ae_sum_rev_acctd_amt);
5205: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax amount = '
5206: || g_ae_alloc_tax_tbl.ae_pro_amt);
5207: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Tax accounted amount = '
5208: || g_ae_alloc_tax_tbl.ae_pro_acctd_amt);
5209: END IF;
5210:
5211: /*------------------------------------------------------------------------------+

Line 5243: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_tax_amt_pro_rev ' || l_tax_amt_pro_rev);

5239: * g_ae_alloc_tax_tbl.ae_pro_amt,
5240: g_cust_inv_rec.invoice_currency_code) - l_rev_run_pro_amt_tot ;
5241:
5242: IF PG_DEBUG in ('Y', 'C') THEN
5243: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_tax_amt_pro_rev ' || l_tax_amt_pro_rev);
5244: END IF;
5245:
5246: /*------------------------------------------------------------------------------+
5247: | Running total for prorated Revenue amount in currency of Invoice |

Line 5259: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_tax_acctd_amt_pro_rev ' || l_tax_acctd_amt_pro_rev);

5255: l_base_acctd_amt
5256: * g_ae_alloc_tax_tbl.ae_pro_acctd_amt,
5257: g_ae_sys_rec.base_currency) - l_rev_run_pro_acctd_amt_tot ;
5258: IF PG_DEBUG in ('Y', 'C') THEN
5259: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'l_tax_acctd_amt_pro_rev ' || l_tax_acctd_amt_pro_rev);
5260: END IF;
5261:
5262: /*------------------------------------------------------------------------------+
5263: | Running total for prorated Revenue accounted amount in base currency |

Line 5288: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev()-');

5284:
5285: END IF; --End if TAX_CODE_SOURCE = 'NONE'
5286:
5287: IF PG_DEBUG in ('Y', 'C') THEN
5288: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev()-');
5289: END IF;
5290:
5291: EXCEPTION
5292: WHEN rounding_error THEN

Line 5294: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Rounding Error: ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev' );

5290:
5291: EXCEPTION
5292: WHEN rounding_error THEN
5293: IF PG_DEBUG in ('Y', 'C') THEN
5294: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'Rounding Error: ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev' );
5295: END IF;
5296: fnd_message.set_name('AR','AR_ROUNDING_ERROR');
5297: fnd_message.set_token('ROUTINE','ARP_ALLOCATION_PKG.ALLOC_TAX_TO_REV');
5298: RAISE;

Line 5302: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'EXCEPTION: ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev');

5298: RAISE;
5299:
5300: WHEN OTHERS THEN
5301: IF PG_DEBUG in ('Y', 'C') THEN
5302: arp_standard.debug('Allocate_Tax_To_Rev: ' || 'EXCEPTION: ARP_ALLOCATION_PKG.Alloc_Tax_To_Rev');
5303: END IF;
5304: RAISE;
5305:
5306: END Allocate_Tax_To_Rev;

Line 5332: arp_standard.debug('ARP_ALLOCATION_PKG.Set_Rev_Links()+');

5328:
5329: BEGIN
5330:
5331: IF PG_DEBUG in ('Y', 'C') THEN
5332: arp_standard.debug('ARP_ALLOCATION_PKG.Set_Rev_Links()+');
5333: END IF;
5334:
5335: /*-------------------------------------------------------------------------------+
5336: | Set Rules to determine whether Revenue link id needs to be set |

Line 5390: arp_standard.debug('setlink 1');

5386: -- );
5387: --}
5388: -- for a rev distribution ae_tax_link_id_act = ref_customer_trx_line_id
5389: -- if it exists a tax distribution with ae_tax_link_id equal to it
5390: arp_standard.debug('setlink 1');
5391: UPDATE /*+ index( a1 AR_AE_ALLOC_REC_GT_N4 ) */
5392: ar_ae_alloc_rec_gt a1
5393: SET (a1.ae_tax_link_id_act) =
5394: (SELECT /*+ index( a2 AR_AE_ALLOC_REC_GT_N4 ) */

Line 5404: arp_standard.debug('setlink 2');

5400: WHERE a1.ae_id = g_id
5401: AND a1.ref_account_class IN ('REV','UNEARN','UNBILL');
5402:
5403: /*MAINTAINTAXLINKID
5404: arp_standard.debug('setlink 2');
5405: -- for a tax distribution ae_tax_link_id_act = line_to_cust_trx_line_id
5406: -- if it exists a rev distribution with ref_customer_trx_line_id equal to it
5407: UPDATE ar_ae_alloc_rec_gt a1
5408: SET (a1.ae_tax_link_id_act) =

Line 5449: arp_standard.debug(' setlink 3');

5445: WHERE a1.ae_id = g_id
5446: AND a1.ref_account_class = 'TAX';
5447: */
5448:
5449: arp_standard.debug(' setlink 3');
5450: --}
5451:
5452: IF PG_DEBUG in ('Y', 'C') THEN
5453: arp_standard.debug('ARP_ALLOCATION_PKG.Set_Rev_Links()-');

Line 5453: arp_standard.debug('ARP_ALLOCATION_PKG.Set_Rev_Links()-');

5449: arp_standard.debug(' setlink 3');
5450: --}
5451:
5452: IF PG_DEBUG in ('Y', 'C') THEN
5453: arp_standard.debug('ARP_ALLOCATION_PKG.Set_Rev_Links()-');
5454: END IF;
5455:
5456: EXCEPTION
5457: WHEN OTHERS THEN

Line 5458: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Rev_Links'||SQLERRM);

5454: END IF;
5455:
5456: EXCEPTION
5457: WHEN OTHERS THEN
5458: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Set_Rev_Links'||SQLERRM);
5459: RAISE;
5460:
5461: END Set_Rev_Links;
5462:

Line 5481: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Rules()+');

5477: p_tax_code_source OUT NOCOPY VARCHAR2,
5478: p_tax_recoverable_flag OUT NOCOPY VARCHAR2) IS
5479:
5480: BEGIN
5481: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Rules()+');
5482:
5483: /*----------------------------------------------------------------------------+
5484: | Set Rules for Discounts, Adjustments and Finance charges |
5485: +----------------------------------------------------------------------------*/

Line 5503: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Rules()-');

5499: p_tax_recoverable_flag := g_ae_rule_rec.tax_recoverable_flag2 ;
5500:
5501: END IF;
5502:
5503: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Rules()-');
5504:
5505: EXCEPTION
5506: WHEN OTHERS THEN
5507: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Rules');

Line 5507: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Rules');

5503: arp_standard.debug( 'ARP_ALLOCATION_PKG.Get_Rules()-');
5504:
5505: EXCEPTION
5506: WHEN OTHERS THEN
5507: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Get_Rules');
5508: RAISE;
5509:
5510: END Get_Rules;
5511:

Line 5534: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Lines()+');

5530: l_ae_line_init_rec ar_ae_alloc_rec_gt%ROWTYPE ;
5531:
5532: BEGIN
5533:
5534: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Lines()+');
5535:
5536: -- Get_Rules(p_type_acct => p_type_acct,
5537: -- p_gl_account_source => l_gl_account_source,
5538: -- p_tax_code_source => l_tax_code_source,

Line 5579: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Lines()-');

5575: p_tax_recoverable_flag => l_tax_recoverable_flag ,
5576: p_ae_line_init_rec => l_ae_line_init_rec );
5577:
5578: IF PG_DEBUG in ('Y', 'C') THEN
5579: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Lines()-');
5580: END IF;
5581:
5582: EXCEPTION
5583: WHEN OTHERS THEN

Line 5584: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Lines');

5580: END IF;
5581:
5582: EXCEPTION
5583: WHEN OTHERS THEN
5584: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Lines');
5585: RAISE;
5586:
5587: END Build_Lines;
5588:

Line 5717: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Rev()+');

5713: g_ae_summ_rev_blk_tbl summarize_rev_cur;
5714:
5715: BEGIN
5716:
5717: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Rev()+');
5718:
5719: adj_code_combination_id := '';
5720:
5721: /*----------------------------------------------------------------------------+

Line 5724: arp_standard.debug('Open l_summarize_rev +');

5720:
5721: /*----------------------------------------------------------------------------+
5722: | Process all revenue lines to be built |
5723: +----------------------------------------------------------------------------*/
5724: arp_standard.debug('Open l_summarize_rev +');
5725:
5726: OPEN l_summarize_rev;
5727:
5728: LOOP

Line 5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);

5806: l_ae_line_rec.activity_bucket := g_ae_summ_rev_tbl.activity_bucket;
5807: l_ae_line_rec.ae_account := g_ae_rule_rec.receivable_account;
5808:
5809:
5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);
5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);

Line 5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);

5807: l_ae_line_rec.ae_account := g_ae_rule_rec.receivable_account;
5808:
5809:
5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);
5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);
5815: arp_standard.debug(' l_actual_account :'||l_actual_account);

Line 5812: arp_standard.debug(' g_override1 :'||g_override1);

5808:
5809:
5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);
5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);
5815: arp_standard.debug(' l_actual_account :'||l_actual_account);
5816:

Line 5813: arp_standard.debug(' g_override2 :'||g_override2);

5809:
5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);
5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);
5815: arp_standard.debug(' l_actual_account :'||l_actual_account);
5816:
5817: /*----------------------------------------------------------------------------+

Line 5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);

5810: arp_standard.debug(' g_ae_rule_rec.receivable_account 1:'||g_ae_rule_rec.receivable_account);
5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);
5815: arp_standard.debug(' l_actual_account :'||l_actual_account);
5816:
5817: /*----------------------------------------------------------------------------+
5818: | Use Revenue or Net Expense accounts based on Rules |

Line 5815: arp_standard.debug(' l_actual_account :'||l_actual_account);

5811: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
5812: arp_standard.debug(' g_override1 :'||g_override1);
5813: arp_standard.debug(' g_override2 :'||g_override2);
5814: arp_standard.debug(' g_ae_doc_rec.other_flag :'||g_ae_doc_rec.other_flag);
5815: arp_standard.debug(' l_actual_account :'||l_actual_account);
5816:
5817: /*----------------------------------------------------------------------------+
5818: | Use Revenue or Net Expense accounts based on Rules |
5819: +----------------------------------------------------------------------------*/

Line 5838: arp_standard.debug('Build_Rev: ' || 'Commitment account derived by Autoaccounting');

5834: | in the case of Deposits and Guarantees the accounting is derived by Autoaccounting |
5835: | there is no need to do further processing for accounting. |
5836: +------------------------------------------------------------------------------------*/
5837: IF (g_ae_doc_rec.other_flag IN ('COMMITMENT', 'CHARGEBACK', 'CBREVERSAL')) THEN
5838: arp_standard.debug('Build_Rev: ' || 'Commitment account derived by Autoaccounting');
5839: l_ae_line_rec.ae_account := l_actual_account;
5840:
5841: ELSE
5842: -- Bugfix 1948917.

Line 5864: arp_standard.debug('adj_code_combination_id : ' || adj_code_combination_id);

5860: g_adj_act_gl_acct_ccid := l_ae_line_rec.ae_account;
5861:
5862: /* Bug 10636631 : Initialize the global variable to show substituted CCID on Adjustment forms upon save. */
5863: adj_code_combination_id := l_ae_line_rec.ae_account;
5864: arp_standard.debug('adj_code_combination_id : ' || adj_code_combination_id);
5865: EXCEPTION
5866: WHEN no_data_found THEN g_adj_act_gl_acct_ccid := l_ae_line_rec.ae_account;
5867: END;
5868: END IF;

Line 6010: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Rev()-');

6006: END LOOP;
6007:
6008: -- END IF; --End if Build Revenue lines
6009:
6010: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Rev()-');
6011:
6012: EXCEPTION
6013: WHEN invalid_ccid_error THEN
6014: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Rev' );

Line 6014: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Rev' );

6010: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Rev()-');
6011:
6012: EXCEPTION
6013: WHEN invalid_ccid_error THEN
6014: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Rev' );
6015: fnd_message.set_name('AR','AR_INVALID_TAX_ACCOUNT');
6016: RAISE;
6017:
6018: WHEN OTHERS THEN

Line 6019: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Rev');

6015: fnd_message.set_name('AR','AR_INVALID_TAX_ACCOUNT');
6016: RAISE;
6017:
6018: WHEN OTHERS THEN
6019: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Rev');
6020: RAISE;
6021:
6022: END Build_Rev;
6023:

Line 6038: arp_standard.debug('substite_tax_bal_seg +');

6034: x_ccid OUT NOCOPY NUMBER)
6035: IS
6036: l_call VARCHAR2(1) := 'Y';
6037: BEGIN
6038: arp_standard.debug('substite_tax_bal_seg +');
6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);

Line 6039: arp_standard.debug('p_line_type :'||p_line_type);

6035: IS
6036: l_call VARCHAR2(1) := 'Y';
6037: BEGIN
6038: arp_standard.debug('substite_tax_bal_seg +');
6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);
6043: arp_standard.debug('p_ccid :'||p_ccid);

Line 6040: arp_standard.debug('p_gas :'||p_gas);

6036: l_call VARCHAR2(1) := 'Y';
6037: BEGIN
6038: arp_standard.debug('substite_tax_bal_seg +');
6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);
6043: arp_standard.debug('p_ccid :'||p_ccid);
6044:

Line 6041: arp_standard.debug('p_tcs :'||p_tcs);

6037: BEGIN
6038: arp_standard.debug('substite_tax_bal_seg +');
6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);
6043: arp_standard.debug('p_ccid :'||p_ccid);
6044:
6045: x_ccid := p_ccid;

Line 6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);

6038: arp_standard.debug('substite_tax_bal_seg +');
6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);
6043: arp_standard.debug('p_ccid :'||p_ccid);
6044:
6045: x_ccid := p_ccid;
6046:

Line 6043: arp_standard.debug('p_ccid :'||p_ccid);

6039: arp_standard.debug('p_line_type :'||p_line_type);
6040: arp_standard.debug('p_gas :'||p_gas);
6041: arp_standard.debug('p_tcs :'||p_tcs);
6042: arp_standard.debug('p_tax_rec_flag :'||p_tax_rec_flag);
6043: arp_standard.debug('p_ccid :'||p_ccid);
6044:
6045: x_ccid := p_ccid;
6046:
6047: IF NVL(FND_PROFILE.value('AR_DISABLE_REC_ACTIVITY_BALSEG_SUBSTITUTION'), 'N') = 'N' THEN

Line 6090: arp_standard.debug('x_ccid :'||x_ccid);

6086: END IF;
6087: ELSE
6088: x_ccid := p_ccid;
6089: END IF;
6090: arp_standard.debug('x_ccid :'||x_ccid);
6091: arp_standard.debug('substite_tax_bal_seg -');
6092: END;
6093:
6094:

Line 6091: arp_standard.debug('substite_tax_bal_seg -');

6087: ELSE
6088: x_ccid := p_ccid;
6089: END IF;
6090: arp_standard.debug('x_ccid :'||x_ccid);
6091: arp_standard.debug('substite_tax_bal_seg -');
6092: END;
6093:
6094:
6095: /* ==========================================================================

Line 6242: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()+');

6238: l_multi_factor NUMBER := 1;
6239: l_actual_tax_ccid NUMBER;
6240: BEGIN
6241:
6242: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()+');
6243: arp_standard.debug( 'p_tax_code_source:'||p_tax_code_source);
6244: arp_standard.debug( 'p_tax_recoverable_flag:'||p_tax_recoverable_flag);
6245:
6246:

Line 6243: arp_standard.debug( 'p_tax_code_source:'||p_tax_code_source);

6239: l_actual_tax_ccid NUMBER;
6240: BEGIN
6241:
6242: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()+');
6243: arp_standard.debug( 'p_tax_code_source:'||p_tax_code_source);
6244: arp_standard.debug( 'p_tax_recoverable_flag:'||p_tax_recoverable_flag);
6245:
6246:
6247:

Line 6244: arp_standard.debug( 'p_tax_recoverable_flag:'||p_tax_recoverable_flag);

6240: BEGIN
6241:
6242: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()+');
6243: arp_standard.debug( 'p_tax_code_source:'||p_tax_code_source);
6244: arp_standard.debug( 'p_tax_recoverable_flag:'||p_tax_recoverable_flag);
6245:
6246:
6247:
6248: -- IF (((g_ae_rule_rec.tax_amt_alloc <> 0) OR (g_ae_rule_rec.tax_acctd_amt_alloc <> 0))

Line 6314: -- arp_standard.debug('Activity Non Recoverable Account ');

6310: | Level 2 validation in case the non recoverable tax account setup on activity|
6311: | tax code is null - request user to set it up. |
6312: +-----------------------------------------------------------------------------*/
6313: -- IF l_actual_account IS NULL THEN
6314: -- arp_standard.debug('Activity Non Recoverable Account ');
6315: -- RAISE invalid_ccid_error;
6316: -- END IF;
6317: /*----------------------------------------------------------------------------+
6318: | Create first accounting entry for Debit/Credit to Non Recoverable/Override |

Line 6404: arp_standard.debug('Tax g_ae_summ_tax_tbl.ae_customer_trx_line_id:'||g_ae_summ_tax_tbl.ae_customer_trx_line_id);

6400:
6401: l_actual_account := g_ae_summ_tax_tbl.actual_account;
6402: l_actual_tax_ccid := g_ae_summ_tax_tbl.actual_tax_ccid;
6403:
6404: arp_standard.debug('Tax g_ae_summ_tax_tbl.ae_customer_trx_line_id:'||g_ae_summ_tax_tbl.ae_customer_trx_line_id);
6405:
6406: /*--------------------------------------------------------------------------------+
6407: | Initialize record to create new line with exchange rate defaulting from Invoice|
6408: +--------------------------------------------------------------------------------*/

Line 6425: arp_standard.debug(' g_ae_summ_tax_tbl.activity_bucket :'||g_ae_summ_tax_tbl.activity_bucket);

6421: l_ae_line_rec.ref_dist_ccid := g_ae_summ_tax_tbl.ref_dist_ccid;
6422: l_ae_line_rec.ref_mf_dist_flag := g_ae_summ_tax_tbl.ref_mf_dist_flag;
6423: --}
6424:
6425: arp_standard.debug(' g_ae_summ_tax_tbl.activity_bucket :'||g_ae_summ_tax_tbl.activity_bucket);
6426:
6427: --Earned discount
6428: IF g_ae_summ_tax_tbl.activity_bucket IN ('ED_TAX') THEN
6429: l_source_type_secondary := 'EDISC' ;

Line 6451: arp_standard.debug(' l_source_type_secondary :'||l_source_type_secondary);

6447: --Uned Disc
6448: ELSIF g_ae_summ_tax_tbl.activity_bucket IN ('UNED_TAX') THEN
6449: l_source_type_secondary := 'UNEDISC' ;
6450: END IF; --end if type of account
6451: arp_standard.debug(' l_source_type_secondary :'||l_source_type_secondary);
6452:
6453:
6454:
6455: /*----------------------------------------------------------------------------+

Line 6537: arp_standard.debug('CCID for APP_TAX l_ae_line_rec.ae_account :'|| l_ae_line_rec.ae_account);

6533: IF g_ae_doc_rec.called_from = 'WRAPPER' THEN
6534: l_ae_line_rec.ae_account := g_ae_code_combination_id_app;
6535: ELSE
6536: l_ae_line_rec.ae_account := g_ae_rule_rec.receivable_account;
6537: arp_standard.debug('CCID for APP_TAX l_ae_line_rec.ae_account :'|| l_ae_line_rec.ae_account);
6538: END IF;
6539:
6540: /*----------------------------------------------------------------------------+
6541: | Create accounting debits or credits as applicable |

Line 6560: arp_standard.debug('1 CCID for '||g_ae_summ_tax_tbl.activity_bucket||

6556: --
6557: --For ADJ_TAX, ED_TAX, UNED_TAX
6558: --
6559: l_ae_line_rec.ae_account := g_ae_summ_tax_tbl.ae_code_combination_id;
6560: arp_standard.debug('1 CCID for '||g_ae_summ_tax_tbl.activity_bucket||
6561: ' l_ae_line_rec.ae_account :'|| l_ae_line_rec.ae_account);
6562:
6563: --Boundary Adj
6564: adj_boundary_account

Line 6570: arp_standard.debug('2 CCID for '||g_ae_summ_tax_tbl.activity_bucket||

6566: p_bucket => g_ae_summ_tax_tbl.ref_account_class,
6567: p_ctlgd_id => g_ae_summ_tax_tbl.ae_cust_trx_line_gl_dist_id,
6568: x_ccid => l_ae_line_rec.ae_account);
6569:
6570: arp_standard.debug('2 CCID for '||g_ae_summ_tax_tbl.activity_bucket||
6571: ' l_ae_line_rec.ae_account :'|| l_ae_line_rec.ae_account);
6572:
6573: l_actual_account := l_ae_line_rec.ae_account;
6574: substite_tax_bal_seg

Line 6671: arp_standard.debug('Invoice Non Recoverable Account is NULL');

6667: p_bucket => g_ae_summ_tax_tbl.activity_bucket,
6668: p_ctlgd_id => g_ae_summ_tax_tbl.ae_cust_trx_line_gl_dist_id,
6669: x_ccid => l_actual_account);
6670: IF l_actual_account IS NULL THEN
6671: arp_standard.debug('Invoice Non Recoverable Account is NULL');
6672: RAISE invalid_ccid_error;
6673: END IF;
6674: END IF;
6675:

Line 6709: arp_standard.debug('Create Debits/Credits for Non Recoverable Tax Account');

6705: /*----------------------------------------------------------------------------+
6706: | Create Debits/Credits for Non Recoverable Tax Account |
6707: +----------------------------------------------------------------------------*/
6708:
6709: arp_standard.debug('Create Debits/Credits for Non Recoverable Tax Account');
6710: -- Creation of activity accounting
6711: -- ADJ UNED ED distributions
6712: -- ARALLOC creates:
6713: -- * ADJ - WO side of accounting <=> negative ADJ => DB activty WO. As ARPDDB passes neg detail distrib

Line 6786: arp_standard.debug('Activity Non Recoverable Account is NULL');

6782: p_ctlgd_id => g_ae_summ_tax_tbl.ae_cust_trx_line_gl_dist_id,
6783: x_ccid => l_actual_account );
6784:
6785: IF l_actual_account IS NULL THEN --is null
6786: arp_standard.debug('Activity Non Recoverable Account is NULL');
6787: RAISE invalid_ccid_error;
6788: END IF;
6789:
6790: END IF;

Line 6820: arp_standard.debug(' Create Debits/Credits for Non Recoverable Tax Account');

6816:
6817: /*----------------------------------------------------------------------------+
6818: | Create Debits/Credits for Non Recoverable Tax Account |
6819: +----------------------------------------------------------------------------*/
6820: arp_standard.debug(' Create Debits/Credits for Non Recoverable Tax Account');
6821: -- Creation of activity accounting
6822: -- ADJ UNED ED distributions
6823: -- ARALLOC creates:
6824: -- * ADJ - WO side of accounting <=> negative ADJ => DB activty WO. As ARPDDB passes neg detail distrib

Line 7234: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()-');

7230:
7231:
7232:
7233:
7234: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()-');
7235:
7236: EXCEPTION
7237: WHEN invalid_ccid_error THEN
7238: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Tax' );

Line 7238: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Tax' );

7234: arp_standard.debug( 'ARP_ALLOCATION_PKG.Build_Tax()-');
7235:
7236: EXCEPTION
7237: WHEN invalid_ccid_error THEN
7238: arp_standard.debug('Invalid Tax ccid - ARP_ALLOCATION_PKG.Build_Tax' );
7239: fnd_message.set_name('AR','AR_INVALID_TAX_ACCOUNT');
7240: RAISE;
7241:
7242: WHEN OTHERS THEN

Line 7243: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Tax');

7239: fnd_message.set_name('AR','AR_INVALID_TAX_ACCOUNT');
7240: RAISE;
7241:
7242: WHEN OTHERS THEN
7243: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Tax');
7244: RAISE;
7245:
7246: END Build_Tax;
7247:

Line 7287: arp_standard.debug('ARP_ALLOCATION_PKG.Build_Charges_Freight_All()+');

7283: l_line_tax_acctd_amt NUMBER := 0;
7284:
7285: BEGIN
7286:
7287: arp_standard.debug('ARP_ALLOCATION_PKG.Build_Charges_Freight_All()+');
7288:
7289: adj_code_combination_id := '';
7290:
7291: /*----------------------------------------------------------------------------------+

Line 7367: arp_standard.debug('Account derived by Autoaccounting');

7363: | dont need to substitute the segment as the account is derived by Autoaccounting|
7364: | and should be in the balancing segment as that of the Receivable on Deposit |
7365: +--------------------------------------------------------------------------------*/
7366: IF (g_ae_doc_rec.other_flag IN ('COMMITMENT', 'CHARGEBACK', 'CBREVERSAL')) THEN
7367: arp_standard.debug('Account derived by Autoaccounting');
7368: ELSE
7369: -- Bugfix 1948917.
7370: IF NVL(FND_PROFILE.value('AR_DISABLE_REC_ACTIVITY_BALSEG_SUBSTITUTION'), 'N') = 'N' THEN
7371: Substitute_Ccid(p_coa_id => g_ae_sys_rec.coa_id ,

Line 7412: arp_standard.debug('ARP_ALLOCATION_PKG.Build_Charges_Freight_All()-');

7408: Assign_Elements(l_ae_line_rec);
7409:
7410: END IF; --end if p_build_all is TRUE
7411:
7412: arp_standard.debug('ARP_ALLOCATION_PKG.Build_Charges_Freight_All()-');
7413:
7414: EXCEPTION
7415: WHEN OTHERS THEN
7416: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Charges_Freight_All');

Line 7416: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Charges_Freight_All');

7412: arp_standard.debug('ARP_ALLOCATION_PKG.Build_Charges_Freight_All()-');
7413:
7414: EXCEPTION
7415: WHEN OTHERS THEN
7416: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Build_Charges_Freight_All');
7417: RAISE;
7418:
7419: END Build_Charges_Freight_All;
7420:

Line 7451: arp_standard.debug( 'ARP_ALLOCATION_PKG.Substitute_Ccid()+');

7447:
7448: BEGIN
7449:
7450: IF PG_DEBUG in ('Y', 'C') THEN
7451: arp_standard.debug( 'ARP_ALLOCATION_PKG.Substitute_Ccid()+');
7452: END IF;
7453:
7454: /*----------------------------------------------------------------------------+
7455: | Set other in out variables used by flex routine |

Line 7477: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Chart of Accounts ' || p_coa_id);

7473:
7474: l_actual_gain_loss_ccid := flex_parms_tbl(l_ctr).actual_ccid;
7475:
7476: IF PG_DEBUG in ('Y', 'C') THEN
7477: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Chart of Accounts ' || p_coa_id);
7478: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Original CCID ' || p_original_ccid);
7479: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Substitute CCID ' || p_subs_ccid);
7480: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Actual CCID ' || l_actual_gain_loss_ccid);
7481: END IF;

Line 7478: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Original CCID ' || p_original_ccid);

7474: l_actual_gain_loss_ccid := flex_parms_tbl(l_ctr).actual_ccid;
7475:
7476: IF PG_DEBUG in ('Y', 'C') THEN
7477: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Chart of Accounts ' || p_coa_id);
7478: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Original CCID ' || p_original_ccid);
7479: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Substitute CCID ' || p_subs_ccid);
7480: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Actual CCID ' || l_actual_gain_loss_ccid);
7481: END IF;
7482:

Line 7479: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Substitute CCID ' || p_subs_ccid);

7475:
7476: IF PG_DEBUG in ('Y', 'C') THEN
7477: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Chart of Accounts ' || p_coa_id);
7478: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Original CCID ' || p_original_ccid);
7479: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Substitute CCID ' || p_subs_ccid);
7480: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Actual CCID ' || l_actual_gain_loss_ccid);
7481: END IF;
7482:
7483: EXIT; --exit loop as hit is found

Line 7480: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Actual CCID ' || l_actual_gain_loss_ccid);

7476: IF PG_DEBUG in ('Y', 'C') THEN
7477: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Chart of Accounts ' || p_coa_id);
7478: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Original CCID ' || p_original_ccid);
7479: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Substitute CCID ' || p_subs_ccid);
7480: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder Cache: Actual CCID ' || l_actual_gain_loss_ccid);
7481: END IF;
7482:
7483: EXIT; --exit loop as hit is found
7484:

Line 7521: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Chart of Accounts ' || p_coa_id);

7517: flex_parms_tbl(cache_ctr).subs_ccid := p_subs_ccid;
7518: flex_parms_tbl(cache_ctr).actual_ccid := l_actual_gain_loss_ccid;
7519:
7520: IF PG_DEBUG in ('Y', 'C') THEN
7521: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Chart of Accounts ' || p_coa_id);
7522: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Original CCID ' || p_original_ccid);
7523: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Substitute CCID ' || p_subs_ccid);
7524: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Actual CCID ' || l_actual_gain_loss_ccid);
7525: END IF;

Line 7522: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Original CCID ' || p_original_ccid);

7518: flex_parms_tbl(cache_ctr).actual_ccid := l_actual_gain_loss_ccid;
7519:
7520: IF PG_DEBUG in ('Y', 'C') THEN
7521: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Chart of Accounts ' || p_coa_id);
7522: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Original CCID ' || p_original_ccid);
7523: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Substitute CCID ' || p_subs_ccid);
7524: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Actual CCID ' || l_actual_gain_loss_ccid);
7525: END IF;
7526:

Line 7523: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Substitute CCID ' || p_subs_ccid);

7519:
7520: IF PG_DEBUG in ('Y', 'C') THEN
7521: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Chart of Accounts ' || p_coa_id);
7522: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Original CCID ' || p_original_ccid);
7523: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Substitute CCID ' || p_subs_ccid);
7524: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Actual CCID ' || l_actual_gain_loss_ccid);
7525: END IF;
7526:
7527: END IF;

Line 7524: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Actual CCID ' || l_actual_gain_loss_ccid);

7520: IF PG_DEBUG in ('Y', 'C') THEN
7521: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Chart of Accounts ' || p_coa_id);
7522: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Original CCID ' || p_original_ccid);
7523: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Substitute CCID ' || p_subs_ccid);
7524: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder : Actual CCID ' || l_actual_gain_loss_ccid);
7525: END IF;
7526:
7527: END IF;
7528:

Line 7532: arp_standard.debug( 'ARP_ALLOCATION_PKG.Substitute_Ccid()-');

7528:
7529: p_actual_ccid := l_actual_gain_loss_ccid;
7530:
7531: IF PG_DEBUG in ('Y', 'C') THEN
7532: arp_standard.debug( 'ARP_ALLOCATION_PKG.Substitute_Ccid()-');
7533: END IF;
7534:
7535: EXCEPTION
7536: WHEN flex_subs_ccid_error THEN

Line 7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');

7534:
7535: EXCEPTION
7536: WHEN flex_subs_ccid_error THEN
7537: IF PG_DEBUG in ('Y', 'C') THEN
7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');
7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);

Line 7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);

7535: EXCEPTION
7536: WHEN flex_subs_ccid_error THEN
7537: IF PG_DEBUG in ('Y', 'C') THEN
7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');
7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7543: END IF;

Line 7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);

7536: WHEN flex_subs_ccid_error THEN
7537: IF PG_DEBUG in ('Y', 'C') THEN
7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');
7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7543: END IF;
7544: fnd_message.set_name('AR','AR_FLEX_CCID_ERROR');

Line 7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);

7537: IF PG_DEBUG in ('Y', 'C') THEN
7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');
7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7543: END IF;
7544: fnd_message.set_name('AR','AR_FLEX_CCID_ERROR');
7545: fnd_message.set_token('COA',TO_CHAR(p_coa_id));

Line 7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);

7538: arp_standard.debug('Flexbuilder error: ARP_ALLOCATION_PKG.Substitute_Ccid');
7539: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7540: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7541: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7542: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7543: END IF;
7544: fnd_message.set_name('AR','AR_FLEX_CCID_ERROR');
7545: fnd_message.set_token('COA',TO_CHAR(p_coa_id));
7546: fnd_message.set_token('ORG_CCID',TO_CHAR(p_original_ccid));

Line 7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');

7548: RAISE;
7549:
7550: WHEN OTHERS THEN
7551: IF PG_DEBUG in ('Y', 'C') THEN
7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');
7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);

Line 7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);

7549:
7550: WHEN OTHERS THEN
7551: IF PG_DEBUG in ('Y', 'C') THEN
7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');
7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7557: END IF;

Line 7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);

7550: WHEN OTHERS THEN
7551: IF PG_DEBUG in ('Y', 'C') THEN
7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');
7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7557: END IF;
7558: RAISE;

Line 7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);

7551: IF PG_DEBUG in ('Y', 'C') THEN
7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');
7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7557: END IF;
7558: RAISE;
7559:

Line 7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);

7552: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Substitute_Ccid');
7553: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Chart of Accounts ' || p_coa_id);
7554: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Original CCID ' || p_original_ccid);
7555: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Substitute CCID ' || p_subs_ccid);
7556: arp_standard.debug('Substitute_Ccid: ' || 'Flexbuilder error: Actual CCID ' || l_actual_gain_loss_ccid);
7557: END IF;
7558: RAISE;
7559:
7560: END Substitute_Ccid;

Line 7605: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()+');

7601:
7602: l_taxable_set BOOLEAN;
7603:
7604: BEGIN
7605: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()+');
7606:
7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);

Line 7607: arp_standard.debug('p_amount ' || p_amount);

7603:
7604: BEGIN
7605: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()+');
7606:
7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);
7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);
7611: arp_standard.debug('p_calling_point ' || p_calling_point);

Line 7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);

7604: BEGIN
7605: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()+');
7606:
7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);
7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);
7611: arp_standard.debug('p_calling_point ' || p_calling_point);
7612:

Line 7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);

7605: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()+');
7606:
7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);
7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);
7611: arp_standard.debug('p_calling_point ' || p_calling_point);
7612:
7613: l_taxable_set := FALSE;

Line 7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);

7606:
7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);
7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);
7611: arp_standard.debug('p_calling_point ' || p_calling_point);
7612:
7613: l_taxable_set := FALSE;
7614:

Line 7611: arp_standard.debug('p_calling_point ' || p_calling_point);

7607: arp_standard.debug('p_amount ' || p_amount);
7608: arp_standard.debug('p_acctd_amount ' || p_acctd_amount);
7609: arp_standard.debug('p_taxable_amount' || p_taxable_amount);
7610: arp_standard.debug('p_taxable_acctd_amount' || p_taxable_acctd_amount);
7611: arp_standard.debug('p_calling_point ' || p_calling_point);
7612:
7613: l_taxable_set := FALSE;
7614:
7615: /*----------------------------------------------------------------------------+

Line 7622: arp_standard.debug('g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);

7618: +----------------------------------------------------------------------------*/
7619: IF ((p_amount = 0) AND (p_acctd_amount = 0) AND (nvl(p_taxable_amount,0) = 0)
7620: AND (nvl(p_taxable_acctd_amount,0) = 0) AND (nvl(p_calling_point,'X') <> 'SUMMARIZE')) THEN
7621:
7622: arp_standard.debug('g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
7623: arp_standard.debug('g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
7624: arp_standard.debug('p_paired_flag ' || p_paired_flag);
7625:
7626: --set negativity indicator for debits nullvalue indicates a credit

Line 7623: arp_standard.debug('g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);

7619: IF ((p_amount = 0) AND (p_acctd_amount = 0) AND (nvl(p_taxable_amount,0) = 0)
7620: AND (nvl(p_taxable_acctd_amount,0) = 0) AND (nvl(p_calling_point,'X') <> 'SUMMARIZE')) THEN
7621:
7622: arp_standard.debug('g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
7623: arp_standard.debug('g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
7624: arp_standard.debug('p_paired_flag ' || p_paired_flag);
7625:
7626: --set negativity indicator for debits nullvalue indicates a credit
7627: IF ((g_ae_rule_rec.line_amt_alloc + g_ae_rule_rec.tax_amt_alloc) < 0) THEN

Line 7624: arp_standard.debug('p_paired_flag ' || p_paired_flag);

7620: AND (nvl(p_taxable_acctd_amount,0) = 0) AND (nvl(p_calling_point,'X') <> 'SUMMARIZE')) THEN
7621:
7622: arp_standard.debug('g_ae_rule_rec.line_amt_alloc ' || g_ae_rule_rec.line_amt_alloc);
7623: arp_standard.debug('g_ae_rule_rec.tax_amt_alloc ' || g_ae_rule_rec.tax_amt_alloc);
7624: arp_standard.debug('p_paired_flag ' || p_paired_flag);
7625:
7626: --set negativity indicator for debits nullvalue indicates a credit
7627: IF ((g_ae_rule_rec.line_amt_alloc + g_ae_rule_rec.tax_amt_alloc) < 0) THEN
7628: p_ae_line_rec.ae_neg_ind := -1;

Line 7634: arp_standard.debug('p_ae_line_rec.ae_neg_ind < 0 condition ' || p_ae_line_rec.ae_neg_ind);

7630: IF nvl(p_paired_flag, 'N') = 'Y' THEN
7631: p_ae_line_rec.ae_neg_ind := NULL; --Create Credit to Collected tax account
7632: END IF;
7633:
7634: arp_standard.debug('p_ae_line_rec.ae_neg_ind < 0 condition ' || p_ae_line_rec.ae_neg_ind);
7635:
7636: ELSE
7637: p_ae_line_rec.ae_neg_ind := NULL; --set to create Credits
7638:

Line 7644: arp_standard.debug('p_ae_line_rec.ae_neg_ind >= 0 condition ' || p_ae_line_rec.ae_neg_ind);

7640: p_ae_line_rec.ae_neg_ind := -1; --Create Debit to collected tax account
7641: END IF;
7642:
7643: IF PG_DEBUG in ('Y', 'C') THEN
7644: arp_standard.debug('p_ae_line_rec.ae_neg_ind >= 0 condition ' || p_ae_line_rec.ae_neg_ind);
7645: END IF;
7646:
7647: END IF; --default is null
7648:

Line 7818: -- arp_standard.debug('Start Credit Debit Dump');

7814:
7815: END IF; --sign of taxable amount
7816:
7817: -- END IF; --if line type is tax and taxable amount is not set
7818: -- arp_standard.debug('Start Credit Debit Dump');
7819: -- Dump_Line_Amts(p_ae_line_rec);
7820: -- arp_standard.debug('End Credit Debit Dump');
7821:
7822: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()-');

Line 7820: -- arp_standard.debug('End Credit Debit Dump');

7816:
7817: -- END IF; --if line type is tax and taxable amount is not set
7818: -- arp_standard.debug('Start Credit Debit Dump');
7819: -- Dump_Line_Amts(p_ae_line_rec);
7820: -- arp_standard.debug('End Credit Debit Dump');
7821:
7822: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()-');
7823:
7824: EXCEPTION

Line 7822: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()-');

7818: -- arp_standard.debug('Start Credit Debit Dump');
7819: -- Dump_Line_Amts(p_ae_line_rec);
7820: -- arp_standard.debug('End Credit Debit Dump');
7821:
7822: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()-');
7823:
7824: EXCEPTION
7825: WHEN OTHERS THEN
7826: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Create_Debits_Credits');

Line 7826: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Create_Debits_Credits');

7822: arp_standard.debug( 'ARP_ALLOCATION_PKG.Create_Debits_Credits()-');
7823:
7824: EXCEPTION
7825: WHEN OTHERS THEN
7826: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Create_Debits_Credits');
7827: RAISE;
7828:
7829: END Create_Debits_Credits;
7830:

Line 7975: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Accounting_Lines()+');

7971: a1.ae_tax_link_id);
7972: */
7973:
7974: BEGIN
7975: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Accounting_Lines()+');
7976: /*------------------------------------------------------------------------------+
7977: |Summarize Accounting entries for revenue and tax to net out accounting entries|
7978: |because the table g_ae_line_tbl contains accounting for earned discounts, |
7979: |unearned discounts and payments, so the requirement for another level of |

Line 8078: arp_standard.profile.user_id,

8074: (nvl(ae_neg_ind,0) < 0) THEN null
8075: ELSE abs(acctd_amount) END
8076: ELSE abs(acctd_amount) END ae_accounted_cr,
8077:
8078: arp_standard.profile.user_id,
8079: SYSDATE,
8080: arp_standard.profile.user_id,
8081: SYSDATE,
8082: arp_standard.profile.last_update_login,

Line 8080: arp_standard.profile.user_id,

8076: ELSE abs(acctd_amount) END ae_accounted_cr,
8077:
8078: arp_standard.profile.user_id,
8079: SYSDATE,
8080: arp_standard.profile.user_id,
8081: SYSDATE,
8082: arp_standard.profile.last_update_login,
8083: al.ae_source_id_secondary,
8084: al.ae_source_table_secondary,

Line 8082: arp_standard.profile.last_update_login,

8078: arp_standard.profile.user_id,
8079: SYSDATE,
8080: arp_standard.profile.user_id,
8081: SYSDATE,
8082: arp_standard.profile.last_update_login,
8083: al.ae_source_id_secondary,
8084: al.ae_source_table_secondary,
8085: al.ae_currency_code,
8086: al.ae_currency_conversion_rate,

Line 8123: arp_standard.sysparm.org_id, /* SSA changes anuj */

8119: ELSE abs(taxable_acctd_amount) END ae_taxable_accounted_cr ,
8120: al.ae_tax_link_id,
8121: al.ae_reversed_source_id,
8122: al.ae_tax_group_code_id,
8123: arp_standard.sysparm.org_id, /* SSA changes anuj */
8124: al.ae_customer_trx_line_id,
8125: al.ae_cust_trx_line_gl_dist_id,
8126: al.ae_ref_line_id,
8127: CASE WHEN (amount < 0) OR (acctd_amount < 0) THEN abs(from_amount)

Line 8304: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Accounting_Lines()-');

8300: END IF;
8301:
8302: --g_ae_summ_ctr := l_summ_ctr;
8303:
8304: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Accounting_Lines()-');
8305:
8306: EXCEPTION
8307: WHEN OTHERS THEN
8308: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Accounting_Lines:'||SQLERRM);

Line 8308: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Accounting_Lines:'||SQLERRM);

8304: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Accounting_Lines()-');
8305:
8306: EXCEPTION
8307: WHEN OTHERS THEN
8308: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Accounting_Lines:'||SQLERRM);
8309: RAISE;
8310:
8311: END Summarize_Accounting_Lines;
8312:

Line 8426: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level()+');

8422: a1.ae_tax_link_id);
8423:
8424: BEGIN
8425:
8426: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level()+');
8427:
8428: /*------------------------------------------------------------------------------+
8429: |Summarize Accounting entries for revenue and tax to net out accounting entries|
8430: |because the table g_ae_line_tbl contains accounting for earned discounts, |

Line 8502: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level()-');

8498: END LOOP; --End loop summarize lines
8499:
8500: CLOSE summarize_lines;
8501:
8502: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level()-');
8503:
8504: EXCEPTION
8505: WHEN OTHERS THEN
8506: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level');

Line 8506: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level');

8502: arp_standard.debug( 'ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level()-');
8503:
8504: EXCEPTION
8505: WHEN OTHERS THEN
8506: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Summarize_Acct_Lines_Hdr_Level');
8507: RAISE;
8508:
8509: END Summarize_Acct_Lines_Hdr_Level;
8510:

Line 8636: arp_standard.debug( 'ARP_ALLOCATION_PKG.Assign_Elements()+');

8632: PROCEDURE Assign_Elements(p_ae_line_rec IN ar_ae_alloc_rec_gt%ROWTYPE) IS
8633:
8634: BEGIN
8635: IF PG_DEBUG IN ('Y','C') THEN
8636: arp_standard.debug( 'ARP_ALLOCATION_PKG.Assign_Elements()+');
8637: END IF;
8638: /*------------------------------------------------------+
8639: | Store AE Line elements in AE Lines temp table |
8640: +------------------------------------------------------*/

Line 8801: arp_standard.debug( 'ARP_ALLOCATION_PKG.Assign_Elements()-');

8797:
8798: Dump_Line_Amts(p_ae_line_rec);
8799:
8800: IF PG_DEBUG IN ('Y','C') THEN
8801: arp_standard.debug( 'ARP_ALLOCATION_PKG.Assign_Elements()-');
8802: END IF;
8803: EXCEPTION
8804: WHEN OTHERS THEN
8805: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Assign_Elements');

Line 8805: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Assign_Elements');

8801: arp_standard.debug( 'ARP_ALLOCATION_PKG.Assign_Elements()-');
8802: END IF;
8803: EXCEPTION
8804: WHEN OTHERS THEN
8805: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Assign_Elements');
8806: RAISE;
8807:
8808: END Assign_Elements;
8809:

Line 8832: arp_standard.debug( 'ARP_ALLOCATION_PKG.Insert_Ae_Lines()+');

8828: l_dummy ar_distributions.line_id%TYPE;
8829:
8830: BEGIN
8831:
8832: arp_standard.debug( 'ARP_ALLOCATION_PKG.Insert_Ae_Lines()+');
8833:
8834: -- Initialize
8835: l_ae_line_rec := l_ae_line_rec_empty;
8836:

Line 8891: -- arp_standard.debug('source type = ' || l_ae_line_rec.source_type);

8887:
8888: -- before we call the ar_mrc_engine, we need the line_id of
8889: -- the primary row. If the Source type is EXCH_GAIN, EXCH_LOSS
8890: -- or CURR_ROUND, use a new line_id from the sequence.
8891: -- arp_standard.debug('source type = ' || l_ae_line_rec.source_type);
8892: -- if (l_ae_line_rec.source_type = 'EXCH_GAIN' or
8893: -- l_ae_line_rec.source_type = 'EXCH_LOSS' or
8894: -- l_ae_line_rec.source_type = 'CURR_ROUND' ) THEN
8895: -- select ar_distributions_s.nextval

Line 8916: -- arp_standard.debug('Can not determine Line id so created new one');

8912: -- amount_cr IS NULL)
8913: -- and code_combination_id = l_ae_line_rec.code_combination_id;
8914: -- EXCEPTION
8915: -- WHEN OTHERS THEN
8916: -- arp_standard.debug('Can not determine Line id so created new one');
8917: -- select ar_distributions_s.nextval
8918: -- into l_ae_line_rec.line_id
8919: -- from dual;
8920: -- END;

Line 8921: -- arp_standard.debug('line id = ' || to_char(l_ae_line_rec.line_id));

8917: -- select ar_distributions_s.nextval
8918: -- into l_ae_line_rec.line_id
8919: -- from dual;
8920: -- END;
8921: -- arp_standard.debug('line id = ' || to_char(l_ae_line_rec.line_id));
8922: -- END IF;
8923: -- arp_standard.debug('before calling mrc_acct_main');
8924: -- arp_mrc_acct_main.insert_mrc_dis_data
8925: -- (l_ae_line_rec,

Line 8923: -- arp_standard.debug('before calling mrc_acct_main');

8919: -- from dual;
8920: -- END;
8921: -- arp_standard.debug('line id = ' || to_char(l_ae_line_rec.line_id));
8922: -- END IF;
8923: -- arp_standard.debug('before calling mrc_acct_main');
8924: -- arp_mrc_acct_main.insert_mrc_dis_data
8925: -- (l_ae_line_rec,
8926: -- arp_acct_main.ae_sys_rec.set_of_books_id);
8927: --}

Line 8929: arp_standard.debug( 'ARP_ACCT_MAIN.Insert_Ae_Lines()-');

8925: -- (l_ae_line_rec,
8926: -- arp_acct_main.ae_sys_rec.set_of_books_id);
8927: --}
8928: END IF;
8929: arp_standard.debug( 'ARP_ACCT_MAIN.Insert_Ae_Lines()-');
8930:
8931: END Insert_Ae_Lines;
8932:
8933:

Line 8953: arp_standard.debug( 'ARP_ALLOCATION_PKG.Cache_Ae_Lines()+');

8949: BEGIN
8950:
8951:
8952: IF PG_DEBUG in ('Y', 'C') THEN
8953: arp_standard.debug( 'ARP_ALLOCATION_PKG.Cache_Ae_Lines()+');
8954: END IF;
8955:
8956: g_ae_summ_ctr := g_ae_summ_ctr + 1;
8957:

Line 8999: arp_standard.debug( 'ARP_ALLOCATION_PKG.Cache_Ae_Lines()-');

8995:
8996:
8997:
8998: IF PG_DEBUG in ('Y', 'C') THEN
8999: arp_standard.debug( 'ARP_ALLOCATION_PKG.Cache_Ae_Lines()-');
9000: END IF;
9001:
9002: EXCEPTION
9003: WHEN OTHERS THEN

Line 9005: arp_standard.debug( 'OTHERS EXCEPTION : ARP_ALLOCATION_PKG.Cache_Ae_Lines()');

9001:
9002: EXCEPTION
9003: WHEN OTHERS THEN
9004: IF PG_DEBUG in ('Y', 'C') THEN
9005: arp_standard.debug( 'OTHERS EXCEPTION : ARP_ALLOCATION_PKG.Cache_Ae_Lines()');
9006: END IF;
9007:
9008: END Cache_Ae_Lines;
9009:

Line 9025: arp_standard.debug( 'ARP_ACCT_MAIN.Set_Adj_CCID()+');

9021: FUNCTION Set_Adj_CCID(p_action IN VARCHAR2) RETURN NUMBER IS
9022:
9023: BEGIN
9024: IF PG_DEBUG in ('Y', 'C') THEN
9025: arp_standard.debug( 'ARP_ACCT_MAIN.Set_Adj_CCID()+');
9026: END IF;
9027:
9028: IF p_action = 'S' THEN --Set
9029: adj_code_combination_id := '';

Line 9033: arp_standard.debug('Set_Adj_CCID: ' || 'adj_code_combination_id ' || adj_code_combination_id);

9029: adj_code_combination_id := '';
9030: END IF;
9031:
9032: IF PG_DEBUG in ('Y', 'C') THEN
9033: arp_standard.debug('Set_Adj_CCID: ' || 'adj_code_combination_id ' || adj_code_combination_id);
9034: END IF;
9035:
9036: RETURN(adj_code_combination_id);
9037:

Line 9039: arp_standard.debug( 'ARP_ACCT_MAIN.Set_Adj_CCID()-');

9035:
9036: RETURN(adj_code_combination_id);
9037:
9038: IF PG_DEBUG in ('Y', 'C') THEN
9039: arp_standard.debug( 'ARP_ACCT_MAIN.Set_Adj_CCID()-');
9040: END IF;
9041:
9042: EXCEPTION
9043: WHEN OTHERS THEN

Line 9045: arp_standard.debug( 'Exception : ARP_ACCT_MAIN.Set_Adj_CCID');

9041:
9042: EXCEPTION
9043: WHEN OTHERS THEN
9044: IF PG_DEBUG in ('Y', 'C') THEN
9045: arp_standard.debug( 'Exception : ARP_ACCT_MAIN.Set_Adj_CCID');
9046: END IF;
9047: RAISE;
9048:
9049: END Set_Adj_CCID;

Line 9068: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()+');

9064: PROCEDURE Dump_Alloc_Rev_Tax(p_type IN VARCHAR2, p_alloc_rec IN ar_ae_alloc_rec_gt%ROWTYPE) IS
9065:
9066: BEGIN
9067: IF PG_DEBUG in ('Y', 'C') THEN
9068: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()+');
9069: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_id = ' ||
9070: p_alloc_rec.ae_id);
9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||
9072: p_alloc_rec.ae_account_class);

Line 9069: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_id = ' ||

9065:
9066: BEGIN
9067: IF PG_DEBUG in ('Y', 'C') THEN
9068: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()+');
9069: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_id = ' ||
9070: p_alloc_rec.ae_id);
9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||
9072: p_alloc_rec.ae_account_class);
9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||

Line 9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||

9067: IF PG_DEBUG in ('Y', 'C') THEN
9068: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()+');
9069: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_id = ' ||
9070: p_alloc_rec.ae_id);
9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||
9072: p_alloc_rec.ae_account_class);
9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||
9074: p_alloc_rec.ae_customer_trx_id);
9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||

Line 9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||

9069: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_id = ' ||
9070: p_alloc_rec.ae_id);
9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||
9072: p_alloc_rec.ae_account_class);
9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||
9074: p_alloc_rec.ae_customer_trx_id);
9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||
9076: p_alloc_rec.ae_customer_trx_line_id);
9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||

Line 9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||

9071: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_account_class = ' ||
9072: p_alloc_rec.ae_account_class);
9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||
9074: p_alloc_rec.ae_customer_trx_id);
9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||
9076: p_alloc_rec.ae_customer_trx_line_id);
9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||
9078: p_alloc_rec.ae_link_to_cust_trx_line_id);
9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||

Line 9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||

9073: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_id = ' ||
9074: p_alloc_rec.ae_customer_trx_id);
9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||
9076: p_alloc_rec.ae_customer_trx_line_id);
9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||
9078: p_alloc_rec.ae_link_to_cust_trx_line_id);
9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||
9080: p_alloc_rec.ae_tax_type);
9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||

Line 9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||

9075: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_customer_trx_line_id = ' ||
9076: p_alloc_rec.ae_customer_trx_line_id);
9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||
9078: p_alloc_rec.ae_link_to_cust_trx_line_id);
9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||
9080: p_alloc_rec.ae_tax_type);
9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||
9082: p_alloc_rec.ae_code_combination_id);
9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||

Line 9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||

9077: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_link_to_cust_trx_line_id= ' ||
9078: p_alloc_rec.ae_link_to_cust_trx_line_id);
9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||
9080: p_alloc_rec.ae_tax_type);
9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||
9082: p_alloc_rec.ae_code_combination_id);
9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||
9084: p_alloc_rec.ae_collected_tax_ccid);
9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||

Line 9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||

9079: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_type= ' ||
9080: p_alloc_rec.ae_tax_type);
9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||
9082: p_alloc_rec.ae_code_combination_id);
9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||
9084: p_alloc_rec.ae_collected_tax_ccid);
9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||
9086: p_alloc_rec.ae_line_amount);
9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||

Line 9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||

9081: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_code_combination_id= ' ||
9082: p_alloc_rec.ae_code_combination_id);
9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||
9084: p_alloc_rec.ae_collected_tax_ccid);
9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||
9086: p_alloc_rec.ae_line_amount);
9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||
9088: p_alloc_rec.ae_amount);
9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||

Line 9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||

9083: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_collected_tax_ccid= ' ||
9084: p_alloc_rec.ae_collected_tax_ccid);
9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||
9086: p_alloc_rec.ae_line_amount);
9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||
9088: p_alloc_rec.ae_amount);
9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||
9090: p_alloc_rec.ae_acctd_amount);
9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||

Line 9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||

9085: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_line_amount= ' ||
9086: p_alloc_rec.ae_line_amount);
9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||
9088: p_alloc_rec.ae_amount);
9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||
9090: p_alloc_rec.ae_acctd_amount);
9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||
9092: p_alloc_rec.ae_tax_group_code_id);
9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||

Line 9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||

9087: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_amount= ' ||
9088: p_alloc_rec.ae_amount);
9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||
9090: p_alloc_rec.ae_acctd_amount);
9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||
9092: p_alloc_rec.ae_tax_group_code_id);
9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||
9094: p_alloc_rec.ae_tax_id);
9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||

Line 9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||

9089: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_acctd_amount= ' ||
9090: p_alloc_rec.ae_acctd_amount);
9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||
9092: p_alloc_rec.ae_tax_group_code_id);
9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||
9094: p_alloc_rec.ae_tax_id);
9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||
9096: p_alloc_rec.ae_taxable_amount);
9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||

Line 9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||

9091: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_group_code_id= ' ||
9092: p_alloc_rec.ae_tax_group_code_id);
9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||
9094: p_alloc_rec.ae_tax_id);
9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||
9096: p_alloc_rec.ae_taxable_amount);
9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||
9098: p_alloc_rec.ae_taxable_acctd_amount);
9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||

Line 9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||

9093: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_id= ' ||
9094: p_alloc_rec.ae_tax_id);
9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||
9096: p_alloc_rec.ae_taxable_amount);
9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||
9098: p_alloc_rec.ae_taxable_acctd_amount);
9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||
9100: p_alloc_rec.ae_adj_ccid);
9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||

Line 9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||

9095: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_amount= ' ||
9096: p_alloc_rec.ae_taxable_amount);
9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||
9098: p_alloc_rec.ae_taxable_acctd_amount);
9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||
9100: p_alloc_rec.ae_adj_ccid);
9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||
9102: p_alloc_rec.ae_edisc_ccid);
9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||

Line 9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||

9097: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_taxable_acctd_amount= ' ||
9098: p_alloc_rec.ae_taxable_acctd_amount);
9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||
9100: p_alloc_rec.ae_adj_ccid);
9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||
9102: p_alloc_rec.ae_edisc_ccid);
9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||
9104: p_alloc_rec.ae_unedisc_ccid);
9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||

Line 9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||

9099: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_ccid= ' ||
9100: p_alloc_rec.ae_adj_ccid);
9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||
9102: p_alloc_rec.ae_edisc_ccid);
9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||
9104: p_alloc_rec.ae_unedisc_ccid);
9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||
9106: p_alloc_rec.ae_finchrg_ccid);
9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||

Line 9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||

9101: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_ccid= ' ||
9102: p_alloc_rec.ae_edisc_ccid);
9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||
9104: p_alloc_rec.ae_unedisc_ccid);
9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||
9106: p_alloc_rec.ae_finchrg_ccid);
9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||
9108: p_alloc_rec.ae_adj_non_rec_tax_ccid);
9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||

Line 9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||

9103: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_ccid= ' ||
9104: p_alloc_rec.ae_unedisc_ccid);
9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||
9106: p_alloc_rec.ae_finchrg_ccid);
9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||
9108: p_alloc_rec.ae_adj_non_rec_tax_ccid);
9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||
9110: p_alloc_rec.ae_edisc_non_rec_tax_ccid);
9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||

Line 9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||

9105: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_ccid= ' ||
9106: p_alloc_rec.ae_finchrg_ccid);
9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||
9108: p_alloc_rec.ae_adj_non_rec_tax_ccid);
9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||
9110: p_alloc_rec.ae_edisc_non_rec_tax_ccid);
9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||
9112: p_alloc_rec.ae_unedisc_non_rec_tax_ccid);
9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||

Line 9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||

9107: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_adj_non_rec_tax_ccid= ' ||
9108: p_alloc_rec.ae_adj_non_rec_tax_ccid);
9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||
9110: p_alloc_rec.ae_edisc_non_rec_tax_ccid);
9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||
9112: p_alloc_rec.ae_unedisc_non_rec_tax_ccid);
9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||
9114: p_alloc_rec.ae_finchrg_non_rec_tax_ccid);
9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||

Line 9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||

9109: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_edisc_non_rec_tax_ccid= ' ||
9110: p_alloc_rec.ae_edisc_non_rec_tax_ccid);
9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||
9112: p_alloc_rec.ae_unedisc_non_rec_tax_ccid);
9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||
9114: p_alloc_rec.ae_finchrg_non_rec_tax_ccid);
9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||
9116: p_alloc_rec.ae_override_ccid1);
9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||

Line 9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||

9111: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_unedisc_non_rec_tax_ccid= ' ||
9112: p_alloc_rec.ae_unedisc_non_rec_tax_ccid);
9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||
9114: p_alloc_rec.ae_finchrg_non_rec_tax_ccid);
9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||
9116: p_alloc_rec.ae_override_ccid1);
9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||
9118: p_alloc_rec.ae_override_ccid2);
9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||

Line 9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||

9113: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_finchrg_non_rec_tax_ccid= ' ||
9114: p_alloc_rec.ae_finchrg_non_rec_tax_ccid);
9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||
9116: p_alloc_rec.ae_override_ccid1);
9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||
9118: p_alloc_rec.ae_override_ccid2);
9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||
9120: p_alloc_rec.ae_tax_link_id);
9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||

Line 9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||

9115: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid1= ' ||
9116: p_alloc_rec.ae_override_ccid1);
9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||
9118: p_alloc_rec.ae_override_ccid2);
9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||
9120: p_alloc_rec.ae_tax_link_id);
9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||
9122: p_alloc_rec.ae_tax_link_id_ed_adj);
9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||

Line 9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||

9117: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_override_ccid2= ' ||
9118: p_alloc_rec.ae_override_ccid2);
9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||
9120: p_alloc_rec.ae_tax_link_id);
9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||
9122: p_alloc_rec.ae_tax_link_id_ed_adj);
9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||
9124: p_alloc_rec.ae_tax_link_id_uned);
9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||

Line 9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||

9119: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id= ' ||
9120: p_alloc_rec.ae_tax_link_id);
9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||
9122: p_alloc_rec.ae_tax_link_id_ed_adj);
9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||
9124: p_alloc_rec.ae_tax_link_id_uned);
9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||
9126: p_alloc_rec.ae_tax_link_id_act);
9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||

Line 9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||

9121: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_ed_adj= ' ||
9122: p_alloc_rec.ae_tax_link_id_ed_adj);
9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||
9124: p_alloc_rec.ae_tax_link_id_uned);
9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||
9126: p_alloc_rec.ae_tax_link_id_act);
9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||
9128: p_alloc_rec.ae_pro_amt);
9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||

Line 9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||

9123: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_uned= ' ||
9124: p_alloc_rec.ae_tax_link_id_uned);
9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||
9126: p_alloc_rec.ae_tax_link_id_act);
9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||
9128: p_alloc_rec.ae_pro_amt);
9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||
9130: p_alloc_rec.ae_pro_acctd_amt);
9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||

Line 9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||

9125: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_tax_link_id_act= ' ||
9126: p_alloc_rec.ae_tax_link_id_act);
9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||
9128: p_alloc_rec.ae_pro_amt);
9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||
9130: p_alloc_rec.ae_pro_acctd_amt);
9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||
9132: p_alloc_rec.ae_pro_taxable_amt);
9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||

Line 9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||

9127: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_amt= ' ||
9128: p_alloc_rec.ae_pro_amt);
9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||
9130: p_alloc_rec.ae_pro_acctd_amt);
9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||
9132: p_alloc_rec.ae_pro_taxable_amt);
9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||
9134: p_alloc_rec.ae_pro_taxable_acctd_amt);
9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||

Line 9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||

9129: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_acctd_amt= ' ||
9130: p_alloc_rec.ae_pro_acctd_amt);
9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||
9132: p_alloc_rec.ae_pro_taxable_amt);
9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||
9134: p_alloc_rec.ae_pro_taxable_acctd_amt);
9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||
9136: p_alloc_rec.ae_pro_def_tax_amt);
9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||

Line 9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||

9131: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_amt= ' ||
9132: p_alloc_rec.ae_pro_taxable_amt);
9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||
9134: p_alloc_rec.ae_pro_taxable_acctd_amt);
9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||
9136: p_alloc_rec.ae_pro_def_tax_amt);
9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||
9138: p_alloc_rec.ae_pro_def_tax_acctd_amt);
9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||

Line 9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||

9133: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_taxable_acctd_amt= ' ||
9134: p_alloc_rec.ae_pro_taxable_acctd_amt);
9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||
9136: p_alloc_rec.ae_pro_def_tax_amt);
9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||
9138: p_alloc_rec.ae_pro_def_tax_acctd_amt);
9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||
9140: p_alloc_rec.ae_summarize_flag);
9141: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_counted_flag = ' ||

Line 9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||

9135: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_amt= ' ||
9136: p_alloc_rec.ae_pro_def_tax_amt);
9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||
9138: p_alloc_rec.ae_pro_def_tax_acctd_amt);
9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||
9140: p_alloc_rec.ae_summarize_flag);
9141: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_counted_flag = ' ||
9142: p_alloc_rec.ae_counted_flag);
9143: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()-');

Line 9141: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_counted_flag = ' ||

9137: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_pro_def_tax_acctd_amt= ' ||
9138: p_alloc_rec.ae_pro_def_tax_acctd_amt);
9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||
9140: p_alloc_rec.ae_summarize_flag);
9141: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_counted_flag = ' ||
9142: p_alloc_rec.ae_counted_flag);
9143: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()-');
9144: END IF;
9145: EXCEPTION

Line 9143: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()-');

9139: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_summarize_flag= ' ||
9140: p_alloc_rec.ae_summarize_flag);
9141: arp_standard.debug('Dump_Alloc_Rev_Tax: ' || 'g_ae_alloc_'||p_type||'_tbl.ae_counted_flag = ' ||
9142: p_alloc_rec.ae_counted_flag);
9143: arp_standard.debug( 'ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax()-');
9144: END IF;
9145: EXCEPTION
9146: WHEN OTHERS THEN
9147: IF PG_DEBUG in ('Y', 'C') THEN

Line 9148: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax');

9144: END IF;
9145: EXCEPTION
9146: WHEN OTHERS THEN
9147: IF PG_DEBUG in ('Y', 'C') THEN
9148: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Alloc_Rev_Tax');
9149: END IF;
9150: RAISE;
9151:
9152: END Dump_Alloc_Rev_Tax;

Line 9172: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()+');

9168: p_app_rec IN ar_receivable_applications%ROWTYPE,
9169: p_adj_rec IN ar_adjustments%ROWTYPE ) IS
9170: BEGIN
9171: IF PG_DEBUG in ('Y', 'C') THEN
9172: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()+');
9173: arp_standard.debug('Dump_Init_Amts: ' || 'p_type_acct = ' || p_type_acct);
9174: END IF;
9175:
9176: IF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'RA' THEN

Line 9173: arp_standard.debug('Dump_Init_Amts: ' || 'p_type_acct = ' || p_type_acct);

9169: p_adj_rec IN ar_adjustments%ROWTYPE ) IS
9170: BEGIN
9171: IF PG_DEBUG in ('Y', 'C') THEN
9172: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()+');
9173: arp_standard.debug('Dump_Init_Amts: ' || 'p_type_acct = ' || p_type_acct);
9174: END IF;
9175:
9176: IF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'RA' THEN
9177:

Line 9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);

9175:
9176: IF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'RA' THEN
9177:
9178: IF PG_DEBUG in ('Y', 'C') THEN
9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);
9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);

Line 9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);

9176: IF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'RA' THEN
9177:
9178: IF PG_DEBUG in ('Y', 'C') THEN
9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);
9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);
9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);

Line 9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);

9177:
9178: IF PG_DEBUG in ('Y', 'C') THEN
9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);
9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);
9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);
9185: END IF;

Line 9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);

9178: IF PG_DEBUG in ('Y', 'C') THEN
9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);
9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);
9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);
9185: END IF;
9186:

Line 9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);

9179: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.earned_discount_taken = ' || p_app_rec.earned_discount_taken);
9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);
9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);
9185: END IF;
9186:
9187: ELSIF p_type_acct = 'PAY' AND g_ae_doc_rec.source_table = 'RA' THEN

Line 9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);

9180: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_earned_discount_taken = ' || p_app_rec.acctd_earned_discount_taken);
9181: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_ediscounted = ' || p_app_rec.line_ediscounted);
9182: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_ediscounted = ' || p_app_rec.tax_ediscounted);
9183: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_ediscounted = ' || p_app_rec.freight_ediscounted);
9184: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_ediscounted = ' || p_app_rec.charges_ediscounted);
9185: END IF;
9186:
9187: ELSIF p_type_acct = 'PAY' AND g_ae_doc_rec.source_table = 'RA' THEN
9188:

Line 9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);

9186:
9187: ELSIF p_type_acct = 'PAY' AND g_ae_doc_rec.source_table = 'RA' THEN
9188:
9189: IF PG_DEBUG in ('Y', 'C') THEN
9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);
9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);

Line 9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);

9187: ELSIF p_type_acct = 'PAY' AND g_ae_doc_rec.source_table = 'RA' THEN
9188:
9189: IF PG_DEBUG in ('Y', 'C') THEN
9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);
9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);
9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);

Line 9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);

9188:
9189: IF PG_DEBUG in ('Y', 'C') THEN
9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);
9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);
9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);
9196: END IF;

Line 9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);

9189: IF PG_DEBUG in ('Y', 'C') THEN
9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);
9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);
9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);
9196: END IF;
9197:

Line 9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);

9190: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.amount_applied = ' || p_app_rec.amount_applied);
9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);
9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);
9196: END IF;
9197:
9198: ELSIF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'ADJ' THEN

Line 9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);

9191: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_amount_applied_to = ' || p_app_rec.acctd_amount_applied_to);
9192: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_applied = ' || p_app_rec.line_applied);
9193: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_applied = ' || p_app_rec.tax_applied);
9194: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_applied = ' || p_app_rec.freight_applied);
9195: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.receivables_charges_applied = ' || p_app_rec.receivables_charges_applied);
9196: END IF;
9197:
9198: ELSIF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'ADJ' THEN
9199:

Line 9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);

9197:
9198: ELSIF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'ADJ' THEN
9199:
9200: IF PG_DEBUG in ('Y', 'C') THEN
9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);
9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);

Line 9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);

9198: ELSIF p_type_acct = 'ED_ADJ' AND g_ae_doc_rec.source_table = 'ADJ' THEN
9199:
9200: IF PG_DEBUG in ('Y', 'C') THEN
9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);
9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);
9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '

Line 9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);

9199:
9200: IF PG_DEBUG in ('Y', 'C') THEN
9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);
9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);
9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '
9207: || p_adj_rec.receivables_charges_adjusted);

Line 9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);

9200: IF PG_DEBUG in ('Y', 'C') THEN
9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);
9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);
9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '
9207: || p_adj_rec.receivables_charges_adjusted);
9208: END IF;

Line 9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);

9201: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.amount = ' || p_adj_rec.amount);
9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);
9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '
9207: || p_adj_rec.receivables_charges_adjusted);
9208: END IF;
9209:

Line 9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '

9202: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.acctd_amount = ' || p_adj_rec.acctd_amount);
9203: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.line_adjusted = ' || p_adj_rec.line_adjusted);
9204: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.tax_adjusted = ' || p_adj_rec.tax_adjusted);
9205: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.freight_adjusted = ' || p_adj_rec.freight_adjusted);
9206: arp_standard.debug('Dump_Init_Amts: ' || 'p_adj_rec.receivables_charges_adjusted = '
9207: || p_adj_rec.receivables_charges_adjusted);
9208: END IF;
9209:
9210: ELSIF p_type_acct = 'UNED' AND g_ae_doc_rec.source_table = 'RA' THEN

Line 9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);

9209:
9210: ELSIF p_type_acct = 'UNED' AND g_ae_doc_rec.source_table = 'RA' THEN
9211:
9212: IF PG_DEBUG in ('Y', 'C') THEN
9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);
9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);

Line 9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);

9210: ELSIF p_type_acct = 'UNED' AND g_ae_doc_rec.source_table = 'RA' THEN
9211:
9212: IF PG_DEBUG in ('Y', 'C') THEN
9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);
9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);
9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);

Line 9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);

9211:
9212: IF PG_DEBUG in ('Y', 'C') THEN
9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);
9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);
9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);
9219: END IF;

Line 9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);

9212: IF PG_DEBUG in ('Y', 'C') THEN
9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);
9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);
9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);
9219: END IF;
9220:

Line 9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);

9213: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.unearned_discount_taken = ' || p_app_rec.unearned_discount_taken);
9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);
9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);
9219: END IF;
9220:
9221: END IF;

Line 9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);

9214: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.acctd_unearned_discount_taken = ' || p_app_rec.acctd_unearned_discount_taken);
9215: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.line_uediscounted = ' || p_app_rec.line_uediscounted);
9216: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.tax_uediscounted = ' || p_app_rec.tax_uediscounted);
9217: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.freight_uediscounted = ' || p_app_rec.freight_uediscounted);
9218: arp_standard.debug('Dump_Init_Amts: ' || 'p_app_rec.charges_uediscounted = ' || p_app_rec.charges_uediscounted);
9219: END IF;
9220:
9221: END IF;
9222:

Line 9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);

9220:
9221: END IF;
9222:
9223: IF PG_DEBUG in ('Y', 'C') THEN
9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);
9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);

Line 9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);

9221: END IF;
9222:
9223: IF PG_DEBUG in ('Y', 'C') THEN
9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);
9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);

Line 9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);

9222:
9223: IF PG_DEBUG in ('Y', 'C') THEN
9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);
9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);

Line 9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);

9223: IF PG_DEBUG in ('Y', 'C') THEN
9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);
9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);

Line 9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);

9224: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_amt_alloc = '||g_ae_rule_rec.line_amt_alloc);
9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);
9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');

Line 9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);

9225: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.line_acctd_amt_alloc = '||g_ae_rule_rec.line_acctd_amt_alloc);
9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);
9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');
9233: END IF;

Line 9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);

9226: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_amt_alloc = '||g_ae_rule_rec.tax_amt_alloc);
9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);
9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');
9233: END IF;
9234:

Line 9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);

9227: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.tax_acctd_amt_alloc = '||g_ae_rule_rec.tax_acctd_amt_alloc);
9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);
9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');
9233: END IF;
9234:
9235: EXCEPTION

Line 9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');

9228: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_amt_alloc = '||g_ae_rule_rec.freight_amt_alloc);
9229: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.freight_acctd_amt_alloc = '||g_ae_rule_rec.freight_acctd_amt_alloc);
9230: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_amt_alloc = '||g_ae_rule_rec.charges_amt_alloc);
9231: arp_standard.debug('Dump_Init_Amts: ' || 'g_ae_rule_rec.charges_acctd_amt_alloc = '||g_ae_rule_rec.charges_acctd_amt_alloc);
9232: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Init_Amts()-');
9233: END IF;
9234:
9235: EXCEPTION
9236: WHEN OTHERS THEN

Line 9238: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Init_Amts');

9234:
9235: EXCEPTION
9236: WHEN OTHERS THEN
9237: IF PG_DEBUG in ('Y', 'C') THEN
9238: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Init_Amts');
9239: END IF;
9240: RAISE;
9241:
9242: END Dump_Init_Amts;

Line 9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');

9255: PROCEDURE Dump_Line_Amts(p_ae_line_rec IN ar_ae_alloc_rec_gt%ROWTYPE) IS
9256:
9257: BEGIN
9258:
9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');
9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);

Line 9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);

9256:
9257: BEGIN
9258:
9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');
9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);

Line 9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);

9257: BEGIN
9258:
9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');
9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);

Line 9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);

9258:
9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');
9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);

Line 9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);

9259: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()+');
9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);

Line 9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);

9260: arp_standard.debug('Dump_Line_Amts: ' || 'ae_id = ' || p_ae_line_rec.ae_id);
9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);

Line 9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);

9261: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type = ' || p_ae_line_rec.ae_line_type);
9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);

Line 9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);

9262: arp_standard.debug('Dump_Line_Amts: ' || 'ae_line_type_secondary = ' || p_ae_line_rec.ae_line_type_secondary);
9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);

Line 9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);

9263: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id = ' || p_ae_line_rec.ae_source_id);
9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);

Line 9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);

9264: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table = ' || p_ae_line_rec.ae_source_table);
9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);

Line 9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);

9265: arp_standard.debug('Dump_Line_Amts: ' || 'ae_account = ' || p_ae_line_rec.ae_account);
9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);

Line 9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);

9266: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_dr = ' || p_ae_line_rec.ae_entered_dr);
9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);

Line 9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);

9267: arp_standard.debug('Dump_Line_Amts: ' || 'ae_entered_cr = ' || p_ae_line_rec.ae_entered_cr);
9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);

Line 9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);

9268: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_dr = ' || p_ae_line_rec.ae_accounted_dr);
9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);

Line 9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);

9269: arp_standard.debug('Dump_Line_Amts: ' || 'ae_accounted_cr = ' || p_ae_line_rec.ae_accounted_cr);
9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);

Line 9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);

9270: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_id_secondary = ' || p_ae_line_rec.ae_source_id_secondary);
9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);

Line 9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);

9271: arp_standard.debug('Dump_Line_Amts: ' || 'ae_source_table_secondary = ' || p_ae_line_rec.ae_source_table_secondary);
9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);

Line 9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);

9272: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_code = ' || p_ae_line_rec.ae_currency_code);
9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);

Line 9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);

9273: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_rate = ' || p_ae_line_rec.ae_currency_conversion_rate);
9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);

Line 9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);

9274: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_type = ' || p_ae_line_rec.ae_currency_conversion_type);
9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);

Line 9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);

9275: arp_standard.debug('Dump_Line_Amts: ' || 'ae_currency_conversion_date = ' || p_ae_line_rec.ae_currency_conversion_date);
9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);

Line 9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);

9276: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_id = ' || p_ae_line_rec.ae_third_party_id);
9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);

Line 9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);

9277: arp_standard.debug('Dump_Line_Amts: ' || 'ae_third_party_sub_id = ' || p_ae_line_rec.ae_third_party_sub_id);
9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);

Line 9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);

9278: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_group_code_id = ' || p_ae_line_rec.ae_tax_group_code_id);
9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);

Line 9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);

9279: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_code_id = ' || p_ae_line_rec.ae_tax_code_id);
9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);

Line 9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);

9280: arp_standard.debug('Dump_Line_Amts: ' || 'ae_location_segment_id = ' || p_ae_line_rec.ae_location_segment_id);
9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);

Line 9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);

9281: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_dr = ' || p_ae_line_rec.ae_taxable_entered_dr);
9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:

Line 9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);

9282: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_entered_cr = ' || p_ae_line_rec.ae_taxable_entered_cr);
9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);

Line 9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);

9283: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_dr = ' || p_ae_line_rec.ae_taxable_accounted_dr);
9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);

Line 9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);

9284: arp_standard.debug('Dump_Line_Amts: ' || 'ae_taxable_accounted_cr = ' || p_ae_line_rec.ae_taxable_accounted_cr);
9285: arp_standard.debug('Dump_Line_Amts: ' || 'ae_tax_link_id = ' || p_ae_line_rec.ae_tax_link_id);
9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);

Line 9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);

9286: arp_standard.debug('Dump_Line_Amts: ' || 'ae_reversed_source_id = ' || p_ae_line_rec.ae_reversed_source_id);
9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);

Line 9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);

9287: arp_standard.debug('Dump_Line_Amts: ' || 'ae_summarize_flag = ' || p_ae_line_rec.ae_summarize_flag);
9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);

Line 9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);

9288: arp_standard.debug('Dump_Line_Amts: ' || 'ae_neg_ind = ' || p_ae_line_rec.ae_neg_ind);
9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);

Line 9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);

9289:
9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);
9297:

Line 9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);

9290: arp_standard.debug('Dump_Line_Amts: ' || 'activity_bucket = ' || p_ae_line_rec.activity_bucket);
9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);
9297:
9298: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()-');

Line 9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);

9291: arp_standard.debug('Dump_Line_Amts: ' || 'ref_account_class = ' || p_ae_line_rec.ref_account_class);
9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);
9297:
9298: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()-');
9299:

Line 9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);

9292: arp_standard.debug('Dump_Line_Amts: ' || 'ref_customer_trx_line_id = ' || p_ae_line_rec.ae_customer_trx_line_id);
9293: arp_standard.debug('Dump_Line_Amts: ' || 'ref_cust_trx_line_gl_dist_id= ' || p_ae_line_rec.ae_cust_trx_line_gl_dist_id);
9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);
9297:
9298: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()-');
9299:
9300: EXCEPTION

Line 9298: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()-');

9294: arp_standard.debug('Dump_Line_Amts: ' || 'ref_line_id = ' || p_ae_line_rec.ae_ref_line_id);
9295: arp_standard.debug('Dump_Line_Amts: ' || 'ref_dist_ccid = ' || p_ae_line_rec.ref_dist_ccid);
9296: arp_standard.debug('Dump_Line_Amts: ' || 'ref_mf_dist_flag = ' || p_ae_line_rec.ref_mf_dist_flag);
9297:
9298: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Line_Amts()-');
9299:
9300: EXCEPTION
9301: WHEN OTHERS THEN
9302: IF PG_DEBUG in ('Y', 'C') THEN

Line 9303: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Line_Amts');

9299:
9300: EXCEPTION
9301: WHEN OTHERS THEN
9302: IF PG_DEBUG in ('Y', 'C') THEN
9303: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Line_Amts');
9304: END IF;
9305: RAISE;
9306:
9307: END Dump_Line_Amts;

Line 9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');

9320: PROCEDURE Dump_Dist_Amts(p_ae_line_rec IN ar_distributions%ROWTYPE) IS
9321: BEGIN
9322:
9323: IF PG_DEBUG in ('Y', 'C') THEN
9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');
9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);

Line 9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);

9321: BEGIN
9322:
9323: IF PG_DEBUG in ('Y', 'C') THEN
9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');
9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);

Line 9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);

9322:
9323: IF PG_DEBUG in ('Y', 'C') THEN
9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');
9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);

Line 9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);

9323: IF PG_DEBUG in ('Y', 'C') THEN
9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');
9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);

Line 9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);

9324: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()+');
9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);

Line 9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);

9325: arp_standard.debug('Dump_Dist_Amts: ' || 'ae_id = ' || g_id);
9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);

Line 9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);

9326: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type = ' || p_ae_line_rec.source_type);
9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);

Line 9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);

9327: arp_standard.debug('Dump_Dist_Amts: ' || 'source_type_secondary = ' || p_ae_line_rec.source_type_secondary);
9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);

Line 9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);

9328: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id = ' || p_ae_line_rec.source_id);
9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);

Line 9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);

9329: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table = ' || p_ae_line_rec.source_table);
9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);

Line 9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);

9330: arp_standard.debug('Dump_Dist_Amts: ' || 'code_combination_id = ' || p_ae_line_rec.code_combination_id);
9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);

Line 9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);

9331: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_dr = ' || p_ae_line_rec.amount_dr);
9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);

Line 9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);

9332: arp_standard.debug('Dump_Dist_Amts: ' || 'amount_cr = ' || p_ae_line_rec.amount_cr);
9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);

Line 9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);

9333: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_dr = ' || p_ae_line_rec.acctd_amount_dr);
9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);

Line 9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);

9334: arp_standard.debug('Dump_Dist_Amts: ' || 'acctd_amount_cr = ' || p_ae_line_rec.acctd_amount_cr);
9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);

Line 9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);

9335: arp_standard.debug('Dump_Dist_Amts: ' || 'source_id_secondary = ' || p_ae_line_rec.source_id_secondary);
9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);

Line 9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);

9336: arp_standard.debug('Dump_Dist_Amts: ' || 'source_table_secondary = ' || p_ae_line_rec.source_table_secondary);
9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);

Line 9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);

9337: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_code = ' || p_ae_line_rec.currency_code);
9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);

Line 9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);

9338: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_rate = ' || p_ae_line_rec.currency_conversion_rate);
9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);

Line 9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);

9339: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_type = ' || p_ae_line_rec.currency_conversion_type);
9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);

Line 9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);

9340: arp_standard.debug('Dump_Dist_Amts: ' || 'currency_conversion_date = ' || p_ae_line_rec.currency_conversion_date);
9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);

Line 9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);

9341: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_id = ' || p_ae_line_rec.third_party_id);
9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);

Line 9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);

9342: arp_standard.debug('Dump_Dist_Amts: ' || 'third_party_sub_id = ' || p_ae_line_rec.third_party_sub_id);
9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);

Line 9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);

9343: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_group_code_id = ' || p_ae_line_rec.tax_group_code_id);
9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);

Line 9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);

9344: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_code_id = ' || p_ae_line_rec.tax_code_id);
9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);
9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');

Line 9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);

9345: arp_standard.debug('Dump_Dist_Amts: ' || 'location_segment_id = ' || p_ae_line_rec.location_segment_id);
9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);
9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');
9353: END IF;

Line 9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);

9346: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_dr = ' || p_ae_line_rec.taxable_entered_dr);
9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);
9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');
9353: END IF;
9354:

Line 9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);

9347: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_entered_cr = ' || p_ae_line_rec.taxable_entered_cr);
9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);
9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');
9353: END IF;
9354:
9355: EXCEPTION

Line 9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');

9348: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_dr = ' || p_ae_line_rec.taxable_accounted_dr);
9349: arp_standard.debug('Dump_Dist_Amts: ' || 'taxable_accounted_cr = ' || p_ae_line_rec.taxable_accounted_cr);
9350: arp_standard.debug('Dump_Dist_Amts: ' || 'tax_link_id = ' || p_ae_line_rec.tax_link_id);
9351: arp_standard.debug('Dump_Dist_Amts: ' || 'reversed_source_id = ' || p_ae_line_rec.reversed_source_id);
9352: arp_standard.debug('ARP_ALLOCATION_PKG.Dump_Dist_Amts()-');
9353: END IF;
9354:
9355: EXCEPTION
9356: WHEN OTHERS THEN

Line 9358: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Dist_Amts');

9354:
9355: EXCEPTION
9356: WHEN OTHERS THEN
9357: IF PG_DEBUG in ('Y', 'C') THEN
9358: arp_standard.debug('EXCEPTION: ARP_ALLOCATION_PKG.Dump_Dist_Amts');
9359: END IF;
9360: RAISE;
9361:
9362: END Dump_Dist_Amts;

Line 9437: arp_standard.debug('fct_adj_ccid +');

9433: l_adj_non_rec_tax_ccid NUMBER;
9434: l_tax_recoverable_flag VARCHAR2(10);
9435: l_le_id NUMBER;
9436: BEGIN
9437: arp_standard.debug('fct_adj_ccid +');
9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);

Line 9438: arp_standard.debug(' p_bucket :'||p_bucket);

9434: l_tax_recoverable_flag VARCHAR2(10);
9435: l_le_id NUMBER;
9436: BEGIN
9437: arp_standard.debug('fct_adj_ccid +');
9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);

Line 9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);

9435: l_le_id NUMBER;
9436: BEGIN
9437: arp_standard.debug('fct_adj_ccid +');
9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);
9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);

Line 9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);

9436: BEGIN
9437: arp_standard.debug('fct_adj_ccid +');
9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);
9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);
9444:

Line 9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);

9437: arp_standard.debug('fct_adj_ccid +');
9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);
9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);
9444:
9445: /* Determine if LE is required and fetch from target

Line 9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);

9438: arp_standard.debug(' p_bucket :'||p_bucket);
9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);
9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);
9444:
9445: /* Determine if LE is required and fetch from target
9446: transaction */

Line 9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);

9439: arp_standard.debug(' p_customer_trx_id :'||p_customer_trx_id);
9440: arp_standard.debug(' p_gl_account_source :'||p_gl_account_source);
9441: arp_standard.debug(' p_code_combination_id:'||p_code_combination_id);
9442: arp_standard.debug(' p_tax_code_source :'||p_tax_code_source);
9443: arp_standard.debug(' p_receivables_trx_id :'||p_receivables_trx_id);
9444:
9445: /* Determine if LE is required and fetch from target
9446: transaction */
9447: IF arp_legal_entity_util.is_le_subscriber

Line 9461: arp_standard.debug(' Tax boundary');

9457: END IF;
9458:
9459: -- Tax boundary
9460: IF p_bucket = 'ADJ_TAX' THEN
9461: arp_standard.debug(' Tax boundary');
9462: IF p_tax_code_source = 'ACTIVITY' THEN
9463: arp_standard.debug(' tax_code_source ACTIVITY');
9464:
9465: IF l_le_id IS NOT NULL

Line 9463: arp_standard.debug(' tax_code_source ACTIVITY');

9459: -- Tax boundary
9460: IF p_bucket = 'ADJ_TAX' THEN
9461: arp_standard.debug(' Tax boundary');
9462: IF p_tax_code_source = 'ACTIVITY' THEN
9463: arp_standard.debug(' tax_code_source ACTIVITY');
9464:
9465: IF l_le_id IS NOT NULL
9466: THEN
9467: OPEN c1_le(l_le_id);

Line 9479: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);

9475: l_adj_non_rec_tax_ccid,
9476: l_tax_recoverable_flag;
9477: CLOSE c1;
9478: END IF;
9479: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9480: arp_standard.debug(' l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9481: arp_standard.debug(' l_tax_recoverable_flag :'||l_tax_recoverable_flag);
9482: IF l_tax_recoverable_flag = 'N' THEN
9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);

Line 9480: arp_standard.debug(' l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);

9476: l_tax_recoverable_flag;
9477: CLOSE c1;
9478: END IF;
9479: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9480: arp_standard.debug(' l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9481: arp_standard.debug(' l_tax_recoverable_flag :'||l_tax_recoverable_flag);
9482: IF l_tax_recoverable_flag = 'N' THEN
9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9484: RETURN l_adj_non_rec_tax_ccid;

Line 9481: arp_standard.debug(' l_tax_recoverable_flag :'||l_tax_recoverable_flag);

9477: CLOSE c1;
9478: END IF;
9479: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9480: arp_standard.debug(' l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9481: arp_standard.debug(' l_tax_recoverable_flag :'||l_tax_recoverable_flag);
9482: IF l_tax_recoverable_flag = 'N' THEN
9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9484: RETURN l_adj_non_rec_tax_ccid;
9485: ELSE

Line 9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);

9479: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9480: arp_standard.debug(' l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9481: arp_standard.debug(' l_tax_recoverable_flag :'||l_tax_recoverable_flag);
9482: IF l_tax_recoverable_flag = 'N' THEN
9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9484: RETURN l_adj_non_rec_tax_ccid;
9485: ELSE
9486: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9487: RETURN l_adj_ccid;

Line 9486: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);

9482: IF l_tax_recoverable_flag = 'N' THEN
9483: arp_standard.debug(' Returning l_adj_non_rec_tax_ccid :'||l_adj_non_rec_tax_ccid);
9484: RETURN l_adj_non_rec_tax_ccid;
9485: ELSE
9486: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9487: RETURN l_adj_ccid;
9488: END IF;
9489: ELSIF p_tax_code_source = 'INVOICE' THEN
9490: -- unexpected situation no tax line on invoice

Line 9491: arp_standard.debug(' tax code source INVOICE unexpected');

9487: RETURN l_adj_ccid;
9488: END IF;
9489: ELSIF p_tax_code_source = 'INVOICE' THEN
9490: -- unexpected situation no tax line on invoice
9491: arp_standard.debug(' tax code source INVOICE unexpected');
9492: arp_standard.debug(' Returning -8');
9493: RETURN -8;
9494: ELSIF p_tax_code_source = 'NONE' THEN
9495: --unexpected situation inpossible for tax adjustment

Line 9492: arp_standard.debug(' Returning -8');

9488: END IF;
9489: ELSIF p_tax_code_source = 'INVOICE' THEN
9490: -- unexpected situation no tax line on invoice
9491: arp_standard.debug(' tax code source INVOICE unexpected');
9492: arp_standard.debug(' Returning -8');
9493: RETURN -8;
9494: ELSIF p_tax_code_source = 'NONE' THEN
9495: --unexpected situation inpossible for tax adjustment
9496: arp_standard.debug(' tax code source NONE unexpected');

Line 9496: arp_standard.debug(' tax code source NONE unexpected');

9492: arp_standard.debug(' Returning -8');
9493: RETURN -8;
9494: ELSIF p_tax_code_source = 'NONE' THEN
9495: --unexpected situation inpossible for tax adjustment
9496: arp_standard.debug(' tax code source NONE unexpected');
9497: arp_standard.debug(' Returning -8');
9498: RETURN -8;
9499: END IF;
9500: -- Line boundary

Line 9497: arp_standard.debug(' Returning -8');

9493: RETURN -8;
9494: ELSIF p_tax_code_source = 'NONE' THEN
9495: --unexpected situation inpossible for tax adjustment
9496: arp_standard.debug(' tax code source NONE unexpected');
9497: arp_standard.debug(' Returning -8');
9498: RETURN -8;
9499: END IF;
9500: -- Line boundary
9501: ELSIF p_bucket = 'ADJ_LINE' THEN

Line 9502: arp_standard.debug(' Line boundary');

9498: RETURN -8;
9499: END IF;
9500: -- Line boundary
9501: ELSIF p_bucket = 'ADJ_LINE' THEN
9502: arp_standard.debug(' Line boundary');
9503: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9504: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9505: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9506: RETURN p_code_combination_id;

Line 9504: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');

9500: -- Line boundary
9501: ELSIF p_bucket = 'ADJ_LINE' THEN
9502: arp_standard.debug(' Line boundary');
9503: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9504: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9505: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9506: RETURN p_code_combination_id;
9507: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9508: arp_standard.debug(' gl_acount_source TAX_CODE_ON_INVOICE');

Line 9505: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);

9501: ELSIF p_bucket = 'ADJ_LINE' THEN
9502: arp_standard.debug(' Line boundary');
9503: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9504: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9505: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9506: RETURN p_code_combination_id;
9507: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9508: arp_standard.debug(' gl_acount_source TAX_CODE_ON_INVOICE');
9509: OPEN c2;

Line 9508: arp_standard.debug(' gl_acount_source TAX_CODE_ON_INVOICE');

9504: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9505: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9506: RETURN p_code_combination_id;
9507: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9508: arp_standard.debug(' gl_acount_source TAX_CODE_ON_INVOICE');
9509: OPEN c2;
9510: FETCH c2 INTO l_adj_ccid,
9511: l_finchrg_ccid;
9512: CLOSE c2;

Line 9513: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);

9509: OPEN c2;
9510: FETCH c2 INTO l_adj_ccid,
9511: l_finchrg_ccid;
9512: CLOSE c2;
9513: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9514: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9515: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9516: RETURN l_adj_ccid;
9517: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN

Line 9514: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);

9510: FETCH c2 INTO l_adj_ccid,
9511: l_finchrg_ccid;
9512: CLOSE c2;
9513: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9514: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9515: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9516: RETURN l_adj_ccid;
9517: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9518: -- Unexpected situation - no invoice line

Line 9515: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);

9511: l_finchrg_ccid;
9512: CLOSE c2;
9513: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9514: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9515: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9516: RETURN l_adj_ccid;
9517: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9518: -- Unexpected situation - no invoice line
9519: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

Line 9519: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

9515: arp_standard.debug(' Returning l_adj_ccid :'||l_adj_ccid);
9516: RETURN l_adj_ccid;
9517: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9518: -- Unexpected situation - no invoice line
9519: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9520: arp_standard.debug(' Returning -6');
9521: RETURN -6;
9522: END IF;
9523: -- Chrg boundary

Line 9520: arp_standard.debug(' Returning -6');

9516: RETURN l_adj_ccid;
9517: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9518: -- Unexpected situation - no invoice line
9519: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9520: arp_standard.debug(' Returning -6');
9521: RETURN -6;
9522: END IF;
9523: -- Chrg boundary
9524: ELSIF p_bucket = 'ADJ_CHRG' THEN

Line 9525: arp_standard.debug(' Charges boundary');

9521: RETURN -6;
9522: END IF;
9523: -- Chrg boundary
9524: ELSIF p_bucket = 'ADJ_CHRG' THEN
9525: arp_standard.debug(' Charges boundary');
9526: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9527: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9528: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9529: RETURN p_code_combination_id;

Line 9527: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');

9523: -- Chrg boundary
9524: ELSIF p_bucket = 'ADJ_CHRG' THEN
9525: arp_standard.debug(' Charges boundary');
9526: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9527: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9528: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9529: RETURN p_code_combination_id;
9530: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9531: OPEN c2;

Line 9528: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);

9524: ELSIF p_bucket = 'ADJ_CHRG' THEN
9525: arp_standard.debug(' Charges boundary');
9526: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9527: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9528: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9529: RETURN p_code_combination_id;
9530: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9531: OPEN c2;
9532: FETCH c2 INTO l_adj_ccid,

Line 9535: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);

9531: OPEN c2;
9532: FETCH c2 INTO l_adj_ccid,
9533: l_finchrg_ccid;
9534: CLOSE c2;
9535: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9536: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9537: arp_standard.debug(' Returning l_finchrg_ccid :'||l_finchrg_ccid);
9538: RETURN l_finchrg_ccid;
9539: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN

Line 9536: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);

9532: FETCH c2 INTO l_adj_ccid,
9533: l_finchrg_ccid;
9534: CLOSE c2;
9535: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9536: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9537: arp_standard.debug(' Returning l_finchrg_ccid :'||l_finchrg_ccid);
9538: RETURN l_finchrg_ccid;
9539: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9540: --Chrg boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected

Line 9537: arp_standard.debug(' Returning l_finchrg_ccid :'||l_finchrg_ccid);

9533: l_finchrg_ccid;
9534: CLOSE c2;
9535: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9536: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9537: arp_standard.debug(' Returning l_finchrg_ccid :'||l_finchrg_ccid);
9538: RETURN l_finchrg_ccid;
9539: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9540: --Chrg boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9541: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

Line 9541: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

9537: arp_standard.debug(' Returning l_finchrg_ccid :'||l_finchrg_ccid);
9538: RETURN l_finchrg_ccid;
9539: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9540: --Chrg boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9541: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9542: arp_standard.debug(' Returning -7');
9543: RETURN -7;
9544: END IF;
9545: -- Chrg boundary

Line 9542: arp_standard.debug(' Returning -7');

9538: RETURN l_finchrg_ccid;
9539: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9540: --Chrg boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9541: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9542: arp_standard.debug(' Returning -7');
9543: RETURN -7;
9544: END IF;
9545: -- Chrg boundary
9546: ELSIF p_bucket = 'ADJ_FRT' THEN

Line 9547: arp_standard.debug(' Charges boundary');

9543: RETURN -7;
9544: END IF;
9545: -- Chrg boundary
9546: ELSIF p_bucket = 'ADJ_FRT' THEN
9547: arp_standard.debug(' Charges boundary');
9548: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9549: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9550: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9551: RETURN p_code_combination_id;

Line 9549: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');

9545: -- Chrg boundary
9546: ELSIF p_bucket = 'ADJ_FRT' THEN
9547: arp_standard.debug(' Charges boundary');
9548: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9549: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9550: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9551: RETURN p_code_combination_id;
9552: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9553: OPEN c2;

Line 9550: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);

9546: ELSIF p_bucket = 'ADJ_FRT' THEN
9547: arp_standard.debug(' Charges boundary');
9548: IF p_gl_account_source = 'ACTIVITY_GL_ACCOUNT' THEN
9549: arp_standard.debug(' gl_acount_source ACTIVITY_GL_ACCOUNT');
9550: arp_standard.debug(' Returning p_code_combination_id:'||p_code_combination_id);
9551: RETURN p_code_combination_id;
9552: ELSIF p_gl_account_source = 'TAX_CODE_ON_INVOICE' THEN
9553: OPEN c2;
9554: FETCH c2 INTO l_adj_ccid,

Line 9557: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);

9553: OPEN c2;
9554: FETCH c2 INTO l_adj_ccid,
9555: l_finchrg_ccid;
9556: CLOSE c2;
9557: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9558: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9559: arp_standard.debug(' Returning L_ADJ_CCID :'||l_adj_ccid);
9560: RETURN l_adj_ccid;
9561: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN

Line 9558: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);

9554: FETCH c2 INTO l_adj_ccid,
9555: l_finchrg_ccid;
9556: CLOSE c2;
9557: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9558: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9559: arp_standard.debug(' Returning L_ADJ_CCID :'||l_adj_ccid);
9560: RETURN l_adj_ccid;
9561: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9562: --Frt boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected

Line 9559: arp_standard.debug(' Returning L_ADJ_CCID :'||l_adj_ccid);

9555: l_finchrg_ccid;
9556: CLOSE c2;
9557: arp_standard.debug(' l_adj_ccid :'||l_adj_ccid);
9558: arp_standard.debug(' l_finchrg_ccid :'||l_finchrg_ccid);
9559: arp_standard.debug(' Returning L_ADJ_CCID :'||l_adj_ccid);
9560: RETURN l_adj_ccid;
9561: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9562: --Frt boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9563: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

Line 9563: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');

9559: arp_standard.debug(' Returning L_ADJ_CCID :'||l_adj_ccid);
9560: RETURN l_adj_ccid;
9561: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9562: --Frt boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9563: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9564: arp_standard.debug(' Returning -9');
9565: RETURN -9;
9566: END IF;
9567: END IF;

Line 9564: arp_standard.debug(' Returning -9');

9560: RETURN l_adj_ccid;
9561: ELSIF p_gl_account_source = 'REVENUE_ON_INVOICE' THEN
9562: --Frt boundary <=> no original amount invoice line so REVENUE_ON_INVOICE is unexpected
9563: arp_standard.debug(' gl account source REVENUE_ON_INVOICE unexpected');
9564: arp_standard.debug(' Returning -9');
9565: RETURN -9;
9566: END IF;
9567: END IF;
9568: END;

Line 9572: arp_standard.debug(' p_receivables_trx_id :'|| p_receivables_trx_id);

9568: END;
9569: BEGIN
9570: -- IF g_ae_summ_tax_tbl.bucket IN ('ADJ_LINE','ADJ_TAX','ADJ_FRT','ADJ_CHRG')
9571: -- AND g_ae_summ_rev_tbl.ae_cust_trx_line_gl_dist_id IN (-6,-7,-8,-9)
9572: arp_standard.debug(' p_receivables_trx_id :'|| p_receivables_trx_id);
9573: arp_standard.debug(' p_bucket :'|| p_bucket);
9574: arp_standard.debug(' p_ctlgd_id :'|| p_ctlgd_id );
9575: -- bug#5016123
9576: -- No Accounting should be created for the adj the ccid should keep the receivable ccid

Line 9573: arp_standard.debug(' p_bucket :'|| p_bucket);

9569: BEGIN
9570: -- IF g_ae_summ_tax_tbl.bucket IN ('ADJ_LINE','ADJ_TAX','ADJ_FRT','ADJ_CHRG')
9571: -- AND g_ae_summ_rev_tbl.ae_cust_trx_line_gl_dist_id IN (-6,-7,-8,-9)
9572: arp_standard.debug(' p_receivables_trx_id :'|| p_receivables_trx_id);
9573: arp_standard.debug(' p_bucket :'|| p_bucket);
9574: arp_standard.debug(' p_ctlgd_id :'|| p_ctlgd_id );
9575: -- bug#5016123
9576: -- No Accounting should be created for the adj the ccid should keep the receivable ccid
9577: -- of the initial doc - but the distributions generated by the shadow adjustment

Line 9574: arp_standard.debug(' p_ctlgd_id :'|| p_ctlgd_id );

9570: -- IF g_ae_summ_tax_tbl.bucket IN ('ADJ_LINE','ADJ_TAX','ADJ_FRT','ADJ_CHRG')
9571: -- AND g_ae_summ_rev_tbl.ae_cust_trx_line_gl_dist_id IN (-6,-7,-8,-9)
9572: arp_standard.debug(' p_receivables_trx_id :'|| p_receivables_trx_id);
9573: arp_standard.debug(' p_bucket :'|| p_bucket);
9574: arp_standard.debug(' p_ctlgd_id :'|| p_ctlgd_id );
9575: -- bug#5016123
9576: -- No Accounting should be created for the adj the ccid should keep the receivable ccid
9577: -- of the initial doc - but the distributions generated by the shadow adjustment
9578: -- should serve as template for the Transaction history

Line 9591: arp_standard.debug(' x_ccid :'|| x_ccid );

9587: p_gl_account_source => g_ae_rule_rec.gl_account_source1,
9588: p_code_combination_id => g_ae_rule_rec.code_combination_id1,
9589: p_tax_code_source => g_ae_rule_rec.tax_code_source1,
9590: p_receivables_trx_id => p_receivables_trx_id);
9591: arp_standard.debug(' x_ccid :'|| x_ccid );
9592: END IF;
9593: END;
9594:
9595: