Hi,
It is possible with code to apply a Payment against different customer Ledger entries?
For exemple:
Invoice Customer N°1 = 500$
Invoice Customer N°2 = 1000$
I receipt a payment by other customer, he's a third party payer.
Payment Customer N°3 = 1500$
When I enter the payment, i use customer N°3 because i have modifed the code for Apply ID between invoice to the Customers N°1 et Customer N°2.
When I validate, a specific code genere entries automatically on customers. The balance is good.
So, my problem is the customer Ledger entries be "Open" or this entries must be close because the payment is OK.
Thanks for your help
0
Comments
http://ssdynamics.co.in
I can't use Field "bill to customer" beacause invoices must be really pass to "sell to customer".
So the responsibility is with you only.
Can you spell the exact nature of requirement? I think the real problem lies there and modification to NAV the way you have done should be avoided.
http://ssdynamics.co.in
You have made a code change that you should not have made, so who else would the responsibility be with?
The correct way to do this is to journal the amounts between customers.