ReportManufacturingOrderMaterial
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Manufacturing/Reporting/ReportManufacturingOrderMaterial
Reports a material for a manufacturing order.
Returns EntityCommandResponse
The root entity id of the response is the resulting report number.
The entity id of the response is the same as the root entity id.
Required permission
Report manufacturing order
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
ReportNumber | Int64 | The report number of the material to report.
|
|
ReportedQuantity | Decimal | The reported quantity.
|
|
ReportedRestQuantity | Decimal? | The reported rest quantity. |
|
MaterialRows | AddMaterialRow[] | The material rows to report. |
|
PartId | Int64? | Adds a new material with reporting to the operation. If set Report number will be ignored.
|
|
ManufacturingOrderOperationId | Int64? | The operation to add the material to.
|
|
UseUsageUnit | Boolean | When this setting is true the part's unit usages point out the unit we should use for the provided quantities.
|
Introduced in version 22.9 |
UnitId | Int64? | Use this unit for the provided quantities. If UseUsageUnit is false and UnitId is not set the standard unit is used.
|
Introduced in version 22.9 |
Example
{
"ReportNumber": 0,
"ReportedQuantity": 0.0,
"ReportedRestQuantity": null,
"MaterialRows": null,
"PartId": null,
"ManufacturingOrderOperationId": null,
"UseUsageUnit": false,
"UnitId": null
}