Space 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
serviceTypeIdstringNoID of the associated service type
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
isOptionalbooleanYesIs optional
workspaceIdstringYesID of the associated workspace
visibilityModeunknownYesVisibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
quoteIdstringYesID of the associated quote
productIdstringNoID of the associated product
serviceTypeIdstringNoID of the associated service type
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
isOptionalbooleanYesfalseIs optional
workspaceIdstringNoID of the associated workspace
visibilityModeunknownNoVisibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
quoteIdstringNoID of the associated quote
productIdstringNoID of the associated product
serviceTypeIdstringNoID of the associated service type
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
sortOrderintegerNoSort order
sourcingStatusenum(not_started, quoted, ordered, received, backordered)NoSourcing status
taxableunknownNoTaxable
isOptionalbooleanNoIs optional

On this page