2. Defining a Bill of Materials

A Bill of Materials defines a product's assembly structure: the components required to build a finished item. In SamvraCore each BOM lists its components, and every component line carries a quantity and a unit of measure, so the BOM states precisely how much of each input is needed and in what units.

A BOM also has an active or inactive status. This lets an organisation retire or supersede an assembly definition without deleting it, keeping historical BOMs available while directing new production to the current active version.

BOM components are managed through dedicated endpoints under a BOM, so components can be added and maintained as a child collection of the parent BOM. The BOMDetailPage provides the detailed view where this component structure is seen and edited, while BOMListPage gives the overview across all defined BOMs.

A worked example: a finished assembly is defined with several component lines, each naming a component product, the quantity consumed per finished unit, and the unit of measure for that quantity. Once complete and marked active, this BOM becomes the recipe that work orders draw on. If the design changes, a revised BOM can be created and activated while the old one is marked inactive, preserving the record of how earlier units were built.