[ 
https://issues.apache.org/jira/browse/OFBIZ-13270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986433#comment-17986433
 ] 

ASF subversion and git services commented on OFBIZ-13270:
---------------------------------------------------------

Commit 47482e535515a56cffb56d0b529e896458832909 in ofbiz-framework's branch 
refs/heads/release24.09 from Jacopo Cappellato
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=47482e5355 ]

Fixed: backward compatibility for internal requirements without a quantity set 
(OFBIZ-13270) (#899)

After the changes introduced for OFBIZ-13270 ("Incorrect service call
for internal requirement may trigger unnecessary production runs") the
system returned an error when an internal requirement without its
"quantity" field set was approved. This was a different behavior as
before the system was using the default quantity of 1. This commit
restore the original behavior.

Thanks to Jacques Le Roux for the report.

> 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)

Reply via email to