I created a sales scenario for 10 quantities (Invoice Number 100000) and i need to do the return sales based on invoice.
I created a return sales order 5 quantity, have done PGR and Return invoice also (Invoice number 200000) which is worked properly. after that our end user again created a return sales order for 10 quantity and have done the PGR and return invoice also. (Invoice Number 200001).
In fact my issue is that i created a invoice for 10 quantity and have done 2 return invoices for 15 quantity. i need a solution in this way that return invoice should not be created if exceeding the PGI quantity of the actual invoice.