[
https://issues.apache.org/jira/browse/OFBIZ-13243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacopo Cappellato updated OFBIZ-13243:
--------------------------------------
Attachment: image-2025-06-19-08-43-10-543.png
> Fix Production Run cost calculation logic to exclude returned items from
> material cost calculations
> ---------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-13243
> URL: https://issues.apache.org/jira/browse/OFBIZ-13243
> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: Upcoming Branch
> Reporter: Yashwant Dhakad
> Priority: Minor
> Attachments: image-2025-06-19-08-42-09-610.png,
> image-2025-06-19-08-42-46-955.png, image-2025-06-19-08-43-10-543.png
>
>
> In the Manufacturing module, while executing the production run, during final
> material consolidation and cost calculation, the leftover/unused inventory
> items that are returned, are reflected with negative quantities and are
> incorrectly included in the final used material list, resulting in inflated
> material costs and discrepancies in financial reports, causing the reported
> production costs to be inaccurate.
> The issue occurs specifically in the cost calculation logic used in the
> Production Run's "Actual Costs" section and affects related cost reports and
> screens within the manufacturing module. Because of this, the financial data
> does not correctly reflect the actual consumption of materials, leading to
> potential errors in operational and strategic decision-making.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)