[
https://issues.apache.org/jira/browse/OFBIZ-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315404#comment-15315404 ]
Pranay Pandey commented on OFBIZ-6328:
--------------------------------------
Okay, checked it again, test suite productionruntests running fine, all tests passed.
Here is the result:
{code}
Results for test suite: productionruntests
Pass: true | # Tests: 35 | # Failed: 0 # Errors: 0
{code}
Going to commit the fix.
> createProductionRunsForOrder service doesn't handle cancelled production runs
> -----------------------------------------------------------------------------
>
> Key: OFBIZ-6328
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6328> Project: OFBiz
> Issue Type: Improvement
> Components: manufacturing
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Assignee: Pranay Pandey
> Attachments: OFBIZ-6328.patch
>
>
> createProductionRunsForOrder doesn't create production runs whenever a WorkOrderItemFulfillment record exists even if workEffort.currentStatusId == "PRUN_CANCELLED". The service should be enhanced to recognized canceled production runs and create replacements when no active ones are found.
> Extra logic may need to be added later to handle changing production run statuses from canceled back to an active state when another active production run took its place but as of right now such a status change is not possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)