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

StartJob() method

  • Last UpdatedNov 26, 2024
  • 2 minute read

Use the StartJob() method to start the specified job on the current entity if the following conditions exist:

  • The _startJob flag is True.

  • An operator is currently logged on.

  • The operator is logged on to at least one entity.

  • The maximum number of jobs is not already running or entity can run jobs concurrently.

  • The job is not currently running.

The operator is prompted to confirm the action of starting the job.

Syntax

StartJob(woId, operId, seqNo, woDesc, jobDesc, statusNotes, canAppendNotes, canReplaceNotes, userCancelled[,concurrentLink]);

Parameters

woId

A string that indicates the work order ID used to identify the job to be started.

operId

A string that indicates the operation ID used to identify the job to be started.

seqNo

An integer that represents the sequence number used to identify the job to be started.

woDesc

A string that indicates the work order description used in the confirmation dialog box.

jobDesc

A string that indicates the job description used in the confirmation dialog box.

statusNotes

A string that indicates the status notes used in the confirmation dialog box.

canAppendNotes

A Boolean value that is True if this operator can append to the Status Notes in the confirmation dialog box.

canReplaceNotes

A Boolean value that is True if this operator can replace the Status Notes in the confirmation dialog box.

userCancelled

A Boolean value that is returned as True if the operator cancels this action when prompted for confirmation.

concurrentLink

An integer for the specified job used to determine if this is a batch of jobs or not. A value is greater than 0 and where other jobs have the same value means it is part of a batch. This is an optional parameter and the default value is 0.

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