[ https://issues.apache.org/jira/browse/OFBIZ-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503878#comment-14503878 ]
Christian Carlow commented on OFBIZ-6085: ----------------------------------------- The patch extends the TimeEntry entity to include the setupTime, actualTime, quantityProduced, and quantityRejected fields to provide more granularity than offered by the WorkEffort entity alone to track workers production run contribution. The TimeEntry entity was chosen as the granularity-providing entity over creating a new entity such as WorkEffortFact as what seems to be suggested on page 70 of the DMRB (ProductionRunFact) as pointed out by Pierre because commented code already existed in the productionRunDeclaration code meant to employ the TimeEntry entity and because deviation from the DMRB made it more difficult for determining how an alternative might be implemented. TimeEntryAssoc was also added to support the inspection capabilities requested in OFBIZ-5569. The production run declaration form was extended to show a drop down of time entries that can be inspected when the task is assigned the newly added inspection WorkEffortPurposeType. The time entry drop down is dependent on those time entries associated with an inventory move to the assigned facility of the inpection task which depends on the inventoryTransferId functionality of OFBIZ-6255. Choosing a timeEntryId from the drop down triggers the creation of a TimeEntryAssoc of type inspection. TimeEntryAssoc is also used to control timeEntry reversions which causes the timeEntries to disappear from the listing and revert the inventory transfer if one exists. Reversions also cause deducations of the newly added TimeEntry setupTime, actualTime, quantityProduced, and quantityRejected fields from the corresponding WorkEffort fields just as they are added for new declarations. > Add support for production run inventory tracking > ------------------------------------------------- > > Key: OFBIZ-6085 > URL: https://issues.apache.org/jira/browse/OFBIZ-6085 > Project: OFBiz > Issue Type: Improvement > Components: manufacturing > Affects Versions: Trunk > Reporter: Christian Carlow > Assignee: Pierre Smits > Attachments: OFBIZ-6085.patch > > > Production run inventory tracking seems worthy of support so that production > managers can get an idea of the department work load. InventoryItemDetails > should be created during production run declarations so that the material > that was stocked out for the production run can be tracked while it is being > manufacturing into the good. Essentially is would be like stock moves or > inventory xfers occuring within the production runs for the task fixed asset > facilities/locations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)