AddNewOrderBoundRecording
Command, Introduced in version 2.27
POST https://localhost:8001/sv/001.1/api/v1/TimeRecording/RecordingDays/AddNewOrderBoundRecording
Adds a new work recording interval as an adjustment on an existing recording day.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the recording day that was updated. References RecordingDays
The entity id of the response is the business key identifier of the created 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. |
|
| RecordingDate | DateTime | The date of the day to add the recording to.
|
|
| StartTime | DateTimeOffset | The start of the recording.
|
|
| EndTime | DateTimeOffset | The end of the recording.
|
|
| BundleId | Guid? | An identifier used to bundle work together. If unspecified a new guid will be generated. |
|
| IsSetupTime | Boolean | Specifies if this was a setup-time recording.
|
|
| 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 |
|
| Rejections | AddRejectionRow[] | The rejections to report. See also ReportManufacturingOrderOperation. |
|
| Locations | AddLocationRow[] | The new locations to create when reporting. Ignored if part does not manage stock balance. See also ReportManufacturingOrderOperation.
|
|
| Comment | SetComment | Comment to link to the recording. |
|
| ExistingLocations | ExistingLocationRow[] | The existing locations to report to. Ignored if part does not manage stock balance. See also ReportManufacturingOrderOperation.
|
Introduced in version 2.43 |
| StockLocations | StockLocation[] | The part locations to report to when reporting the last operation. Ignored for other operations and if the part does not manage stock balance. Each new location is created once, however many product records are reported to it. Cannot be combined with Locations or ExistingLocations. Unlike ReportManufacturingOrderOperation, MONITOR does not select the serial numbers for an existing location. When the manufacturing order node has serial numbers, a location with a PartLocationId must list them in ProductRecords by ProductRecordId. See also ReportManufacturingOrderOperation.
|
Introduced in version 26.8 |
| ManufacturingOrderMaterialReportings | ReportManufacturingOrderMaterial[] | The manual material reportings for the order bound recording. |
Introduced in version 22.2 |
| TraceableManufacturingOrderMaterialReportings | ReportTraceableManufacturingOrderMaterial[] | The manual traceable material reportings for the order bound recording. |
Introduced in version 22.2 |
| TraceabilityData | SetManufacturingOrderOperationReportingTraceabilityData | The traceability data to apply when reporting the operation.
|
Introduced in version 22.2 |
| 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. Ignored for setup time.
|
Introduced in version 26.9 |
Example
{
"EmployeeId": 0,
"SigningEmployeeId": null,
"RecordingDate": "0001-01-01T00:00:00",
"StartTime": "0001-01-01T00:00:00+00:00",
"EndTime": "0001-01-01T00:00:00+00:00",
"BundleId": null,
"IsSetupTime": false,
"OperationId": 0,
"ReportedQuantity": 0.0,
"WipLocation": null,
"ReportingWorkcenterId": null,
"Rejections": null,
"Locations": null,
"Comment": null,
"ExistingLocations": null,
"StockLocations": null,
"ManufacturingOrderMaterialReportings": null,
"TraceableManufacturingOrderMaterialReportings": null,
"TraceabilityData": null,
"ReasonCodeTimeConsumptionId": null
}