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

How job creation attributes are used with the job creation commands

How job creation attributes are used with the job creation commands

  • Last UpdatedJan 31, 2025
  • 5 minute read

The following table describes how the Create New Job and Create New Jobs from Process commands use the job creation attributes to create a job.

Attribute Name

Used by Create New Job (CNJ) Command

Used by Create New Jobs from Process (CNJFP) Command

Comments

Work Order

Yes

Yes

CNJ (Optional) - If the work order is supplied, then it is used to create a new work order.

If the value for this attribute is not supplied, the default value that is configured in the system for the Default Work Order ID attribute is used to create a new work order.

If such a work order already exists, a new job is created using this work order.

CNJFP (Required) - While creating a work order from the process, an error is logged if the supplied work order already exists in the database or a work order ID is not supplied.

A work order is created if all the conditions, such as user privileges and process status, are passed; otherwise, an error is logged.

Item Class

Yes

No

CNJ (Optional) - If the item class is supplied and the supplied item class does not exist in the database, then a new item class is created.

If a value for the item class is not supplied, then the default value that is configured in the system for the Default Item Class ID attribute is used to create a new item class. The item class is created only if the item does not exist in the database; otherwise, the item class is ignored.

A warning message will be returned, and logged in the Logger, if there is a discrepancy between the supplied item and the item class.

Item

Yes

Yes

CNJ (Optional) - When the item is supplied, and the item does not exist in the database, a new item is created.

If a value for the item is not supplied, the default value configured in the system for the Default Item ID attribute is used to create a new item.

CNJFP (Required) - If an item is not supplied while creating a work order from a process, an error is logged in the Logger.

A work order using the supplied item is created if all the conditions, such as user privileges and process status, are passed; otherwise, an error is logged.

Item Unit Of Measure

Yes

No

CNJ (Optional) - When the supplied value for the unit of measure contains an empty string, a default value from the system Default Unit of Measure for Items attribute is used.

Either the supplied value or a value from the system attribute is used to create a new unit of measurement, but only if the identified item and the UOM does not exist in the database. Otherwise, the obtained unit of measurement is ignored, and a warning message indicating the discrepancy between the item's UOM and the supplied UOM is returned.

Operation

Yes

No

CNJ (Optional) - When the value for the operation is blank, a default value from the system Default Operation ID attribute is used.

The supplied value or a value from the system attribute is used to create a new job only if the identified work order and operation do not exist in the database and the supplied item, item UOM, target production rate, start quantity, required quantity, and batch size do not match with the existing job that has the supplied work order and operation. If no such job is found, a new job with the next highest sequence number is used; otherwise, no action will be taken.

Required Quantity

Yes

Yes

The required quantity represents the quantity of good items that must be produced before finishing a job.

CNJ (Optional) - Total number of required items to be produced. The default value is 0.

CNJFP (Optional) - Total number of required items to be produced. The default value is 0.

Start Quantity

Yes

Yes

The start quantity represents the initial quantity to start a process. The start quantity must be equal to or greater than the required quantity.

CNJ (Optional) - Total number of quantity to produce if there are no scrap, waste, or rejects. The default value is 0.

CNJFP (Optional) - Total number of quantity to produce if there are no scrap, waste, or rejects. The value must be greater than or equal to the required quantity. The default value is 0.

Batch Size

Yes

No

CNJ (Optional) - Amount of product per batch. Used to force multiples of production in some cases. The default value is 1.

The batch size represents the group of quantities that are processed together. Batch size is used to calculate the production statistics, such as OEE.

Target Job Production Rate

Yes

No

CNJ (Optional) - Estimated entity batch rate, or time, depending upon the production rate of measure. The default value is 0.

The production rate represents the number of batches with specified size that you want to produce within a period (for example, 10 batches per hour).

Target Job Production Rate Unit Of Measure

Yes

No

CNJ (Optional) - Units of measurement, such as hours/batch and minutes/batch. The default value is hours/batch.

Operator

No

Yes

CNJFP (Required) - Used to identify the user and verify whether the user has the required permission to create a work order from a process. A valid MES user must be supplied.

Manufacturing Order

Yes

Yes

CNJ (Optional) - Used only when a new work order is created. If the supplied work order already exists in the database, the manufacturing order is not updated against the existing work order.

CNJFP (Optional) - Used when a new work order is created.

Production Schedule

Yes

Yes

CNJ (Optional) - Used only when a new work order is created. If the supplied work order already exists in the database, the production schedule is not updated against the existing work order.

CNJFP (Optional) - Used when a new work order is created.

Update Inventory

Yes

No

CNJ (Optional) - Determines whether to track inventory for this job. The default value is False.

The inventory is updated whenever an item is produced or consumed by a job.

Process

No

Yes

CNJFP (Required) - Used to identify the process from which this work order must be instantiated. The Process attribute must already be defined in the MES system.

BOM Version

No

Yes

CNJFP (Required) - Used to identify the BOM version of the original item this work order makes. The BOM Version attribute must already be defined in the MES system.

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