DBA Data[Home] [Help]

APPS.ARP_ADJUSTMENTS_MAIN dependencies on STANDARD

Line 99: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Delete_Acct()+');

95: p_ae_event_rec IN ae_event_rec_type,
96: p_ae_deleted OUT NOCOPY BOOLEAN ) IS
97: BEGIN
98: IF PG_DEBUG in ('Y', 'C') THEN
99: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Delete_Acct()+');
100: END IF;
101:
102: /*----------------------------------------------------+
103: | Copy Document/Event Data to Global |

Line 116: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Delete_Acct()-');

112:
113: END IF;
114:
115: IF PG_DEBUG in ('Y', 'C') THEN
116: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Delete_Acct()-');
117: END IF;
118:
119: EXCEPTION
120: WHEN OTHERS THEN

Line 122: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Delete_Acct');

118:
119: EXCEPTION
120: WHEN OTHERS THEN
121: IF PG_DEBUG in ('Y', 'C') THEN
122: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Delete_Acct');
123: END IF;
124: RAISE;
125:
126: END Delete_Acct;

Line 163: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute()+');

159:
160:
161: BEGIN
162: IF PG_DEBUG in ('Y', 'C') THEN
163: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute()+');
164: END IF;
165: /*------------------------------------------------------+
166: | Initialize Accounting Entry Header and Lines |
167: +------------------------------------------------------*/

Line 215: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute()-');

211:
212: END IF;
213:
214: IF PG_DEBUG in ('Y', 'C') THEN
215: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute()-');
216: END IF;
217:
218: EXCEPTION
219: WHEN NO_DATA_FOUND THEN

Line 221: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute - NO_DATA_FOUND' );

217:
218: EXCEPTION
219: WHEN NO_DATA_FOUND THEN
220: IF PG_DEBUG in ('Y', 'C') THEN
221: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Execute - NO_DATA_FOUND' );
222: END IF;
223: RAISE;
224:
225: WHEN OTHERS THEN

Line 227: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Execute');

223: RAISE;
224:
225: WHEN OTHERS THEN
226: IF PG_DEBUG in ('Y', 'C') THEN
227: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Execute');
228: END IF;
229: RAISE;
230:
231: END Execute;

Line 244: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines()+');

240:
241: BEGIN
242:
243: IF PG_DEBUG in ('Y', 'C') THEN
244: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines()+');
245: END IF;
246:
247: g_ae_line_tbl := g_empty_ae_line_tbl;
248:

Line 250: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines()-');

246:
247: g_ae_line_tbl := g_empty_ae_line_tbl;
248:
249: IF PG_DEBUG in ('Y', 'C') THEN
250: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines()-');
251: END IF;
252: EXCEPTION
253:
254: WHEN OTHERS THEN

Line 256: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines');

252: EXCEPTION
253:
254: WHEN OTHERS THEN
255: IF PG_DEBUG in ('Y', 'C') THEN
256: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Init_Ae_Lines');
257: END IF;
258: RAISE;
259:
260: END Init_Ae_Lines;

Line 280: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry()+');

276: IS
277:
278: BEGIN
279: IF PG_DEBUG in ('Y', 'C') THEN
280: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry()+');
281: END IF;
282: /*------------------------------------------------------------+
283: | Create Accounting Entries at the Document Entity level. |
284: +------------------------------------------------------------*/

Line 314: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry()-');

310:
311: END IF; -- accounting_entity_level = ALL?
312:
313: IF PG_DEBUG in ('Y', 'C') THEN
314: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry()-');
315: END IF;
316:
317: EXCEPTION
318: WHEN OTHERS THEN

Line 320: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry');

316:
317: EXCEPTION
318: WHEN OTHERS THEN
319: IF PG_DEBUG in ('Y', 'C') THEN
320: arp_standard.debug( 'EXCEPTION: ARP_ADJUSTMENTS_MAIN.Derive_Accounting_Entry');
321: END IF;
322: RAISE;
323:
324: END Derive_Accounting_Entry;

Line 348: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ()+');

