[jira] [Commented] (OFBIZ-7468) Define constraints while adding new material to the task which is in completed/cancel status.
[ https://issues.apache.org/jira/browse/OFBIZ-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15760507#comment-15760507 ] Swapnil Shah commented on OFBIZ-7468: - I reckon systemically allowing inventory pegging to cancelled jobs makes more sense only when issued/related components are physically consumed during production processing in real time. But possibly there can be some better ways to just correct reporting in accounting books or backward cost adjustment. In real time as well, if inbound material requirements are actually consumed at any stage of production processing then it must have been physically issued on shop floor first and system should be honoring this process. If its happening otherwise then it looks to be a case of business process re-engineering first before allowing system to honor such cases. We can definitely develop this feature as custom requirement but not sure if it can be considered as norm. Current OFbiz behavior also doesn't support it as it works something like as follows: 1) Production run(tasks) can only be cancelled before it moves into 'Confirmed' status (i.e. none of the tasks has started yet). Thereafter its not possible to mark the production run as cancelled. Nor is it possible to issue the components for task before starting it, What it essentially means is that if production run is cancelled then none of the task could have been started and hence nothing was physically consumed. That's one of the reason in this task we tried to prevent component from being added to cancelled task. 2) Once production run comes into 'Running' state (i.e. task(s) have been started) then its not possible to Cancel the production run. What it means is that issuance must be made in order to complete the production run(tasks).System provides flexibility to add components to Completed task as they have been physically consumed before completion. And its still intact. Also in none of the above cases system perform any backward cost transfer on production run upon any release/issuance or returns made after production run stands completed or cancelled. (We might need to define and finalize the generic workflow first before supporting this) > Define constraints while adding new material to the task which is in > completed/cancel status. > - > > Key: OFBIZ-7468 > URL: https://issues.apache.org/jira/browse/OFBIZ-7468 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing >Affects Versions: Trunk >Reporter: Anuj Jain >Assignee: Anuj Jain > Attachments: OFBIZ-7468.patch, OFBIZ_7468_1.png, OFBIZ_7468_2.png, > OFBIZ_7468_3.png > > > Define actions on adding new material to the task which is in > completed/cancel status. > Actions suggested by Swapnil :- > # We can begin with simple constraint of allowing new material against the > only those routing task that has not cancelled yet within a production run > # Any completed taks for uncomplete Production Run should have WEGS created > in COMPLETED status and WEIA created as well by issuing the added item's qty. > # If production is already completed (aka all its routing task also > completed/cancelled) then don't allow new material to be added from Actual > Material screen -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7468) Define constraints while adding new material to the task which is in completed/cancel status.
[ https://issues.apache.org/jira/browse/OFBIZ-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15758473#comment-15758473 ] Pierre Smits commented on OFBIZ-7468: - See my comments in OFBIZ-7559. > Define constraints while adding new material to the task which is in > completed/cancel status. > - > > Key: OFBIZ-7468 > URL: https://issues.apache.org/jira/browse/OFBIZ-7468 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing >Affects Versions: Trunk >Reporter: Anuj Jain >Assignee: Anuj Jain > Attachments: OFBIZ-7468.patch, OFBIZ_7468_1.png, OFBIZ_7468_2.png, > OFBIZ_7468_3.png > > > Define actions on adding new material to the task which is in > completed/cancel status. > Actions suggested by Swapnil :- > # We can begin with simple constraint of allowing new material against the > only those routing task that has not cancelled yet within a production run > # Any completed taks for uncomplete Production Run should have WEGS created > in COMPLETED status and WEIA created as well by issuing the added item's qty. > # If production is already completed (aka all its routing task also > completed/cancelled) then don't allow new material to be added from Actual > Material screen -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7468) Define constraints while adding new material to the task which is in completed/cancel status.
[ https://issues.apache.org/jira/browse/OFBIZ-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15758261#comment-15758261 ] Swapnil Shah commented on OFBIZ-7468: - [~anuj.jain] I have tried to validate the fixes and found that this feature still not working correctly (please refer to attached screenshot for reference). Here are the results: # Component added to already running production run task: ## The component get successfully added (via Actual Material screen) and available to be issued for any already running (i.e. non-completed, non-cancelled) tasks (*PASS*) ## While issuing the component along with regular component from BoM, the newly added component ends up creating new inventory item despite the fact that there is already sufficient ATP available to be consumed from. Expectation is to use the existing ATP for issuance and if nothing is available then don't issue it (*FAIL*) ## The newly created inventory item is linked to WEIA with negative quantity. The expectation is to issue and link only those inventory items that have sufficient ATP to be consumed from (*FAIL*) # When the component are added for already completed production run task then problem starts as follows: ## It only ends up created WEGS (in CREATED State) and doesn't directly issue them. So user has now no option to issue them from anywhere. Expectation is to also get the added component qty directly issued (*FAIL*) !OFBIZ-7468_1.jpg|thumbnail! !OFBIZ-7468_2.jpg|thumbnail! !OFBIZ-7468_3.jpg|thumbnail! > Define constraints while adding new material to the task which is in > completed/cancel status. > - > > Key: OFBIZ-7468 > URL: https://issues.apache.org/jira/browse/OFBIZ-7468 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing >Affects Versions: Trunk >Reporter: Anuj Jain >Assignee: Swapnil Shah > Attachments: OFBIZ-7468.patch, OFBIZ_7468_1.png, OFBIZ_7468_2.png, > OFBIZ_7468_3.png > > > Define actions on adding new material to the task which is in > completed/cancel status. > Actions suggested by Swapnil :- > # We can begin with simple constraint of allowing new material against the > only those routing task that has not cancelled yet within a production run > # Any completed taks for uncomplete Production Run should have WEGS created > in COMPLETED status and WEIA created as well by issuing the added item's qty. > # If production is already completed (aka all its routing task also > completed/cancelled) then don't allow new material to be added from Actual > Material screen -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7468) Define constraints while adding new material to the task which is in completed/cancel status.
[ https://issues.apache.org/jira/browse/OFBIZ-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15757481#comment-15757481 ] Jacques Le Roux commented on OFBIZ-7468: Hi Swapnil, should we not close? > Define constraints while adding new material to the task which is in > completed/cancel status. > - > > Key: OFBIZ-7468 > URL: https://issues.apache.org/jira/browse/OFBIZ-7468 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing >Affects Versions: Trunk >Reporter: Anuj Jain >Assignee: Swapnil Shah > Attachments: OFBIZ-7468.patch > > > Define actions on adding new material to the task which is in > completed/cancel status. > Actions suggested by Swapnil :- > # We can begin with simple constraint of allowing new material against the > only those routing task that has not cancelled yet within a production run > # Any completed taks for uncomplete Production Run should have WEGS created > in COMPLETED status and WEIA created as well by issuing the added item's qty. > # If production is already completed (aka all its routing task also > completed/cancelled) then don't allow new material to be added from Actual > Material screen -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7468) Define constraints while adding new material to the task which is in completed/cancel status.
[ https://issues.apache.org/jira/browse/OFBIZ-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15639788#comment-15639788 ] Divesh Dutta commented on OFBIZ-7468: - Thansk [~anuj.jain] for your patch. Patch is committed in revision number!: 1768228 in trunk. > Define constraints while adding new material to the task which is in > completed/cancel status. > - > > Key: OFBIZ-7468 > URL: https://issues.apache.org/jira/browse/OFBIZ-7468 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing >Affects Versions: Trunk >Reporter: Anuj Jain > Attachments: OFBIZ-7468.patch > > > Define actions on adding new material to the task which is in > completed/cancel status. > Actions suggested by Swapnil :- > # We can begin with simple constraint of allowing new material against the > only those routing task that has not cancelled yet within a production run > # Any completed taks for uncomplete Production Run should have WEGS created > in COMPLETED status and WEIA created as well by issuing the added item's qty. > # If production is already completed (aka all its routing task also > completed/cancelled) then don't allow new material to be added from Actual > Material screen -- This message was sent by Atlassian JIRA (v6.3.4#6332)