DBA Data[Home] [Help]

APPS.AR_LL_RCV_SUMMARY_PKG dependencies on ARP_STANDARD

Line 257: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',

253: and line.customer_trx_line_id = tax.link_to_cust_trx_line_id (+)
254: ;
255: exception
256: when others then
257: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',
258: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);
259: raise ;
260: end;
261: for lintax_row in c_lintax loop

Line 265: arp_standard.debug ('i='||to_char(iterator)||'.'|| 'THIS IS THE LAST. line_run_tot=' || line_run_tot);

261: for lintax_row in c_lintax loop
262:
263: -- Prorate the Line Amount
264: if iterator = line_count then
265: arp_standard.debug ('i='||to_char(iterator)||'.'|| 'THIS IS THE LAST. line_run_tot=' || line_run_tot);
266: line_2b_applied := nvl(x_lin,0) - line_run_tot;
267: tax_2b_applied := nvl(x_tax,0) - tax_run_tot;
268:
269: -- Added Dec 7, 2005 - Bug 4775656. Discounts are not getting saved from Summary

Line 275: arp_standard.debug ('i='||to_char(iterator)||'.'||

271: taxdsc_2b_applied := nvl(x_tax_dsc,0) - taxdsc_run_tot;
272: -- End of additions for bug 4775656
273: else -- If the adr on the invoice is zero, then
274: if all_linrem_tot > 0 then
275: arp_standard.debug ('i='||to_char(iterator)||'.'||
276: 'NOT LAST, all_linrem_tot<>0. line_run_tot=' || line_run_tot
277: || '. all_linorig_tot=' || all_linorig_tot);
278: --line_2b_applied := arpcurr.currRound(lintax_row.line_rem * nvl(x_lin,0) / all_linrem_tot);
279: x_run_line_amt := x_run_line_amt + lintax_row.line_rem;

Line 283: arp_standard.debug ('i='||to_char(iterator)||'.'||

279: x_run_line_amt := x_run_line_amt + lintax_row.line_rem;
280: line_2b_applied := arpcurr.currRound(x_run_line_amt * nvl(x_lin,0) / all_linrem_tot) - line_run_tot;
281: else -- Overappl (all_linrem_tot < 0) should be done at the UI level,
282: -- so this means all_linrem_tot = 0
283: arp_standard.debug ('i='||to_char(iterator)||'.'||
284: 'NOT LAST, all_linrem_tot=0. line_run_tot=' || line_run_tot
285: || '. all_linorig_tot=' || all_linorig_tot);
286: if all_linorig_tot <> 0 then
287: --line_2b_applied := arpcurr.currRound(lintax_row.line_orig * nvl(x_lin,0) / all_linorig_tot);

Line 332: arp_standard.debug ('i='||to_char(iterator)||'.'||

328: end if;
329:
330: -- Calculate the Allocated Receipt Amount for the line
331: cross_currency_2b_applied := arp_util.currRound((line_2b_applied+tax_2b_applied) * nvl(x_inv_to_rct_rate,1), x_rct_curr_code);
332: arp_standard.debug ('i='||to_char(iterator)||'.'||
333: 'line_amount='||to_char(line_2b_applied)||'.'||
334: 'tax_amount='||to_char(tax_2b_applied)||'.'||
335: 'alloc_rct_amt='||to_char(cross_currency_2b_applied)||'.'
336: , 'plsql',

Line 512: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',

508: and nvl(line.frt_adj_remaining,0) <> 0))
509: ;
510: exception
511: when others then
512: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',
513: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);
514: raise ;
515: end;
516: for frt_row in c_frt loop

Line 538: arp_standard.debug ('i='||to_char(iterator)||'.'||

534: frtdsc_2b_applied := arpcurr.currRound(x_frt_dsc * nvl(frt_2b_applied,0) / nvl(x_frt,0) );
535: else
536: frtdsc_2b_applied := 0;
537: end if;
538: arp_standard.debug ('i='||to_char(iterator)||'.'||
539: 'frt_amount='||to_char(frt_2b_applied)||'.'||
540: 'frt_discount='||to_char(frtdsc_2b_applied)||'.'
541: , 'plsql',
542: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);

Line 550: arp_standard.debug ('i='||to_char(iterator)||'.'||

546: FROM DUAL;
547:
548: -- Calculate the Allocated Receipt Amount for the line
549: cross_currency_2b_applied := arp_util.currRound((frt_2b_applied) * nvl(x_inv_to_rct_rate,1), x_rct_curr_code);
550: arp_standard.debug ('i='||to_char(iterator)||'.'||
551: 'frt_amount='||to_char(frt_2b_applied)||'.'||
552: 'alloc_rct_amt='||to_char(cross_currency_2b_applied)||'.'
553: , 'plsql',
554: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);

Line 719: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',

715: and nvl(line.chrg_amount_remaining,0) <> 0))
716: ;
717: exception
718: when others then
719: arp_standard.debug ('Error in calcuating the total of all rows', 'plsql',
720: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);
721: raise ;
722: end;
723: for chg_row in c_chg loop

Line 738: arp_standard.debug ('i='||to_char(iterator)||'.'||

734: chg_2b_applied := 0;
735: end if;
736: end if;
737: end if;
738: arp_standard.debug ('i='||to_char(iterator)||'.'||
739: 'chg_amount='||to_char(chg_2b_applied)||'.'
740: , 'plsql',
741: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);
742:

Line 751: arp_standard.debug ('i='||to_char(iterator)||'.'||

747:
748: -- Calculate the Allocated Receipt Amount for the line
749: cross_currency_2b_applied := arp_util.currRound((chg_2b_applied) *
750: nvl(x_inv_to_rct_rate,1), x_rct_curr_code);
751: arp_standard.debug ('i='||to_char(iterator)||'.'||
752: 'chg_amount='||to_char(chg_2b_applied)||'.'||
753: 'alloc_rct_amt='||to_char(cross_currency_2b_applied)||'.'
754: , 'plsql',
755: 'AR_LL_RCV_SUMMARY_PKG.INSERT_ROW', 1);