How to Posting Multiple Payments to Multiple Invoices – FIFO Method
Example Data as below :
[pre]
[/pre]
Please provide the excel template
Example Data as below :
[pre]
Code:
Open/ Oustanding/Pending Invoices Details
Account InvoiceNo Invoice_Date Invoice_Amt
6524001 1654321 01-Jan-13 6,589.00
6524001 1654350 01-Feb-13 6,548.00
6524001 1654377 01-Mar-13 3,562.00
6524001 1654410 01-Apr-13 6,524.00
6524001 1654443 01-May-13 5,124.00
7521436 1654355 01-Feb-13 3,256.00
7521436 1654388 01-Mar-13 6,589.00
7521436 1654421 01-Apr-13 5,874.00
7521436 1654454 01-May-13 5,984.00
5487541 1654366 01-Feb-13 9,542.00
5487541 1654399 01-Mar-13 7,542.00
5487541 1654432 01-Apr-13 6,325.00
5487541 1654465 01-May-13 3,562.00
Payment Received Details
Account Recvd_Amt Chq_No Chq_Dtd
6524001 20,005.20 002546 05-May-13
7521436 15,745.60 652114 05-May-13
5487541 18,000.00 065214 05-May-13
I want the Result as below.
Account Invoice no Invoice_Date Invoice_Amt Amt to be Posted
6524001 1654321 01-Jan-13 6,589.00 6,589.00
6524001 1654350 01-Feb-13 6,548.00 6,548.00
6524001 1654377 01-Mar-13 3,562.00 3,562.00
6524001 1654410 01-Apr-13 6,524.00 3,306.20
6524001 1654443 01-May-13 5,124.00 -
7521436 1654355 01-Feb-13 3,256.00 3,256.00
7521436 1654388 01-Mar-13 6,589.00 6,589.00
7521436 1654421 01-Apr-13 5,874.00 5,874.00
7521436 1654454 01-May-13 5,984.00 26.60
5487541 1654366 01-Feb-13 9,542.00 9,542.00
5487541 1654399 01-Mar-13 7,542.00 7,542.00
5487541 1654432 01-Apr-13 6,325.00 916.00
5487541 1654465 01-May-13 3,562.00 -
Please provide the excel template