ReportOrderBoundWork
Command, Introduced in version 2.26
POST https://localhost:8001/sv/001.1/api/v1/TimeRecording/RecordingDays/ReportOrderBoundWork
Reports operation time and optionally quantities for non-setup recordings. To handle bundling correctly use the /Many variant to start the full bundle at the same time.
Which existing started work interval to report on is determined with the combination of OperationId, BundleId and IsSetupTime.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the RecordingDay that was updated. References RecordingDays
The entity id of the response is the business key identifier of the updated work interval. References WorkIntervals
Required permission
Record
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
EmployeeId | Int64 | The business key identifier of the employee to create the recording for. References Persons.
|
|
SigningEmployeeId | Int64? | The business key identifier of the signing employee if different from the reporting employee. Usually used for machine recording to indicate the operator. References Persons. |
|
TimeStamp | DateTimeOffset? | Which time to record for, if unspecified the current server time will be used. Timestamp with a value greater than the server's current time is not allowed. |
|
PutOnStandby | Boolean | Put work on standby after reporting. |
|
BundleId | Guid | An identifier used to bundle work together. There must exist a matching started work with this bundle id.
|
|
IsSetupTime | Boolean | Indicates if this was a setup-time recording. Must match with the started work. It is not possible to change the type of recording when reporting.
|
|
OperationId | Int64 | The business key identifier of the operation to report. References ManufacturingOrderOperations.
|
|
ReportedQuantity | Decimal | The quantity to report. Leave as zero to only report time. |
|
WipLocation | String | Work in progress location (goods location) |
|
ReportingWorkcenterId | Int64? | Used to specify reporting workcenter. If not specified, the operations workcenter will be used for the reporting. References WorkCenters |
|
CancelRest | Boolean | Indicator if rest quantity should be canceled. |
|
Rejections | AddRejectionRow[] | The rejections to report. See also ReportManufacturingOrderOperation. |
|
Locations | AddLocationRow[] | The new locations to create when reporting. See also ReportManufacturingOrderOperation.
|
|
Comment | SetComment | Comment to link to the recording. |
Introduced in version 2.27 |
ExistingLocations | ExistingLocationRow[] | The existing locations to report to.
|
Introduced in version 2.43 |
TraceabilityData | SetManufacturingOrderOperationReportingTraceabilityData[] | The traceability data to apply when reporting the operation.
|
Introduced in version 2.43 |
ReturnTools | Boolean | Try to return reusable tools if the work center has the setting for it turned on. |
Introduced in version 23.8 |
Example
{
"EmployeeId": 0,
"SigningEmployeeId": null,
"TimeStamp": null,
"PutOnStandby": false,
"BundleId": "00000000-0000-0000-0000-000000000000",
"IsSetupTime": false,
"OperationId": 0,
"ReportedQuantity": 0.0,
"WipLocation": null,
"ReportingWorkcenterId": null,
"CancelRest": false,
"Rejections": null,
"Locations": null,
"Comment": null,
"ExistingLocations": null,
"TraceabilityData": null,
"ReturnTools": false
}