ReportManufacturingOrderOperation
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Manufacturing/Reporting/ReportManufacturingOrderOperation
Reports a manufacturing order operation.
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.
The Data property of the response is populated with the resulting manufacturing label
generation data (CreateManufacturingTransportLabel[]) encoded as JSON.
When reporting subcontract operations this command is limited. Please use ReportArrivals if you can't achieve the desired outcome using this command.
Required permission
Report manufacturing order
Properties
| Name | Type | Summary | Introduced in |
|---|---|---|---|
| ReportNumber | Int64 | The report number of the operation to report.
|
|
| ReportedQuantity | Decimal | The quantity to report.
|
|
| ReportedRestQuantity | Decimal? | The rest quantity to report. |
|
| TimeUnit | Int32 | The time unit of the report times.
|
|
| ReportedTime | Decimal | The time to report.
|
|
| ReportedSetupTime | Decimal | The setup time to report.
|
|
| WipLocation | String | The work-in-progress location to report. |
|
| ReportingEmployeeId | Int64? | The business key identifier of the employee to report as. References Persons |
|
| Rejections | AddRejectionRow[] | The rejections to report. |
|
| Locations | AddLocationRow[] | The new locations to report.
|
|
| ExistingLocations | ExistingLocationRow[] | The existing locations to report on.
|
Introduced in version 2.34 |
| StockLocations | StockLocation[] | The part locations to report to when reporting the last operation. Ignored for other operations. Each new location is created once, however many product records are reported to it. Cannot be combined with Locations or ExistingLocations. |
Introduced in version 26.8 |
| ReportingWorkCenterId | Int64? | The business key identifier of the work center to set as reporting work center. References WorkCenters.
|
Introduced in version 2.37 |
| TraceabilityData | SetManufacturingOrderOperationReportingTraceabilityData[] | The traceability data to apply when reporting the operation.
|
Introduced in version 2.43 |
| AutomaticMaterialWithdrawal | Boolean? | Specifies if material should be withdrawn automatically.
|
Introduced in version 23.7 |
| ExcludeTransportLabelInformation | Boolean? | Specifies if the EntityCommandResponse should contain CreateManufacturingTransportLabel[] data
|
Introduced in version 24.2 |
| IsIncludingHidden | Boolean | When this setting is true the deleted operation(s) will be included.
|
Introduced in version 26.4 |
| Comment | SetComment | The comment for the operation reporting. |
Introduced in version 26.5 |
| ActualReportDate | DateTimeOffset? | The actual date and time of the operation reporting. Not used when reporting subcontract operations.
|
Introduced in version 26.7 |
| ReasonCodeTimeConsumptionId | Int64? | The business key identifier of the reason code time consumption (cause code for time loss or time gain) to set on the operation reporting. It is only used when the reporting finishes the operation and the time used deviates from the planned time by more than the system settings allow. The reason code must also be active and of the type that matches the deviation. Otherwise it is ignored. When it is used and the reason code requires a comment, Comment must be set.
|
Introduced in version 26.9 |
Example
{
"ReportNumber": 0,
"ReportedQuantity": 0.0,
"ReportedRestQuantity": null,
"TimeUnit": 0,
"ReportedTime": 0.0,
"ReportedSetupTime": 0.0,
"WipLocation": null,
"ReportingEmployeeId": null,
"Rejections": null,
"Locations": null,
"ExistingLocations": null,
"StockLocations": null,
"ReportingWorkCenterId": null,
"TraceabilityData": null,
"AutomaticMaterialWithdrawal": null,
"ExcludeTransportLabelInformation": null,
"IsIncludingHidden": false,
"Comment": null,
"ActualReportDate": null,
"ReasonCodeTimeConsumptionId": null
}