SCM/DCM module integration
Use@betterdata/scm-* and @betterdata/dcm-* modules as the operational layer of the Commerce Chain Optimization (CCO) platform — in the hosted product or in your own stack.
Overview
SCM modules cover supply (inventory, procurement, execution, catalog).DCM modules cover demand (demand signals, orders, returns, channels). In the Better Data hosted platform, these modules run with:
- AI-assisted demand intelligence
- Industry Pack policy overlays (Healthcare, Pharma, Retail, Manufacturing, Food & Beverage, Construction)
- Compliance reporting pipelines
- Multi-tenant isolation
Installing packages
Runtime configuration (self-hosted)
Wire infrastructure once at process startup. Example — inventory:configureProcurementRuntime—@betterdata/scm-procurementconfigureExecutionRuntime—@betterdata/scm-executionconfigureDcmOrdersRuntime—@betterdata/dcm-ordersconfigureDcmReturnsRuntime—@betterdata/dcm-returns
@betterdata/dcm-demand today exposes services and loop participation; wire adapters from your app bootstrap as shown in package READMEs.
Hosted platform
Inside app.betterdata.com, the platform kernel provides database and outbox implementations — you typically do not hand-wireconfigure*Runtime for first-party apps.
For self-hosted topology and runtime topics, see commercechain.io (external).
Loop participation
Each module exports a loop participant manifest (for exampleinventoryLoopParticipant) conforming to LoopParticipantManifest from @loop-engine/definitions.
@loop-engine/actors tests — unknown LoopIds / EventNames fail CI.
Industry Packs
Industry Packs apply vertical policy on top of OSS defaults. They are not published to npm. Available verticals include Healthcare, Pharma, Retail, Manufacturing, Food & Beverage, and Construction. → SCM packages→ DCM packages
→ Loop definitions