344: l_ar_dist_key_value_list gl_ca_utility_pkg.r_key_value_arr;
345:
346: BEGIN
347: IF PG_DEBUG in ('Y', 'C') THEN
348: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ()+');
349: END IF;
350:
351: /*-------------------------------------------------------------------+
352: | Verify that the source id is a valid candidate for deletion |

Line 390: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ()-');

386: -- p_key_value_list => l_ar_dist_key_value_list);
387: --}
388:
389: IF PG_DEBUG in ('Y', 'C') THEN
390: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ()-');
391: END IF;
392:
393: EXCEPTION
394: WHEN NO_DATA_FOUND THEN

Line 396: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ - NO_DATA_FOUND' );

392:
393: EXCEPTION
394: WHEN NO_DATA_FOUND THEN
395: IF PG_DEBUG in ('Y', 'C') THEN
396: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Delete_ADJ - NO_DATA_FOUND' );
397: END IF;
398: p_ae_deleted := FALSE;
399: RAISE;
400:

Line 403: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Delete_ADJ');

399: RAISE;
400:
401: WHEN OTHERS THEN
402: IF PG_DEBUG in ('Y', 'C') THEN
403: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Delete_ADJ');
404: END IF;
405: p_ae_deleted := FALSE;
406: RAISE ;
407:

Line 525: and ard.source_table = 'TH' --for Bills Receivable Standard/Factored

521: ar_adjustments adj
522: where g_ae_sys_rec.sob_type = 'P'
523: and adj.adjustment_id = g_ae_doc_rec.source_id_old
524: and ard.source_id = adj.link_to_trx_hist_id
525: and ard.source_table = 'TH' --for Bills Receivable Standard/Factored
526: and nvl(ard.source_type_secondary,'X') NOT IN
527: ('ASSIGNMENT_RECONCILE','RECONCILE')
528: and nvl(g_ae_doc_rec.event,'NONE') <> 'RISK_UNELIMINATED'
529: order by 1 ;

Line 613: and ard.source_table = 'TH' --for Bills Receivable Standard/Factored

609: where g_ae_sys_rec.sob_type = 'R'
610: and g_ae_sys_rec.set_of_books_id = ard.set_of_books_id
611: and adj.adjustment_id = g_ae_doc_rec.source_id_old
612: and ard.source_id = adj.link_to_trx_hist_id
613: and ard.source_table = 'TH' --for Bills Receivable Standard/Factored
614: and nvl(ard.source_type_secondary,'X') NOT IN
615: ('ASSIGNMENT_RECONCILE','RECONCILE')
616: and nvl(g_ae_doc_rec.event,'NONE') <> 'RISK_UNELIMINATED'
617: order by 1 ;

Line 683: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments()+');

679: --}
680:
681: BEGIN
682:
683: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments()+');
684:
685: --Reverse all adjustment accounting
686: FOR l_ard_rec in get_old_ard LOOP
687:

Line 737: arp_standard.debug(' l_ard_rec.WHICH_BUCKET:'||l_ard_rec.WHICH_BUCKET);

733: Assign_Ael_Elements( p_ae_line_rec => l_ael_line_rec );
734:
735:
736: --{3377004
737: arp_standard.debug(' l_ard_rec.WHICH_BUCKET:'||l_ard_rec.WHICH_BUCKET);
738: arp_standard.debug(' l_ard_rec.ref_customer_trx_line_id:'||l_ard_rec.ref_customer_trx_line_id);
739: arp_standard.debug(' l_ard_rec.ref_line_id:'||l_ard_rec.ref_line_id);
740: IF l_ard_rec.WHICH_BUCKET = 'N' THEN
741: NULL;

Line 738: arp_standard.debug(' l_ard_rec.ref_customer_trx_line_id:'||l_ard_rec.ref_customer_trx_line_id);

734:
735:
736: --{3377004
737: arp_standard.debug(' l_ard_rec.WHICH_BUCKET:'||l_ard_rec.WHICH_BUCKET);
738: arp_standard.debug(' l_ard_rec.ref_customer_trx_line_id:'||l_ard_rec.ref_customer_trx_line_id);
739: arp_standard.debug(' l_ard_rec.ref_line_id:'||l_ard_rec.ref_line_id);
740: IF l_ard_rec.WHICH_BUCKET = 'N' THEN
741: NULL;
742: ELSIF l_ard_rec.WHICH_BUCKET = 'ADDCTL' THEN

Line 739: arp_standard.debug(' l_ard_rec.ref_line_id:'||l_ard_rec.ref_line_id);

735:
736: --{3377004
737: arp_standard.debug(' l_ard_rec.WHICH_BUCKET:'||l_ard_rec.WHICH_BUCKET);
738: arp_standard.debug(' l_ard_rec.ref_customer_trx_line_id:'||l_ard_rec.ref_customer_trx_line_id);
739: arp_standard.debug(' l_ard_rec.ref_line_id:'||l_ard_rec.ref_line_id);
740: IF l_ard_rec.WHICH_BUCKET = 'N' THEN
741: NULL;
742: ELSIF l_ard_rec.WHICH_BUCKET = 'ADDCTL' THEN
743:

Line 762: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||

758: l_ctl_rem_amt.acctd_amount_due_remaining(l_index) :=
759: NVL(l_ctl_rem_amt.acctd_amount_due_remaining(l_index),0)
760: + (NVL(l_ard_rec.acctd_amount_cr,0) - NVL(l_ard_rec.acctd_amount_dr,0));
761:
762: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
763: l_ctl_rem_amt.customer_trx_line_id(l_index));
764: arp_standard.debug('l_ctl_rem_amt.amount_due_remaining('||l_index||'):'||
765: l_ctl_rem_amt.amount_due_remaining(l_index));
766: arp_standard.debug('l_ctl_rem_amt.acctd_amount_due_remaining('||l_index||'):'||

Line 764: arp_standard.debug('l_ctl_rem_amt.amount_due_remaining('||l_index||'):'||

760: + (NVL(l_ard_rec.acctd_amount_cr,0) - NVL(l_ard_rec.acctd_amount_dr,0));
761:
762: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
763: l_ctl_rem_amt.customer_trx_line_id(l_index));
764: arp_standard.debug('l_ctl_rem_amt.amount_due_remaining('||l_index||'):'||
765: l_ctl_rem_amt.amount_due_remaining(l_index));
766: arp_standard.debug('l_ctl_rem_amt.acctd_amount_due_remaining('||l_index||'):'||
767: l_ctl_rem_amt.acctd_amount_due_remaining(l_index));
768:

Line 766: arp_standard.debug('l_ctl_rem_amt.acctd_amount_due_remaining('||l_index||'):'||

762: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
763: l_ctl_rem_amt.customer_trx_line_id(l_index));
764: arp_standard.debug('l_ctl_rem_amt.amount_due_remaining('||l_index||'):'||
765: l_ctl_rem_amt.amount_due_remaining(l_index));
766: arp_standard.debug('l_ctl_rem_amt.acctd_amount_due_remaining('||l_index||'):'||
767: l_ctl_rem_amt.acctd_amount_due_remaining(l_index));
768:
769: ELSIF l_ard_rec.WHICH_BUCKET = 'ADDCHRG' THEN
770:

Line 789: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||

785: l_ctl_rem_amt.chrg_acctd_amount_remaining(l_index) :=
786: NVL(l_ctl_rem_amt.chrg_acctd_amount_remaining(l_index),0)
787: + (NVL(l_ard_rec.acctd_amount_cr,0) - NVL(l_ard_rec.acctd_amount_dr,0));
788:
789: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
790: l_ctl_rem_amt.customer_trx_line_id(l_index));
791: arp_standard.debug('l_ctl_rem_amt.chrg_amount_remaining('||l_index||'):'||
792: l_ctl_rem_amt.chrg_amount_remaining(l_index));
793: arp_standard.debug('l_ctl_rem_amt.chrg_acctd_amount_remaining('||l_index||'):'||

Line 791: arp_standard.debug('l_ctl_rem_amt.chrg_amount_remaining('||l_index||'):'||

787: + (NVL(l_ard_rec.acctd_amount_cr,0) - NVL(l_ard_rec.acctd_amount_dr,0));
788:
789: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
790: l_ctl_rem_amt.customer_trx_line_id(l_index));
791: arp_standard.debug('l_ctl_rem_amt.chrg_amount_remaining('||l_index||'):'||
792: l_ctl_rem_amt.chrg_amount_remaining(l_index));
793: arp_standard.debug('l_ctl_rem_amt.chrg_acctd_amount_remaining('||l_index||'):'||
794: l_ctl_rem_amt.chrg_acctd_amount_remaining(l_index));
795:

Line 793: arp_standard.debug('l_ctl_rem_amt.chrg_acctd_amount_remaining('||l_index||'):'||

789: arp_standard.debug('l_ctl_rem_amt.customer_trx_line_id('||l_index||'):'||
790: l_ctl_rem_amt.customer_trx_line_id(l_index));
791: arp_standard.debug('l_ctl_rem_amt.chrg_amount_remaining('||l_index||'):'||
792: l_ctl_rem_amt.chrg_amount_remaining(l_index));
793: arp_standard.debug('l_ctl_rem_amt.chrg_acctd_amount_remaining('||l_index||'):'||
794: l_ctl_rem_amt.chrg_acctd_amount_remaining(l_index));
795:
796: END IF;
797: --}

Line 822: arp_standard.debug('Before call to Reconciliation routine');

818: |this routine will always attempt do a reversal, first reverse accounting then call |
819: |the reconciliation routine. Note the reversal of Reconciliation entries is left to |
820: |The Reconciliation routine below i.e. we do not reverse them in the above cursor. |
821: +-----------------------------------------------------------------------------------*/
822: arp_standard.debug('Before call to Reconciliation routine');
823:
824: FOR l_get_adj in get_adj_details LOOP --loop executes once only for adjustment
825:
826: /*-------------------------------------------------------------------------------+

Line 861: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments()-');

857: p_g_ae_ctr => g_ae_line_ctr );
858:
859: END LOOP; --get adjustment details
860:
861: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments()-');
862:
863: EXCEPTION
864: WHEN NO_DATA_FOUND THEN
865: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments - NO_DATA_FOUND' );

Line 865: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments - NO_DATA_FOUND' );

861: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments()-');
862:
863: EXCEPTION
864: WHEN NO_DATA_FOUND THEN
865: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments - NO_DATA_FOUND' );
866: RAISE;
867:
868: WHEN OTHERS THEN
869: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments');

Line 869: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments');

865: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments - NO_DATA_FOUND' );
866: RAISE;
867:
868: WHEN OTHERS THEN
869: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Reverse_Adjustments');
870: RAISE ;
871:
872: END Reverse_Adjustment;
873:

Line 909: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data()+');

905:
906: BEGIN
907:
908: IF PG_DEBUG in ('Y', 'C') THEN
909: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data()+');
910: END IF;
911:
912: IF p_level = 'ADJ' then
913:

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

1283: p_validation_level => NULL,
1284: x_return_status => l_return_status,
1285: x_msg_count => l_msg_count,
1286: x_msg_data => l_msg_data,
1287: p_internal_org_id => arp_standard.sysparm.org_id,
1288: p_legal_entity_id => l_le_id,
1289: p_transaction_date => p_adj_rec.apply_date,
1290: p_related_doc_date => NULL,
1291: p_adjusted_doc_date=> NULL,

Line 1320: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data - ' ||

1316:
1317: EXCEPTION
1318: WHEN NO_DATA_FOUND THEN
1319: IF PG_DEBUG in ('Y', 'C') THEN
1320: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data - ' ||
1321: 'ACT_TAX_NON_REC_CCID - '|| 'NO_DATA_FOUND' );
1322: END IF;
1323: NULL;
1324:

Line 1327: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.'||

1323: NULL;
1324:
1325: WHEN OTHERS THEN
1326: IF PG_DEBUG in ('Y', 'C') THEN
1327: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.'||
1328: 'Get_Doc_Entitity_Data - ACT_TAX_NON_REC_CCID ');
1329: END IF;
1330: RAISE ;
1331: END;

Line 1338: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data()-');

1334:
1335: END IF; --end if p_level = ADJ
1336:
1337: IF PG_DEBUG in ('Y', 'C') THEN
1338: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data()-');
1339: END IF;
1340:
1341: EXCEPTION
1342: WHEN NO_DATA_FOUND THEN

Line 1344: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data - NO_DATA_FOUND' );

1340:
1341: EXCEPTION
1342: WHEN NO_DATA_FOUND THEN
1343: IF PG_DEBUG in ('Y', 'C') THEN
1344: arp_standard.debug('ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data - NO_DATA_FOUND' );
1345: END IF;
1346: RAISE;
1347:
1348: WHEN OTHERS THEN

Line 1350: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data');

1346: RAISE;
1347:
1348: WHEN OTHERS THEN
1349: IF PG_DEBUG in ('Y', 'C') THEN
1350: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Get_Doc_Entitity_Data');
1351: END IF;
1352: RAISE ;
1353:
1354: END Get_Doc_Entitity_Data;

Line 1384: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common()+');

1380:
1381: BEGIN
1382:
1383: IF PG_DEBUG in ('Y', 'C') THEN
1384: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common()+');
1385: END IF;
1386:
1387: /*-------------------------------------------------------------+
1388: | Get Document Entitity specific data |

Line 1418: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common()-');

1414:
1415: END IF;
1416:
1417: IF PG_DEBUG in ('Y', 'C') THEN
1418: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common()-');
1419: END IF;
1420:
1421: EXCEPTION
1422: WHEN OTHERS THEN

Line 1424: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common');

1420:
1421: EXCEPTION
1422: WHEN OTHERS THEN
1423: IF PG_DEBUG in ('Y', 'C') THEN
1424: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Create_Ae_Lines_Common');
1425: END IF;
1426: RAISE;
1427:
1428: END Create_Ae_Lines_Common;

Line 1466: arp_standard.debug( 'Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ()+');

1462: l_actual_ccid ar_adjustments.code_combination_id%TYPE := null;
1463:
1464: BEGIN
1465: IF PG_DEBUG in ('Y', 'C') THEN
1466: arp_standard.debug( 'Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ()+');
1467: END IF;
1468:
1469: /*-------------------------------------------------------------+
1470: | Get exchange rate and third part info from Invoice adjusted |

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

1557: | Tax accounting routine is called. Note for Bills Receivable we only move |
1558: | deferred tax as there is no discount. |
1559: +---------------------------------------------------------------------------*/
1560: IF PG_DEBUG in ('Y', 'C') THEN
1561: arp_standard.debug('g_ae_doc_rec.deferred_tax ' || g_ae_doc_rec.deferred_tax);
1562: arp_standard.debug('p_cust_inv_rec.drawee_site_use_id '
1563: || p_cust_inv_rec.drawee_site_use_id);
1564: END IF;
1565:

