Work Orders
Iotellect Monitoring MES Core includes the Work Orders Relative Model (users.%.models.productionEntityWorkorders), which attaches to all production entities.
This model introduces the concept of a Work Order and extends production entities with the Work Orders variable (workorders) of the following format:
Field | Type | Description | ||
|---|---|---|---|---|
ID | String | Unique identifier of the work order | ||
type | String | Work order type (see Work Order Types model):
| ||
orderID | String | Unique identifier of the commercial order. Specified only if the work order is production-related | ||
segment | String | Segment executed as part of the production order. | ||
cycleCount | Integer | Number of segment repetitions required | ||
workload | Double | Production entity workload during execution of the work order | ||
inputProducts | Data Table | List of input product lots | ||
Field | Type | Description | ||
ID | String | Unique identifier of the lot | ||
product | String | Product context of the lot | ||
quantity | Double | Quantity of the product in the lot | ||
measurementUnit | String | Measurement unit of the product in the lot | ||
unit | String | Context identifying the source entity (storage cell or production entity) from which the lot is or will be delivered | ||
outputProducts | Data Table | List of input product lots | ||
Field | Type | Description | ||
ID | String | Unique identifier of the lot. | ||
product | String | Product context of the lot | ||
quantity | Double | Quantity of the product in the lot | ||
measurementUnit | String | Measurement unit of the product in the lot | ||
unit | String | Context identifying the source entity (storage cell or production entity) from which the lot is or will be delivered | ||
employees | Data Table | Team of employees assigned to perform the work order | ||
Field | Type | Description | ||
employee | String | Employee context | ||
role | String | Employee role within the work order | ||
workload | Double | Employee workload while executing the work order | ||
kit | Data Table | Set of tools required to perform the work order | ||
Field | Type | Description | ||
tool | String | |||
start | Date | Planned start date and time of the work order | ||
end | Date | Planned end date and time of the work order | ||
description | String | Detailed description of the work order | ||
status | String | Current status of the work order (see Work Order Statuses model) | ||
currentCycleCount | Integer | Current number of repetitions | ||
scrapRate | Integer | Number of defective repetitions | ||
realStart | Date | Actual start date and time of the work order | ||
realEnd | Date | Actual end date and time of the work order | ||
disableAutoCancelling | Boolean | Flag indicating that the work order will not be canceled during automatic schedule recalculation | ||
Functions
Function: Get Work Orders
The function returns the work orders of a production entity.
Function: | getWorkorders | ||
Permissions: | Available at the Observer permission level | ||
Input records: | 0 | ||
Input format: | |||
Output records: | 0...unlimited | ||
Output format: | Field | Type | Description |
ID | String | Unique identifier of the work order. | |
type | String | Work order type (see Work Order Types model). | |
orderID | String | Unique identifier of the commercial order. Specified if the work order is production-related. | |
segment | String | Segment executed as part of the production order. | |
cycleCount | Integer | Number of segment repetitions required. | |
workload | Double | Workload of the production entity while executing the work order. | |
inputProducts | Data Table | List of input product lots. | |
outputProducts | Data Table | List of output product lots. | |
employees | Data Table | Team of employees assigned to perform the work order. | |
kit | Data Table | Set of tools required to perform the work order. | |
start | Date | Planned start date and time of the work order. | |
end | Date | Planned end date and time of the work order. | |
description | String | Detailed description of the work order. | |
status | String | Current status of the work order (see Work Order Statuses model). | |
currentCycleCount | Integer | Current number of repetitions. | |
scrapRate | Integer | Number of defective repetitions. | |
realStart | Date | Actual start date and time of the work order. | |
realEnd | Date | Actual end date and time of the work order. | |
disableAutoCancelling | Boolean | Flag indicating that the work order will not be canceled during automatic schedule recalculation. | |
Function: Set Work Orders
The function sets the list of work orders for a production entity. If the list undergoes significant changes, the Work Orders Updated event is triggered.
Function: | setWorkorders | ||
Permissions: | Available at the Observer permission level | ||
Input records: | 1 | ||
Input format: | Field | Type | Description |
workorders | Data Table | Work orders | |
Output records: | 1 | ||
Output format: | null | ||
Events
Event: Work Orders Updated
The Work Orders Updated event (updatedWO) is triggered when the list of work orders for a production entity is significantly updated through the Set Work Orders function.
Field | Type | Description |
|---|---|---|
productionEntity | String | Production entity. |
dateTime | Date | Date and time when the event occurred. |
changedWO | Data Table | Modified work orders. |
addedWO | Data Table | Added work orders. |
removedWO | Data Table | Removed work orders. |
Was this page helpful?