Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056495
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2024-09-19 08:462024-09-19 08:49
Reporterprakashmurugesan88View Statuspublic 
Assigned ToTriage Omni WMS 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056495: Bill of Material Production - Stock validation missing in for production lines generated from bom hierarchy

DescriptionStock 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 [^]
Steps To ReproduceCreate 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-09-19 08:46 prakashmurugesan88 New Issue
2024-09-19 08:46 prakashmurugesan88 Assigned To => Triage Omni WMS
2024-09-19 08:46 prakashmurugesan88 Modules => Core
2024-09-19 08:46 prakashmurugesan88 Triggers an Emergency Pack => No
2024-09-19 08:49 prakashmurugesan88 Summary Stock validation missing in case of lines generated from hierarchy => Bill of Material Production - Stock validation missing in for production lines generated from bom hierarchy
2024-09-19 08:49 prakashmurugesan88 Description Updated View Revisions
2024-09-19 08:49 prakashmurugesan88 Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker