[ 
https://issues.apache.org/jira/browse/OFBIZ-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565755#action_12565755
 ] 

Valentina Sirkova commented on OFBIZ-1211:
------------------------------------------

Could that bug be due to the fact that after productionRunProduce 
(ProductionRunServices.java) is run the "quantityProduced"  in the 
SERIALIZED_INV_ITEM
part of the service productionRunProduce  is never updated in the main 
productionRun workeffort? As the workeffort is never updated the maxQuantity in 
ProductionRunDeclaration.bsh never decreases which sets canProduce=Y and as a 
result the ProductionRunProduce form keeps on prompting the user to stock in 
forever:)))
There is a patch based on these reasonings.
Valentina


> stocking in serialized inventory after production run still has wrong 
> quantity to issue
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1211
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1211
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>            Reporter: Si Chen
>            Assignee: Jacopo Cappellato
>         Attachments: Picture 6.png, serialized_items_bug.patch
>
>
> If you do a production run, then stock in serialized inventory, the quantity 
> to stock does not change after you have created the InventoryItems.  So, you 
> could have already stocked in 3 serialized items, and the system would prompt 
> you to stock in 3 more, like in this page.
> Is it because the system is just summing InventoryItem's quantityOnHand 
> amount, rather than adding the number of serialized InventoryItems?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to