Line 1562: arp_standard.debug('p_cust_inv_rec.drawee_site_use_id '

1558: | deferred tax as there is no discount. |
1559: +---------------------------------------------------------------------------*/
1560: IF PG_DEBUG in ('Y', 'C') THEN
1561: arp_standard.debug('g_ae_doc_rec.deferred_tax ' || g_ae_doc_rec.deferred_tax);
1562: arp_standard.debug('p_cust_inv_rec.drawee_site_use_id '
1563: || p_cust_inv_rec.drawee_site_use_id);
1564: END IF;
1565:
1566: IF (nvl(g_ae_doc_rec.deferred_tax,'Y') = 'Y') THEN

Line 1672: --because of standards and that the User Hook could override accounting

1668:
1669: FOR l_ctr IN l_ae_line_tbl.FIRST .. l_ae_line_tbl.LAST LOOP
1670:
1671: --It is necessary to populate the record and then call assign elements
1672: --because of standards and that the User Hook could override accounting
1673: --so need to populate this record (rather than direct table assignments)
1674:
1675: l_ael_line_rec := l_empty_ael_line_rec;
1676: l_ael_line_rec := l_ae_line_tbl(l_ctr);

Line 1690: arp_standard.debug('Processing Credit to Write Off for 0 amount adjustment ');

1686:
1687: ELSE --if adjustment is a zero amount adjustment then Credit the Write off account
1688:
1689: IF PG_DEBUG in ('Y', 'C') THEN
1690: arp_standard.debug('Processing Credit to Write Off for 0 amount adjustment ');
1691: END IF;
1692:
1693: --Substitute the balancing segment
1694: --Bugfix 1948917.

Line 1755: arp_standard.debug('Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ()-');

1751: p_g_ae_line_tbl => g_ae_line_tbl ,
1752: p_g_ae_ctr => g_ae_line_ctr );
1753:
1754: IF PG_DEBUG in ('Y', 'C') THEN
1755: arp_standard.debug('Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ()-');
1756: END IF;
1757:
1758: EXCEPTION
1759: WHEN ARP_ALLOCATION_PKG.invalid_allocation_base THEN

