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 Attachments: Picture 6.png 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. |
[ https://issues.apache.org/jira/browse/OFBIZ-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Si Chen updated OFBIZ-1211: --------------------------- Attachment: Picture 6.png > 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 > Attachments: Picture 6.png > > > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato reassigned OFBIZ-1211: ---------------------------------------- Assignee: Jacopo Cappellato > 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 > > > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Valentina Sirkova updated OFBIZ-1211: ------------------------------------- Attachment: serialized_items_bug.patch > 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. |
In reply to this post by Nicolas Malin (Jira)
[ 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato closed OFBIZ-1211. ------------------------------------ Resolution: Fixed Valentina, you are totally right, thanks. Your patch (a slightly different one) is in rev. 618970 Jacopo > 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. |
Free forum by Nabble | Edit this page |