DBA Data[Home] [Help]

APPS.ARP_CREDIT_MEMO_MODULE dependencies on ARP_UTIL

Line 318: arp_util.disable_debug;

314: END;
315: --
316: PROCEDURE disable_debug IS
317: BEGIN
318: arp_util.disable_debug;
319: END;
320: --
321: PROCEDURE print_fcn_label( p_label VARCHAR2 ) IS
322: BEGIN

Line 333: arp_util.close_cursor( p_cursor_handle );

329: END;
330: --
331: PROCEDURE close_cursor( p_cursor_handle IN OUT NOCOPY INTEGER ) IS
332: BEGIN
333: arp_util.close_cursor( p_cursor_handle );
334: END;
335:
336:
337: ----------------------------------------------------------------------------

Line 3481: IF( arp_util.is_gl_date_valid( p_gl_date,

3477: -- For inserts only
3478: ------------------------------------------------------------------------
3479: /* Bug 3477990 */
3480:
3481: IF( arp_util.is_gl_date_valid( p_gl_date,
3482: p_allow_not_open_flag ) ) THEN
3483:
3484: --------------------------------------------------------------------
3485: -- p_gl_date is good, use it

Line 3506: l_result_flag := arp_util.validate_and_default_gl_date(

3502: FROM ra_customer_trx ct, ra_customer_trx_lines ctl
3503: WHERE ct.customer_trx_id = ctl.customer_trx_id
3504: AND ctl.customer_trx_line_id = p_line_id;
3505:
3506: l_result_flag := arp_util.validate_and_default_gl_date(
3507: p_gl_date,
3508: NULL,
3509: NULL,
3510: NULL,

Line 3949: arp_util.CurrRound( l_prorate_total_amount *

3945: -- Compute amount to credit and round
3946: -------------------------------------------------------------
3947: /***********
3948: l_period_cm_amount :=
3949: arp_util.CurrRound( l_prorate_total_amount *
3950: (get_net_rev_amount(i) /
3951: l_inv_line_amt_remaining),
3952: p_select_rec.currency_code );
3953: ***********/

Line 4244: arp_util.CurrRound( p_select_rec.cm_quantity *

4240: SIGN( get_net_rev_amount(i) ) <>
4241: SIGN(p_select_rec.invoice_sign) ) ) THEN
4242:
4243: l_period_cm_amount :=
4244: arp_util.CurrRound( p_select_rec.cm_quantity *
4245: get_net_rev_unit(i),
4246: p_select_rec.currency_code );
4247:
4248: -------------------------------------------------------------

Line 4287: arp_util.CurrRound( l_period_cm_amount *

4283:
4284: IF( l_last_period_ratio <> 0 ) THEN
4285:
4286: l_period_cm_amount :=
4287: arp_util.CurrRound( l_period_cm_amount *
4288: l_last_period_ratio,
4289: p_select_rec.currency_code );
4290:
4291: END IF;

Line 4506: IF ABS(arp_util.CurrRound(p_select_rec.inv_unit_price,p_select_rec.currency_code)) -

4502: /* 14309745 - Added round (6), as reported in the bug CM unit price -83.45333333333333333333333333334
4503: is compared against invoice unit price 83.45333333333333333333333333333333
4504: Also, in some places unit price is rounded to minimum accountable unit which has a max value of 6 */
4505:
4506: IF ABS(arp_util.CurrRound(p_select_rec.inv_unit_price,p_select_rec.currency_code)) -
4507: ABS(arp_util.CurrRound(p_select_rec.cm_unit_price,p_select_rec.currency_code)) < 0
4508: THEN
4509: debug( ' raising cm_unit_overapp, ' ||
4510: p_select_rec.inv_unit_price || ' vs ' ||

Line 4507: ABS(arp_util.CurrRound(p_select_rec.cm_unit_price,p_select_rec.currency_code)) < 0

4503: is compared against invoice unit price 83.45333333333333333333333333333333
4504: Also, in some places unit price is rounded to minimum accountable unit which has a max value of 6 */
4505:
4506: IF ABS(arp_util.CurrRound(p_select_rec.inv_unit_price,p_select_rec.currency_code)) -
4507: ABS(arp_util.CurrRound(p_select_rec.cm_unit_price,p_select_rec.currency_code)) < 0
4508: THEN
4509: debug( ' raising cm_unit_overapp, ' ||
4510: p_select_rec.inv_unit_price || ' vs ' ||
4511: p_select_rec.cm_unit_price, MSG_LEVEL_DEBUG );

Line 4708: l_cm_amt_remaining := ARP_UTIL.CURRROUND(

4704: debug('p_elect_rec.prev_cust_trx_line_id: '||p_select_rec.prev_cust_trx_line_id);
4705: debug('g_session_id: '||g_session_id);
4706: debug('l_prev_line_tot_rev_amt: '||l_prev_line_tot_rev_amt);
4707:
4708: l_cm_amt_remaining := ARP_UTIL.CURRROUND(
4709: p_select_rec.cm_amount * (l_prev_line_tot_rev_amt
4710: / (p_select_rec.invoice_quantity * p_select_rec.inv_unit_price)),
4711: p_select_rec.currency_code);
4712: