DBA Data[Home] [Help]

APPS.AP_GET_SUPPLIER_BALANCE_PKG dependencies on AP_UTILITIES_PKG

Line 180: IF AP_UTILITIES_PKG.ap_round_currency

176: AND AI.invoice_id = inv_rec.invoice_id
177: AND trunc(AIP.accounting_date) <= trunc(p_as_of_date);
178:
179: -- if invoice is open
180: IF AP_UTILITIES_PKG.ap_round_currency
181: ((l_invoice_amount
182: - ((l_payment_amount + l_discount_taken) / NVL(l_payment_cross_rate, 1))
183: ), l_invoice_currency_code) <> 0
184: THEN

Line 202: l_amount_remaining := ap_utilities_pkg.ap_round_currency

198: END;
199: END LOOP;
200:
201: --calculate amount remaining by also considering future available discounts
202: l_amount_remaining := ap_utilities_pkg.ap_round_currency
203: ((l_invoice_amount
204: - ((l_payment_amount + inv_rec.discount_taken+l_discount_avail)/
205: nvl(inv_rec.payment_cross_rate,1))
206: ) ,inv_rec.invoice_currency_code);