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 Entity
The root entity id of the response is the business key identifier of the recording day
that was updated. References Recording
The entity id of the response is the business key identifier of the created work interval.
References Work
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 | Date |
The date of the day to add the recording to.
|
|
StartTime | Date |
The start of the recording.
|
|
EndTime | Date |
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 Manufacturing
|
|
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 Work |
|
Rejections | Add |
The rejections to report. See also Report |
|
Locations | Add |
The new locations to create when reporting. Ignored if part does not manage stock balance. See also Report
|
|
Comment | Set |
Comment to link to the recording. |
|
ExistingLocations | Existing |
The existing locations to report to. Ignored if part does not manage stock balance. See also Report
|
Introduced in version 2.43 |
ManufacturingOrderMaterialReportings | Report |
The manual material reportings for the order bound recording. |
Introduced in version 22.2 |
TraceableManufacturingOrderMaterialReportings | Report |
The manual traceable material reportings for the order bound recording. |
Introduced in version 22.2 |
TraceabilityData | Set |
The traceability data to apply when reporting the operation.
|
Introduced in version 22.2 |
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,
"ManufacturingOrderMaterialReportings": null,
"TraceableManufacturingOrderMaterialReportings": null,
"TraceabilityData": null
}