I have studied the bug according to comment #5 and found the following conclusion:
When you create a SO with Invoice on : Shipped Quantities which means the invoicing will be completely handled by its related Procurement Orders.
Scenario 1:
There is one Procurement Order for each Sale order line and each Procurement Order will consist of a stock move. These stock moves are also attached to the main Picking order of the SO. Now when you make the Partial deliveries of the picking, the quantities get deducted from the move lines of the original picking where as these move lines are attached to the Procurement Orders.
Scenario 2:
When you create final invoice of the SO, due to the Invoice on: Shipped quantities policy, invoice lines are created using the Stock moves attached to its related Procurement order. That's why you get the quantities on invoice lines are the old quantities which are not done yet.
The same will occur if you change the UoM of the stock moves while making a partial delivery. It will create invoice lines based on the UoM of old stock moves only due to related Procurement Orders.
IMHO, the term "Shipped Quantities" is probably the cause of misunderstanding of the functional flow. Invoices and Invoice lines are dependent on Procurement orders when you select the same for "Invoice on".
I hope this helps. Can you notify us if you still find the problem?
Hello Aline,
I have studied the bug according to comment #5 and found the following conclusion:
When you create a SO with Invoice on : Shipped Quantities which means the invoicing will be completely handled by its related Procurement Orders.
Scenario 1:
There is one Procurement Order for each Sale order line and each Procurement Order will consist of a stock move. These stock moves are also attached to the main Picking order of the SO. Now when you make the Partial deliveries of the picking, the quantities get deducted from the move lines of the original picking where as these move lines are attached to the Procurement Orders.
Scenario 2:
When you create final invoice of the SO, due to the Invoice on: Shipped quantities policy, invoice lines are created using the Stock moves attached to its related Procurement order. That's why you get the quantities on invoice lines are the old quantities which are not done yet.
The same will occur if you change the UoM of the stock moves while making a partial delivery. It will create invoice lines based on the UoM of old stock moves only due to related Procurement Orders.
IMHO, the term "Shipped Quantities" is probably the cause of misunderstanding of the functional flow. Invoices and Invoice lines are dependent on Procurement orders when you select the same for "Invoice on".
I hope this helps. Can you notify us if you still find the problem?
Thanks,
Ujjvala