Current job attributes available at run time
- Last UpdatedFeb 10, 2025
- 2 minute read
The following attributes are available for a job position of an entity at run time. These attributes represent the current state of a running job. The variable N in the table represents a job position. At run time, the value of N is replaced by the corresponding job position value.
Note that job-related transactions can update the job attributes in the object. The preferred method is to record these transactions through the application object. If an external mechanism (for example, the MES Stateless API or MES Operator) modifies job attributes, only CurWOId, CurOperId, and CurSeqNo are updated, which then must be propagated through scripting to Operation, SequenceNumber, and WorkOrder.
|
Attribute Name |
Description |
Configura- |
Run Time Access |
|---|---|---|---|
|
JobPosN. |
Identifies the work order that is currently running on this entity at this job position. |
No |
Read-Only |
|
JobPosN. |
Identifies the operation id of the job that is currently running on this entity at this job position. |
No |
Read-Only |
|
JobPosN. |
Identifies the job sequence number (normally 0, >1 in case of split jobs) that is currently running on this entity at this job position. |
No |
Read-Only |
|
JobPosN. |
Identifies the item that is currently being produced by this job. |
No |
Read-Only |
|
JobPosN. |
Identifies the operation that the job is currently running on this entity at this job position. This attribute is used when recording production counts and if used in other calls. |
No |
Read-Only |
|
JobPosN. |
Identifies the starting quantity. |
No |
Read-Only |
|
JobPosN. |
Identifies the quantity of item required. |
No |
Read-Only |
|
JobPosN. |
Identifies the number of quantities produced so far. |
No |
Read-Only |
|
JobPosN. |
Identifies the number of quantities rejected so far. |
No |
Read-Only |
|
JobPosN. |
Identifies the required completion time of this job. |
No |
Read-Only |
|
JobPosN. |
Identifies the work order that is currently running on this entity at this job position. This attribute is used when recording production counts and if used in other calls. |
No |
Read-Only |
|
JobPosN. |
Identifies the job sequence number (normally 0, >1 in case of split jobs). This attribute is used when recording production counts and if used in other calls. |
No |
Read-Only |
|
JobPosN. |
An integer value that represents an error has occurred while processing the call. This attribute value will be set to 0 if the last call was successful. |
No |
Read-Only |
|
JobPosN. |
Provides a readable description of the error that occurs while processing the middleware call to set the job BOM defaults. |
No |
Read-Only |
|
JobPosN. |
Indicates the status of the request sent to the middleware. The following are the different statuses:
|
No |
Read-Only |