Project:
View Revisions: Issue #56495 | [ Back to Issue ] | ||
Summary | 0056495: Bill of Material Production - Stock validation missing in for production lines generated from bom hierarchy | ||
Revision | 2024-09-19 08:49 by prakashmurugesan88 | ||
Steps To Reproduce | Create Products * Legs - Bill Of Material: 'N'; Stocked: 'Y' * Table Top - Bill Of Material: 'N'; Stocked: 'Y' * 2 Legs Pack - Bill Of Material: 'Y'; Stocked: 'N' Bill of Materials Legs - 2 * Table - Bill Of Material: 'Y'; Stocked: 'Y' Bill of Materials Table Top - 1 2 Legs Pack - 2 Create Bill of Material Production With Production Plan for Table Click Create/Process Production while the lines(Production Lines) are generated for BOM Products Notice it creates entry for Table Top based on stock. Because consumed product must be stocked. But when the lines are generated for 2 Legs Pack As it is Non Stocked Bom product, It goes through the hierarchy and creates lines for legs. However there is no stock validation done for the legs creation. It is created in production locator itself. But stock validation should be done as it is consumed product. |
||
Revision | 2024-09-19 08:49 by prakashmurugesan88 | ||
Description | Stock validation missing in for production lines generated from bom hierarchy Lines are generated from M_PRODUCTION_RUN process, * If the lines are generated directly from the bom lines, production lines are generated based on stock, https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L255 [^] https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L306 [^] * But if the lines are generated from the hierarchy of bom line, no stock validation is done, https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L480 [^] |
||
Revision | 2024-09-19 08:46 by prakashmurugesan88 | ||
Steps To Reproduce | Create Products * Legs - Bill Of Material: 'N'; Stocked: 'Y' * Table Top - Bill Of Material: 'N'; Stocked: 'Y' * 2 Legs Pack - Bill Of Material: 'Y'; Stocked: 'N' Bill of Materials Legs - 2 * Table - Bill Of Material: 'Y'; Stocked: 'Y' Bill of Materials Table Top - 1 2 Legs Pack - 2 Create Bill of Material Production With Production Plan for Table Click Create/Process Production while the lines(Production Lines) are generated for BOM Products Notice it creates entry for Table Top based on stock. Because consumed product must be stocked. But when the lines are generated for 2 Legs Pack As it is Non Stocked Bom product, It goes through the hierarchy and created lines for legs. However there is no stock validation done for the legs creation. It is created in production locator itself. But stock validation should be done as it is consumed product. |
||
Revision | 2024-09-19 08:46 by prakashmurugesan88 | ||
Description | Stock validation missing in case of lines generated from hierarchy * If the lines are generated directly from the bom lines, production lines are generated based on stock, https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L255 [^] https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L306 [^] * But if the lines are generated from the hierarchy of bom line, no stock validation is done, https://gitlab.com/openbravo/product/openbravo/-/blob/master/src-db/database/model/functions/M_PRODUCTION_RUN.xml#L480 [^] |
Copyright © 2000 - 2009 MantisBT Group |