[
https://issues.apache.org/jira/browse/OFBIZ-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925819#comment-13925819 ]
Christian Carlow commented on OFBIZ-5568:
-----------------------------------------
Because Deliverable Products has the power to limit which products can be declared per task, my suggestion to use the ProductAssoc in place of it seems insufficient since such power would be lost. But I think ProductAssoc should still be used to apply further filtering of deliverable products that appear in the drop down list. The drop down list could be changed to only list those deliverable products that have a ProductAssoc record relating to one of the materials or production run goods to be produced. Ultimately I feel similar logic which controls BOM proportions should be applied to by-products as well.
A related issue I'm facing is how to handle the by-product variations of materials and prun goods that may be declared. The company ticket system provides a drop down listing 20+ reasons and it would be impractical for require a user to create a separate product for each. Therefore I think some automatic product creation logic should be implemented similar to the automated method employed for creating new virtual variants when new features never before submitted occur.
> Production Run improvements to increase power of by-product declarations limitation rules
> -----------------------------------------------------------------------------------------
>
> Key: OFBIZ-5568
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5568> Project: OFBiz
> Issue Type: Improvement
> Components: manufacturing
> Reporter: Christian Carlow
>
> The production run inventory declaration form should be limited to defective products associated with either the finished good or raw materials. Currently is allows any product to be produced which is incorrect. ProductAssoc with type "PRODUCT_DEFECT" needs to be added to handle the limitation logic in the service. Then the reason field of ProductAssoc could be used to indicate defective variants more clearly to the user.
--
This message was sent by Atlassian JIRA
(v6.2#6252)