[
https://issues.apache.org/jira/browse/OFBIZ-13243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079977#comment-18079977
]
Jacques Le Roux commented on OFBIZ-13243:
-----------------------------------------
I forgot to thanks Yashwant Dhakad for the reporting :)
> 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
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: 24.09.06
>
> 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,
> image-2026-05-08-19-15-37-111.png, image-2026-05-08-19-17-43-718.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)