Space Docs
Domain Model

Work Order Material

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workOrderIdstringYes—ID of the associated work order
productIdunknownYes—ID of the associated product
descriptionstringYes—Description
quantitynumberYes—Quantity
unitCostnumberYes—Unit cost
totalCostnumberYes—Total cost
addedByUserIdstring.uuidYes—ID of the associated added by user
workspaceIdstringYes—ID of the associated workspace

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workOrderIdstringYes—ID of the associated work order
productIdstring.uuidNo—ID of the associated product
descriptionstringYes—Description
quantitynumberYes—Quantity
unitCostnumberYes—Unit cost
sourcePoLineItemIdunknownNo—ID of the associated source po line item
workspaceIdstringNo—ID of the associated workspace

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
productIdstring.uuidNo—ID of the associated product
descriptionstringNo—Description
quantitynumberNo—Quantity
unitCostnumberNo—Unit cost
sourcePoLineItemIdunknownNo—ID of the associated source po line item

On this page