ZRM Docs
Domain Model

Work Order Material

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workOrderIdstringYesID of the associated work order
productIdunknownYesID of the associated product
descriptionstringYesDescription
quantitynumberYesQuantity
unitCostnumberYesUnit cost
totalCostnumberYesTotal cost
addedByUserIdstring.uuidYesID of the associated added by user
workspaceIdstringYesID of the associated workspace

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workOrderIdstringYesID of the associated work order
productIdstring.uuidNoID of the associated product
descriptionstringYesDescription
quantitynumberYesQuantity
unitCostnumberYesUnit cost
sourcePoLineItemIdunknownNoID of the associated source po line item
workspaceIdstringNoID of the associated workspace

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
productIdstring.uuidNoID of the associated product
descriptionstringNoDescription
quantitynumberNoQuantity
unitCostnumberNoUnit cost
sourcePoLineItemIdunknownNoID of the associated source po line item

On this page