OperationInput
Type: Object
Transactional ledger recording the consumption of materials or job products by an Operation.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| actualQuantity | Float | The actual quantity consumed. | ||
| createdAt | DateTime! | |||
| id | ID! | |||
| jobProduct | JobProduct | Job product being consumed (when source_type is JOB_PRODUCT) | ||
| jobProductId | ID | |||
| material | Material | Material being consumed (when source_type is MATERIAL) | ||
| materialId | ID | |||
| operation | Operation! | |||
| operationId | ID! | |||
| plannedQuantity | Float! | The planned quantity to be consumed. | ||
| reportedBy | AuthUser | |||
| reportedById | ID | |||
| sourceType | OperationInputSourceTypeEnum! | The type of source being consumed: MATERIAL or JOB_PRODUCT | ||
| unit | OperationInputUnitEnum! | The unit of measurement for the quantities. | ||
| updatedAt | DateTime! |