DBA Data[Home] [Help]

APPS.AR_PREPAYMENTS dependencies on AR_AUTOREC_API

Line 1678: Bug 10250730. Included call to AR_AUTOREC_API.Get_Invoice_Bal_After_Disc() function to get the Invoice Due amount after deducting Discount component.

1674: EXIT;
1675: END IF;
1676:
1677: /*
1678: Bug 10250730. Included call to AR_AUTOREC_API.Get_Invoice_Bal_After_Disc() function to get the Invoice Due amount after deducting Discount component.
1679: This amount is to be used while applying Prepayment Receipt to Invoice so that the Earned Discount gets populated with Discount amount in the Receipts form.
1680: */
1681:
1682: l_amount_to_be_applied := AR_AUTOREC_API.Get_Invoice_Bal_After_Disc(p_applied_payment_schedule_id => l_ps_rec.payment_schedule_id,

Line 1682: l_amount_to_be_applied := AR_AUTOREC_API.Get_Invoice_Bal_After_Disc(p_applied_payment_schedule_id => l_ps_rec.payment_schedule_id,

1678: Bug 10250730. Included call to AR_AUTOREC_API.Get_Invoice_Bal_After_Disc() function to get the Invoice Due amount after deducting Discount component.
1679: This amount is to be used while applying Prepayment Receipt to Invoice so that the Earned Discount gets populated with Discount amount in the Receipts form.
1680: */
1681:
1682: l_amount_to_be_applied := AR_AUTOREC_API.Get_Invoice_Bal_After_Disc(p_applied_payment_schedule_id => l_ps_rec.payment_schedule_id,
1683: p_apply_date => prepayapp_rec.apply_date);
1684:
1685:
1686: IF NVL(l_amount_to_be_applied,0) < NVL(prepayapp_rec.amount_applied,0)