[
https://issues.apache.org/jira/browse/OFBIZ-7173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338131#comment-15338131 ]
Divesh Dutta commented on OFBIZ-7173:
-------------------------------------
Thanks [~anuj.jain] for your patch. I have committed slightly modified patch of yours in revision number 1749088 in trunk . When setting value of any field
Instead of this:
{code}
<set field="createWorkEffortGoodStdMap.workEffortGoodStdTypeId" default-value="PRUNT_PROD_NEEDED"/
{code}
You should write this:
{code}
<set field="createWorkEffortGoodStdMap.workEffortGoodStdTypeId" value="PRUNT_PROD_NEEDED"/
{code}
As name suggests default-value is used when no other value is set for the field, in your case you can use value instead of default value.
Thanks [~swash78] for suggesting this improvement. I am assigning this ticket to you for verification and closure.
> The Product Added from 'Actual Material' screen could be consumed for producing end product during routing task execution
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-7173
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7173> Project: OFBiz
> Issue Type: New Feature
> Components: manufacturing
> Reporter: Swapnil Shah
> Assignee: Divesh Dutta
> Fix For: Upcoming Branch
>
> Attachments: AM.png, OFBIZ-7173.patch
>
>
> Currently any new product added against given routing task via Actual Material screen just reflects the inventory statistics it.
> We could try to add the feature of having the added products actually be added in conjunction with Actual projected Material requirement based on original BoM associated with the routing.
> # This could be done by creating fresh WorkEffortGoodStandard (WEGS) with such added products against specified routing.
> # 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 should have WEGS created in COMPLETED status and WEIA created as well by issuing the added item's qty.
> # Start showing such newly added material requirement in conjunction with original requirement (based on BoM) under all relevant sections over Production Declaration Screen
> Please refer to attached screenshot for reference
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)