DBA Data[Home] [Help]

APPS.AP_MATCHING_UTILS_PKG dependencies on AP_UTILITIES_PKG

Line 1909: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity*l_match_unit_price,

1905: l_match_quantity := l_total_match_quantity;
1906:
1907: END IF;
1908:
1909: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity*l_match_unit_price,
1910: l_invoice_currency_code);
1911:
1912: l_total_match_quantity := l_total_match_quantity - l_match_quantity;
1913: l_total_match_amount := l_total_match_amount - l_match_amount;

Line 2051: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2047: IF ((l_ordered_qty - l_cancelled_qty - l_billed_qty) > 0) THEN
2048:
2049: IF (l_total_match_quantity >= (l_ordered_qty - l_cancelled_qty - l_billed_qty)) THEN
2050: l_match_quantity := l_ordered_qty - l_cancelled_qty - l_billed_qty;
2051: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2052: ELSE
2053: l_match_quantity := l_total_match_quantity;
2054: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2055: END IF;

Line 2054: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2050: l_match_quantity := l_ordered_qty - l_cancelled_qty - l_billed_qty;
2051: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2052: ELSE
2053: l_match_quantity := l_total_match_quantity;
2054: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2055: END IF;
2056:
2057: /* For overbill cases, for positive invoices we go off of ordered qty*/
2058: ELSE

Line 2062: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2058: ELSE
2059:
2060: IF (l_total_match_quantity >= l_ordered_qty - l_cancelled_qty) THEN
2061: l_match_quantity := l_ordered_qty - l_cancelled_qty;
2062: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2063: ELSE
2064: l_match_quantity := l_total_match_quantity;
2065: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2066: END IF;

Line 2065: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2061: l_match_quantity := l_ordered_qty - l_cancelled_qty;
2062: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2063: ELSE
2064: l_match_quantity := l_total_match_quantity;
2065: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2066: END IF;
2067:
2068: END IF;
2069:

Line 2074: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2070: ELSE /*For Credit/Debit memos */
2071:
2072: IF (l_total_match_quantity >= l_billed_qty) THEN
2073: l_match_quantity := -1*l_billed_qty;
2074: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2075: ELSE
2076: l_match_quantity := l_total_match_quantity;
2077: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2078: END IF;

Line 2077: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);

2073: l_match_quantity := -1*l_billed_qty;
2074: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2075: ELSE
2076: l_match_quantity := l_total_match_quantity;
2077: l_match_amount := ap_utilities_pkg.ap_round_currency(l_match_quantity * l_match_unit_price,l_invoice_currency_code);
2078: END IF;
2079:
2080: END IF;
2081: