Implemented: Manufacturing demo data component with demo map (OFBIZ-13438)#289
Open
patelanil wants to merge 1 commit into
Open
Implemented: Manufacturing demo data component with demo map (OFBIZ-13438)#289patelanil wants to merge 1 commit into
patelanil wants to merge 1 commit into
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This adds a new, self-contained Manufacturing + MRP demo/reference component,
manufacturing-demo, to ofbiz-plugins.Jira: https://issues.apache.org/jira/browse/OFBIZ-13438
What it adds
A loadable component that stands up a skateboard-factory manufacturing configuration on
stock entities only, via its own
manufacturingDemodata reader. It is self-contained —it brings its own company, a focused manufacturing-capable admin login, and all the
manufacturing data — so it loads on
seed+seed-initialwithout the stockdemodata set:
This issue (slice 1) is the standing manufacturing configuration:
Companyorganization (taggedMANUFACTURER) and a focusedFULLADMINadminlogin(granted only
OFBTOOLS_VIEW,CATALOG_VIEW,MANUFACTURING_*, and theWORKEFFORTMGR_ADMIN/ASSETMAINT_ADMINthat production runs require)MFG_PLANTAMC,LAM) with work calendarsmanifest.yamlmapping the demo's entities and IDsNo transactional data (inventory, sales forecasts, MRP runs, costing rates) is included in
this issue; those are planned follow-ups that build the full MRP -> production-run ->
actual-cost walkthrough on top of this configuration.
Attribution
The scenario and manufacturing data are based on the published Apache OFBiz manufacturing
how-to series by Swapnil Shah. The company/login bootstrap rows are copied (with attribution
in code comments) from OFBiz's own
AccountingDemoData.xmland security demo files.Verification
Loaded on a clean H2 database with
readers=seed,seed-initial,manufacturingDemo(no stockdemo): 99 values, 0 errors. Logged in to the Manufacturing application asadmin, viewedthe two-tier BOM and routings, and created a standalone production run for the deck — OFBiz
generated the routing operation and the BOM component requirements (status
PRUN_CREATED).