[ https://issues.apache.org/jira/browse/OFBIZ-12191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nameet Jain updated OFBIZ-12191: -------------------------------- Description: I tried the following use case. We configured BOM for the virtual product whose nodes can also be virtual. {code:java} // Product To Be produced PROD_MANUF_1 (Virtual Product) - PROD_MANUF_11 (Variant) - PROD_MANUF_12 (Variant) // Raw Material RAW_MAT_1 (Virtual) - RAW_MAT_11 (Variant) - RAW_MAT_12 (Variant) RAW_MAT_2 (Standard) // BOM PROD_MANUF_1 -> RAW_MAT_1 -> RAW_MAT_2 PROD_MANUF_11 -> RAW_MAT_11 -> 2 Qty -> RAW_MAT_2 -> 2 Qty PROD_MANUF_12 -> RAW_MAT_12 -> 3 Qty -> RAW_MAT_2 -> 2 Qty {code} Now let say we want to manufacture 10qty of PROD_MANUF_12. To my expectations, the requirement generated should be like - To produce 10qty for PROD_MANUF_12 we will need - 30qty of RAW_MAT_12 - 20qty of RAW_MAT_2 But the result for MRP and BOM simulation is incorrect. Please refer to the screenshot. !image-2021-02-27-18-37-47-422.png! _I am also attaching sample data to test._ was: I tried the following use case. We configured BOM for the virtual product whose nodes can also be virtual. {code:java} // Product To Be produced PROD_MANUF_1 (Virtual Product) - PROD_MANUF_11 (Variant) - PROD_MANUF_12 (Variant) // Raw Material RAW_MAT_1 (Virtual) - RAW_MAT_11 (Variant) - RAW_MAT_12 (Variant) RAW_MAT_2 (Standard) // BOM PROD_MANUF_1 -> RAW_MAT_1 -> RAW_MAT_2 PROD_MANUF_11 -> RAW_MAT_11 -> 2 Qty -> RAW_MAT_2 -> 2 Qty PROD_MANUF_12 -> RAW_MAT_12 -> 3 Qty -> RAW_MAT_2 -> 2 Qty {code} Now let say we want to manufacture 10qty of PROD_MANUF_12. To my expectations, the requirement generated should be like - To produce 10qty for PROD_MANUF_12 we will need - 30qty of RAW_MAT_12 - 20qty of RAW_MAT_2 But the result for MRP and BOM simulation is incorrect. Please refer to the screenshot. > Bug preventing proper explosion of BOM containing virtual nodes > --------------------------------------------------------------- > > Key: OFBIZ-12191 > URL: https://issues.apache.org/jira/browse/OFBIZ-12191 > Project: OFBiz > Issue Type: Bug > Components: manufacturing > Affects Versions: Trunk > Reporter: Nameet Jain > Priority: Major > Attachments: image-2021-02-27-18-37-47-422.png > > > I tried the following use case. We configured BOM for the virtual product whose nodes can also be virtual. > > {code:java} > // Product To Be produced > PROD_MANUF_1 (Virtual Product) > - PROD_MANUF_11 (Variant) > - PROD_MANUF_12 (Variant) > > // Raw Material > RAW_MAT_1 (Virtual) > - RAW_MAT_11 (Variant) > - RAW_MAT_12 (Variant) > > RAW_MAT_2 (Standard) > // BOM > PROD_MANUF_1 -> RAW_MAT_1 > -> RAW_MAT_2 > PROD_MANUF_11 -> RAW_MAT_11 -> 2 Qty > -> RAW_MAT_2 -> 2 Qty > > > PROD_MANUF_12 -> RAW_MAT_12 -> 3 Qty > -> RAW_MAT_2 -> 2 Qty {code} > Now let say we want to manufacture 10qty of PROD_MANUF_12. To my expectations, the requirement generated should be like > - To produce 10qty for PROD_MANUF_12 we will need > - 30qty of RAW_MAT_12 > - 20qty of RAW_MAT_2 > But the result for MRP and BOM simulation is incorrect. Please refer to the screenshot. > !image-2021-02-27-18-37-47-422.png! > _I am also attaching sample data to test._ -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |