ZRM Docs
Domain Model

Bom Line

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
quoteIdstringYesID of the associated quote
productIdstringNoID of the associated product
parentBomLineIdstringNoID of the associated parent bom line
lineTypeenum(material, labor, recurring, subcontract, other)YesLine type
manufacturerstringNoManufacturer
skustringNoSku
descriptionstringYesDescription
quantitynumberYesQuantity
unitCostnumberNoUnit cost
unitPricenumberNoUnit price
laborHoursnumberNoLabor hours
solutionFamilystringNoSolution family
alternateGroupstringNoAlternate group
sortOrderintegerYesSort order
sourcingStatusenum(not_started, quoted, ordered, received, backordered)YesSourcing status
taxableunknownYesTaxable
workspaceIdstringYesID of the associated workspace
visibilityModeenum(global, workspace_local, shared)YesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
quoteIdstringYesID of the associated quote
productIdstringNoID of the associated product
parentBomLineIdstringNoID of the associated parent bom line
lineTypeenum(material, labor, recurring, subcontract, other)YesLine type
manufacturerstringNoManufacturer
skustringNoSku
descriptionstringYesDescription
quantitynumberYesQuantity
unitCostnumberNoUnit cost
unitPricenumberNoUnit price
laborHoursnumberNoLabor hours
solutionFamilystringNoSolution family
alternateGroupstringNoAlternate group
sortOrderintegerYes0Sort order
sourcingStatusenum(not_started, quoted, ordered, received, backordered)Yes"not_started"Sourcing status
taxableunknownNoTaxable
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
quoteIdstringNoID of the associated quote
productIdstringNoID of the associated product
parentBomLineIdstringNoID of the associated parent bom line
lineTypeenum(material, labor, recurring, subcontract, other)NoLine type
manufacturerstringNoManufacturer
skustringNoSku
descriptionstringNoDescription
quantitynumberNoQuantity
unitCostnumberNoUnit cost
unitPricenumberNoUnit price
laborHoursnumberNoLabor hours
solutionFamilystringNoSolution family
alternateGroupstringNoAlternate group
sortOrderintegerNo0Sort order
sourcingStatusenum(not_started, quoted, ordered, received, backordered)No"not_started"Sourcing status
taxableunknownNoTaxable

On this page