[
https://issues.apache.org/jira/browse/OFBIZ-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925535#comment-13925535 ]
Christian Carlow commented on OFBIZ-5568:
-----------------------------------------
I adjusted this issue so it describes the remaining problem left over after Pierre's response. I also added links to OFBIZ-5532 and OFBIZ-5548 which led me to creating this issue. OFBIZ-5532 will add the ability for timesheet entries to be created for each worker that creates a task declaration. OFBIZ-5548 is intended to build off OFBIZ-5532 and allow the time entries to relate to inventory items created by task declarations. Lack of these two functionalities is preventing a manufacturing company from migrating to OFBiz. The company uses a ticket system with data input by manufacturing workers to track manufacturing. Manufacturing workers select a reason from a drop down list to declare a by-product in the ticket system and I need something similar. ProductAssoc has a reason field so I assumed that entity and field existed to fulfill the same role as the ticket system reason field. ProductAssoc could be used to apply rules to limit the possible products that can be declared as well as determine maximum quantity that can be produced based on the materials used or quantity produced from the previous task. Just as new feature variant products are automatically created and relate to a virtual product, I think the same should happen if new reasons are selected in the declaration form.
I still need to look into the cost aspect of the problem mentioned by Pierre. In Jacopo's tortilla scenario, if the by-product was something that required significantly different manufacturing than the original intended product then it seems to capture that other work, creating a separate production run would be required. Otherwise the other tasks wouldn't be accounted for which seems necessary for adequately calculating production costs. I need to do more research to make anymore progress on this issue.
> Production Run inventory declaration form declarable products cannot be limited
> -------------------------------------------------------------------------------
>
> 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)