Line 1761: arp_standard.debug('Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ - invalid_rule_error');

1757:
1758: EXCEPTION
1759: WHEN ARP_ALLOCATION_PKG.invalid_allocation_base THEN
1760: IF PG_DEBUG in ('Y', 'C') THEN
1761: arp_standard.debug('Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ - invalid_rule_error');
1762: END IF;
1763: fnd_message.set_name('AR','AR_INVALID_ACTIVITY');
1764: RAISE;
1765:

Line 1768: arp_standard.debug('NO_DATA_FOUND' );

1764: RAISE;
1765:
1766: WHEN NO_DATA_FOUND THEN
1767: IF PG_DEBUG in ('Y', 'C') THEN
1768: arp_standard.debug('NO_DATA_FOUND' );
1769: END IF;
1770: RAISE;
1771:
1772: WHEN OTHERS THEN

Line 1774: arp_standard.debug('EXCEPTION: Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ');

1770: RAISE;
1771:
1772: WHEN OTHERS THEN
1773: IF PG_DEBUG in ('Y', 'C') THEN
1774: arp_standard.debug('EXCEPTION: Create_Ae_Lines_ADJ.Create_Ae_Lines_ADJ');
1775: END IF;
1776: RAISE;
1777:
1778: END Create_Ae_Lines_ADJ;

