DBA Data[Home] [Help]

APPS.AP_PREPAY_PKG dependencies on AP_UTILITIES_PKG

Line 1806: l_apply_amount := AP_Utilities_PKG.AP_Round_Currency (

1802: ' with standard invoice currency code '||l_std_inv_curr_code;
1803: IF (G_LEVEL_STATEMENT >= G_CURRENT_RUNTIME_LEVEL) THEN
1804: FND_LOG.STRING(G_LEVEL_STATEMENT,G_MODULE_NAME||l_api_name,l_debug_info);
1805: END IF;
1806: l_apply_amount := AP_Utilities_PKG.AP_Round_Currency (
1807: l_apply_amount,
1808: l_std_inv_curr_code);
1809: /*Bug 14213367:Start */
1810: l_debug_info := 'l_apply_amount: '||l_apply_amount;

Line 1838: l_prepay_ln_base_amount := AP_Utilities_PKG.AP_Round_Currency(

1834:
1835: IF (l_std_inv_curr_code <> l_base_currency_code) THEN
1836:
1837: IF l_std_inv_xrate_type = 'User' THEN
1838: l_prepay_ln_base_amount := AP_Utilities_PKG.AP_Round_Currency(
1839: l_apply_amount* l_std_inv_xrate,
1840: l_base_currency_code);
1841: ELSE
1842: /*Bug 14592297:Start*/

Line 2229: AP_Utilities_PKG.AP_Round_Currency (

2225: -- amount remaining wihtout tax as well.
2226: IF (l_inclusive_tax_amount <> 0) THEN
2227: -- Tax amount is included in PREPAY line amount
2228: l_prepay_dist_info(l_loop_counter).PREPAY_APPLY_AMOUNT :=
2229: AP_Utilities_PKG.AP_Round_Currency (
2230: (l_prepay_dist_info(l_loop_counter).PPAY_AMOUNT_REMAINING/
2231: l_ppay_ln_amt_remaining_no_tax) * l_apply_amount_no_tax_incl
2232: , l_std_inv_curr_code); -- 7834255
2233: ELSE

Line 2238: AP_Utilities_PKG.AP_Round_Currency (

2234:
2235: -- Tax amount is not included in PREPAY line amount
2236: -- this is an exclusive case or inclusive with tax amount as 0
2237: l_prepay_dist_info(l_loop_counter).PREPAY_APPLY_AMOUNT :=
2238: AP_Utilities_PKG.AP_Round_Currency (
2239: (l_prepay_dist_info(l_loop_counter).PPAY_AMOUNT_REMAINING/
2240: l_ppay_ln_amount_remaining) *
2241: l_apply_amount
2242: , l_std_inv_curr_code); -- 7834255

Line 2355: AP_Utilities_PKG.AP_Round_Currency (

2351: --the Prepay dists as well as tax tied to those distributions will
2352: --be part of the same ITEM line on the Standard invoice which is recouping.
2353:
2354: l_prepay_dist_info(l_loop_counter).PREPAY_APPLY_AMOUNT :=
2355: AP_Utilities_PKG.AP_Round_Currency (
2356: (l_prepay_dist_info(l_loop_counter).PPAY_AMOUNT_REMAINING/
2357: l_ppay_ln_amount_remaining) *
2358: l_apply_amount
2359: , l_std_inv_curr_code); -- 7834255

Line 2442: AP_Utilities_PKG.AP_Round_Currency(

2438:
2439: IF (l_std_inv_curr_code <> l_base_currency_code) THEN
2440: IF l_std_inv_xrate_type = 'User' THEN
2441: l_prepay_dist_info(l_loop_variable).PREPAY_BASE_AMOUNT :=
2442: AP_Utilities_PKG.AP_Round_Currency(
2443: l_prepay_dist_info(l_loop_variable).PREPAY_APPLY_AMOUNT *
2444: l_std_inv_xrate,
2445: l_base_currency_code);
2446: ELSE

Line 2476: AP_Utilities_PKG.AP_Round_Currency(

2472:
2473: -- Get the Base Amount at the Prepayment Invoice Exchange Rate
2474: IF l_ppay_inv_xrate_type = 'User' THEN
2475: l_prepay_dist_info(l_loop_variable).PREPAY_BASE_AMT_PPAY_XRATE :=
2476: AP_Utilities_PKG.AP_Round_Currency(
2477: l_prepay_dist_info(l_loop_variable).PREPAY_APPLY_AMOUNT *
2478: l_ppay_inv_xrate,
2479: l_base_currency_code);
2480: ELSE

Line 2510: AP_Utilities_PKG.AP_Round_Currency(

2506:
2507: -- Get the Base Amount at the Prepayment Payment Exchange Rate
2508: IF l_ppay_pay_xrate_type = 'User' THEN
2509: l_prepay_dist_info(l_loop_variable).PREPAY_BASE_AMT_PPAY_PAY_XRATE :=
2510: AP_Utilities_PKG.AP_Round_Currency(
2511: l_prepay_dist_info(l_loop_variable).PREPAY_APPLY_AMOUNT *
2512: l_ppay_pay_xrate,
2513: l_base_currency_code);
2514: ELSE

Line 2757: l_prepay_ln_base_amount := AP_Utilities_PKG.AP_Round_Currency(

2753: 'difference amount';
2754:
2755: IF (l_std_inv_curr_code <> l_base_currency_code) THEN
2756: IF l_std_inv_xrate_type = 'User' THEN
2757: l_prepay_ln_base_amount := AP_Utilities_PKG.AP_Round_Currency(
2758: l_apply_amount* l_std_inv_xrate,
2759: l_base_currency_code);
2760: ELSE
2761: /*Bug 14592297:Start*/

Line 4528: ap_utilities_pkg.ap_round_currency(

4524: END IF;
4525:
4526: UPDATE ap_payment_schedules
4527: SET amount_remaining = amount_remaining -
4528: ap_utilities_pkg.ap_round_currency(
4529: l_apply_amount_remaining,
4530: p_payment_currency_code),
4531: payment_status_flag =
4532: DECODE(amount_remaining -

Line 4533: ap_utilities_pkg.ap_round_currency(

4529: l_apply_amount_remaining,
4530: p_payment_currency_code),
4531: payment_status_flag =
4532: DECODE(amount_remaining -
4533: ap_utilities_pkg.ap_round_currency(
4534: l_apply_amount_remaining,
4535: p_payment_currency_code),
4536: 0,'Y',
4537: /*Bug10012482:Taking AWT amounts into account*/

Line 4579: ap_utilities_pkg.ap_round_currency(

4575: END IF;
4576:
4577: UPDATE ap_payment_schedules
4578: SET amount_remaining = (amount_remaining -
4579: ap_utilities_pkg.ap_round_currency(
4580: l_apply_amount_remaining,
4581: p_payment_currency_code)),
4582: payment_status_flag =
4583: DECODE(amount_remaining -

Line 4584: ap_utilities_pkg.ap_round_currency(

4580: l_apply_amount_remaining,
4581: p_payment_currency_code)),
4582: payment_status_flag =
4583: DECODE(amount_remaining -
4584: ap_utilities_pkg.ap_round_currency(
4585: l_apply_amount_remaining,
4586: p_payment_currency_code),
4587: 0,'Y',
4588: /*Bug10012482:Taking AWT amounts into account*/