Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

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-
tion

Run Time Access

JobPosN.
CurWoId

Identifies the work order that is currently running on this entity at this job position.

No

Read-Only

JobPosN.
CurOperId

Identifies the operation id of the job that is currently running on this entity at this job position.

No

Read-Only

JobPosN.
CurSeqNo

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.
ItemId

Identifies the item that is currently being produced by this job.

No

Read-Only

JobPosN.
Operation

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.
QtyAtStart

Identifies the starting quantity.

No

Read-Only

JobPosN.
QtyReqd

Identifies the quantity of item required.

No

Read-Only

JobPosN.
QtyProd

Identifies the number of quantities produced so far.

No

Read-Only

JobPosN.
QtyRejected

Identifies the number of quantities rejected so far.

No

Read-Only

JobPosN.
ReqdFinishTime

Identifies the required completion time of this job.

No

Read-Only

JobPosN.
WorkOrder

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.
SequenceNumber

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.
ErrorCode

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.
ErrorMessage

Provides a readable description of the error that occurs while processing the middleware call to set the job BOM defaults.

No

Read-Only

JobPosN.
Status

Indicates the status of the request sent to the middleware. The following are the different statuses:

  • Ready: If the object is ready to process the request.

  • Busy: If the call is currently being processed.

  • Error: If there is an error during the last call.

No

Read-Only

TitleResults for “How to create a CRG?”Also Available in