Line 1810: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements()+');

1806:
1807: BEGIN
1808:
1809: IF PG_DEBUG in ('Y', 'C') THEN
1810: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements()+');
1811: END IF;
1812:
1813: /*------------------------------------------------------+
1814: | Call Hook to Override Account |

Line 1893: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements()-');

1889: g_ae_line_tbl(g_ae_line_ctr).activity_bucket := p_ae_line_rec.activity_bucket;
1890: g_ae_line_tbl(g_ae_line_ctr).ref_dist_ccid := p_ae_line_rec.ref_dist_ccid;
1891:
1892: IF PG_DEBUG in ('Y', 'C') THEN
1893: arp_standard.debug( 'ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements()-');
1894: END IF;
1895:
1896: EXCEPTION
1897: WHEN OTHERS THEN

Line 1899: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements');

1895:
1896: EXCEPTION
1897: WHEN OTHERS THEN
1898: IF PG_DEBUG in ('Y', 'C') THEN
1899: arp_standard.debug('EXCEPTION: ARP_ADJUSTMENTS_MAIN.Assign_Ael_Elements');
1900: END IF;
1901: RAISE;
1902:
1903: END Assign_Ael_Elements;

Line 1913: arp_standard.debug('ctl_id_index+');

1909: IS
1910: result NUMBER;
1911: cnt NUMBER := 0;
1912: BEGIN
1913: arp_standard.debug('ctl_id_index+');
1914: result := -1;
1915: cnt := p_ctl_id_tab.COUNT;
1916: IF cnt > 0 THEN
1917: FOR i IN p_ctl_id_tab.FIRST .. p_ctl_id_tab.LAST LOOP

Line 1929: arp_standard.debug(' result index:'||result);

1925: END IF;
1926: IF result = -1 THEN
1927: result := cnt + 1;
1928: END IF;
1929: arp_standard.debug(' result index:'||result);
1930: arp_standard.debug('ctl_id_index-');
1931: RETURN result;
1932: END;
1933:

Line 1930: arp_standard.debug('ctl_id_index-');

1926: IF result = -1 THEN
1927: result := cnt + 1;
1928: END IF;
1929: arp_standard.debug(' result index:'||result);
1930: arp_standard.debug('ctl_id_index-');
1931: RETURN result;
1932: END;
1933:
1934: PROCEDURE init_rem_amt(x_rem_amt IN OUT NOCOPY ctl_rem_amt_type,