[
https://issues.apache.org/jira/browse/OFBIZ-13270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986436#comment-17986436
]
Jacopo Cappellato commented on OFBIZ-13270:
-------------------------------------------
Thank you Jacques,
My last commit addresses the issue you have reported by making the new code
backward compatible with the previous version. Thus I didn't introduce changes
to our tests (even if the test that was failing has some missing data and I am
not sure it was intentionally created in that way, however for now it should be
fine).
I am closing this ticket because now the tests are successful.
> Incorrect service call for internal requirement may trigger unnecessary
> production runs
> ---------------------------------------------------------------------------------------
>
> Key: OFBIZ-13270
> URL: https://issues.apache.org/jira/browse/OFBIZ-13270
> Project: OFBiz
> Issue Type: Bug
> Components: manufacturing
> Affects Versions: Upcoming Branch, 24.09.01
> Reporter: Jacopo Cappellato
> Assignee: Jacopo Cappellato
> Priority: Major
> Fix For: Upcoming Branch, 24.09.02
>
>
> When an internal requirement is approved, a production run should be
> automatically created to fulfill it.
> Currently, the system invokes a special service
> ({{{}createProductionRunsForProductBom{}}}) instead of the standard one.
> As a result, the system not only creates the production run for the required
> product, but also additional runs for all its sub-assemblies, even if those
> sub-assemblies are already available in the warehouse or have existing
> requirements in the system.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)