RE: Mark advance Payment against sales order not working fine with partial invoices
Hello Ludwig Reinhard
In our case we don't know the amount of the invoices it always be according to the customer need all what we know is the sales order amount and according to it we create advance payment amount = sales order amount and Mark both together.
Example :
1- Create Sales order = 10,000
2 Create Advance payment = 10,000
3- Mark Advance payment against Sales order .
4- Create Invoice1 = 2,000 (System settle the invoice automatically correctly and everything is ok).
5- Create Invoice2 = 3,000 (Invoice Keep open and the remain amount of the advance also open 8,000)
6- Create Invoice3 = 5,000 (Invoice Keep open and the remain amount of the advance also open 8,000)
At the end we will have in the customer open transactions 2 invoices (invoice2,Invoice3) and the remain of the advance (8,000).
we expect from the system if we mark a sales order against an advance system will settle all the invoices(Not only the first invoice) related to this order against the advance till the amount of the advance to be settle reach zero, but this is not happened system is only settle first invoice after that the mark between the order in spectrans table removed and we need to mark it again before creating the invoices or settle the invoice if it already created.