Skip to Content
0
Sep 04, 2009 at 01:55 PM

calculation of partial amount

130 Views

My problem is How the total amount of the invoice can be found and partial amout...and how to calucalte it

it is stated that enter will be there in BSEG-REBSG..but hwen i goto that table the DMBTR value is filled...

can anyone explain below part...

FI documents would be internally numbered. So, program to generate .txt file should provide for preventing invoices from being captured for more than the payable amount. For example, if amount credited to vendor is Euro 10,000 vide FI (and invoice verification in MM) document number 330000567. If partial amount of Euro 2000 has already been paid against this invoice, system should prevent user from entering this invoice with amount of more than Euro 8000 that is still payable.

Program should look for (field / table) REBZG / BSEG (Number of the Invoice the Transaction Belongs to) in vendor line items (posting key 31 & 25, 50). System populates this field with invoice number against which partial amount is paid or other adjustment (debit memo amount, for example) happens. Please remember that system does not update this field when entire invoice amount is settled in the last out going payment/other adjustment document.

Program should calculate balance amount to be paid based on:

1. Vendor credited & expense debited vide (posting key 31,32,34 -39) for given invoice number (Document type K0,K1,KI, Number range 34,11,12) MINUS

2. Partial payment/ other adjustments, as per REBZG / BSEG referred above, made against the invoice number entered.

Program should prevent entry for an amount that is more than the balance amount to be received (calculated as per points 1 and 2 above).

It follows that if the balance calculated is full amount of the invoice (i.e. partial payments have not been received or other adjustments not done), then program should allow entry for the full invoice amount. (This will be relevant in case of MRP invoices).

After once it validates..it will send a txt file ..with entries given...