[ https://issues.apache.org/jira/browse/OFBIZ-5566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Carlow closed OFBIZ-5566. ----------------------------------- > Production Run Header and tasks quantityProduced incorrect when > completing/closing > ---------------------------------------------------------------------------------- > > Key: OFBIZ-5566 > URL: https://issues.apache.org/jira/browse/OFBIZ-5566 > Project: OFBiz > Issue Type: Bug > Components: manufacturing > Affects Versions: Trunk > Reporter: Christian Carlow > > The produced quantity gets set incorrectly when completing or closing > production runs. > To reproduce: > 1. Create a production run to product 10 of PIZZA > 2. Click "Confirm" then "Quick Start All Tasks" > 3. Declare 2 produced and 2 rejected for the first task > 4. Declare 1 produced and 1 rejected for the second task > 5. Stock In 1 in "Production Run Declare And Produce" section > 6. Notice at this point the quantity produced for the header is 1 and 2 for > the first task and 1 for the second task > 7. Click "Quick Close" or "Quick Complete" > 8. Notice the quantity produced for the header was changed to 9 and 8 for > the first task and 9 for the second > This doesn't make sense. First, the second task should not have a quantity > produced greater than the prior task. Also since the first task only > produced 8, the production run header seems like it should be limited to a > max quantity produced value of 8. > Besides that problem, I don't think the quantities should be increased to > values greater than what was already declared. In other words when I close > the production run, I expected the quantity produced for the header to remain > 1 and 2 for the first task and 1 for the second. -- This message was sent by Atlassian JIRA (v6.3.4#6332)