You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Ankit-Joshi11 (via GitHub)" <gi...@apache.org> on 2026/10/09 11:20:08 UTC
[PR] Fixed: unitPrice mis-match with which order is created vs on which inventory is received while completing the Purchase Orders (OFBIZ-7165) [ofbiz-framework]
Ankit-Joshi11 opened a new pull request, #2259:
URL: https://github.com/apache/ofbiz-framework/pull/2259
Fixed: the scenario where Create Invoice workflow was ignoring the possibilities of unitPrice variations while receiving the inventory and hence always creating the Invoice on OrderItem.unitPrice (OFBIZ-7165)
In createInvoiceForOrder workflow, the logic has been added specifically for Purchase Invoices to validate and consider if Shipment is Received, if yes then refer/utilize inventoryItem.unitPrice rather than orderItem.unitPrice to create the Invoice.
With this, the reported scenario where the unitPrice could change while receiving as compare to Ordered Price will be covered and Invoicing will be processed on the updated price.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ofbiz.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org