Skip to content

Implemented: Manufacturing demo data component with demo map (OFBIZ-13438)#289

Open
patelanil wants to merge 1 commit into
apache:trunkfrom
patelanil:feature/manufacturing-demo
Open

Implemented: Manufacturing demo data component with demo map (OFBIZ-13438)#289
patelanil wants to merge 1 commit into
apache:trunkfrom
patelanil:feature/manufacturing-demo

Conversation

@patelanil

Copy link
Copy Markdown
Contributor

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 manufacturingDemo data 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-initial without the stock demo
data set:

./gradlew "ofbiz --load-data readers=seed,seed-initial,manufacturingDemo"

This issue (slice 1) is the standing manufacturing configuration:

  • Company organization (tagged MANUFACTURER) and a focused FULLADMIN admin login
    (granted only OFBTOOLS_VIEW, CATALOG_VIEW, MANUFACTURING_*, and the
    WORKEFFORTMGR_ADMIN / ASSETMAINT_ADMIN that production runs require)
  • production plant facility MFG_PLANT
  • 9 products correctly typed (finished good / sub-assembly / raw materials)
  • a two-tier bill of materials
  • two machines (AMC, LAM) with work calendars
  • routings and operations
  • supplier and supplier-product (purchasing) records
  • a manifest.yaml mapping the demo's entities and IDs

No 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.xml and security demo files.

Verification

Loaded on a clean H2 database with readers=seed,seed-initial,manufacturingDemo (no stock
demo): 99 values, 0 errors. Logged in to the Manufacturing application as admin, viewed
the 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).

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant