DBA Data[Home] [Help]

APPS.AP_INVOICE_CORRECTIONS_PKG dependencies on AP_UTILITIES_PKG

Line 172: l_line_base_amount := ap_utilities_pkg.ap_round_currency(x_correction_amount*g_exchange_rate,

168:
169: l_debug_info := 'Call Get_Proration_Info to get
170: distribution proration info';
171:
172: l_line_base_amount := ap_utilities_pkg.ap_round_currency(x_correction_amount*g_exchange_rate,
173: g_base_currency_code);
174:
175: -- Bug 5597409
176: l_debug_info := 'Get Line Included Tax Amount';

Line 357: g_period_name := AP_UTILITIES_PKG.get_current_gl_date(g_accounting_date,

353: l_debug_info := 'select period for accounting date';
354:
355: --Get_current_gl_date will return NULL if the date passed to it doesn't fall in a
356: --open period.
357: g_period_name := AP_UTILITIES_PKG.get_current_gl_date(g_accounting_date,
358: g_org_id);
359:
360: IF (g_period_name IS NULL) THEN
361:

Line 363: ap_utilities_pkg.get_open_gl_date(p_date => g_accounting_date,

359:
360: IF (g_period_name IS NULL) THEN
361:
362: --Get gl_period and Date from a future period for the accounting date
363: ap_utilities_pkg.get_open_gl_date(p_date => g_accounting_date,
364: p_period_name => g_period_name,
365: p_gl_date => g_accounting_date);
366:
367: IF (g_accounting_date IS NULL) THEN

Line 523: l_total_base_amount := ap_utilities_pkg.ap_round_currency(

519:
520:
521: IF (g_exchange_rate IS NOT NULL) THEN
522:
523: l_total_base_amount := ap_utilities_pkg.ap_round_currency(
524: x_correction_amount*g_exchange_rate,
525: g_base_currency_code);
526:
527: FOR i in nvl(x_line_tab.first,0) .. nvl(x_line_tab.last,0) LOOP

Line 531: l_base_amount := ap_utilities_pkg.ap_round_currency(

527: FOR i in nvl(x_line_tab.first,0) .. nvl(x_line_tab.last,0) LOOP
528:
529: IF (x_line_tab.exists(i)) THEN
530:
531: l_base_amount := ap_utilities_pkg.ap_round_currency(
532: x_line_tab(i).line_amount*g_exchange_rate,
533: g_base_currency_code);
534: x_line_tab(i).base_amount := l_base_amount;
535:

Line 698: l_base_amount := ap_utilities_pkg.ap_round_currency(

694: FOR i in nvl(x_dist_tab.first,0) .. nvl(x_dist_tab.last,0) LOOP
695:
696: IF (x_dist_tab.exists(i)) THEN
697:
698: l_base_amount := ap_utilities_pkg.ap_round_currency(
699: x_dist_tab(i).amount*g_exchange_rate,
700: g_base_currency_code);
701:
702: x_dist_tab(i).base_amount := l_base_amount ;

Line 1548: ap_utilities_pkg.ap_round_currency(

1544: NULL, --parent_reversal_id
1545: 'N', --cancellation_flag
1546: aid.income_tax_region, --income_tax_region
1547: aid.type_1099, --type_1099
1548: ap_utilities_pkg.ap_round_currency(
1549: (x_dist_tab(i).amount * aid.stat_amount)/aid.amount,
1550: 'STAT'), --stat_amount
1551: NULL, --charge_applicable_to_dist_id
1552: NULL, --prepay_amount_remaining