DBA Data[Home] [Help]

APPS.AP_PAY_INVOICE_PKG dependencies on AP_UTILITIES_PKG

Line 477: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(

473: ((P_currency_code <> P_base_currency_code) OR
474: (c_inv_currency_code <> P_base_currency_code))) then
475:
476: if (P_currency_code = P_base_currency_code) then
477: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(
478: P_amount, P_base_currency_code);
479: else
480: if (p_exchange_rate_type = 'User') then
481: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(

Line 481: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(

477: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(
478: P_amount, P_base_currency_code);
479: else
480: if (p_exchange_rate_type = 'User') then
481: P_payment_base_amount := ap_utilities_pkg.ap_round_currency(
482: (P_amount
483: *P_exchange_rate),P_base_currency_code);
484: else
485: If (p_exchange_rate is not null) then

Line 508: P_invoice_base_amount := ap_utilities_pkg.ap_round_currency(

504: P_amount);
505:
506: else
507: if (AI_exchange_rate_type = 'User') then
508: P_invoice_base_amount := ap_utilities_pkg.ap_round_currency(
509: ((P_amount / PS_payment_cross_rate)
510: *AI_exchange_rate),P_base_currency_code);
511: else
512: -- techinically an invoice cannot reach this point without an

Line 518: -- call to 'ap_utilities_pkg'

514: If (AI_exchange_rate is not null) then
515:
516: -- Bug fix: 969285
517: -- Commented the call to 'gl_currency_api' and added the
518: -- call to 'ap_utilities_pkg'
519:
520: P_invoice_base_amount:= ap_utilities_pkg.ap_round_currency
521: (((P_amount/PS_payment_cross_rate)* AI_exchange_rate),
522: P_base_currency_code);

Line 520: P_invoice_base_amount:= ap_utilities_pkg.ap_round_currency

516: -- Bug fix: 969285
517: -- Commented the call to 'gl_currency_api' and added the
518: -- call to 'ap_utilities_pkg'
519:
520: P_invoice_base_amount:= ap_utilities_pkg.ap_round_currency
521: (((P_amount/PS_payment_cross_rate)* AI_exchange_rate),
522: P_base_currency_code);
523:
524: /* P_invoice_base_amount :=

Line 579: ap_utilities_pkg.ap_round_currency(

575: -- Calculate the discount_loss
576: --
577: if (PS_gross_amount <> 0) then
578: P_discount_lost :=
579: ap_utilities_pkg.ap_round_currency(
580: (((P_amount + P_discount_taken)/PS_gross_amount *
581: PS_disc_amt_available) -
582: P_discount_taken), P_currency_code);
583: else