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

New Job_History Table

  • Last UpdatedDec 18, 2018
  • 2 minute read

For entities that can run jobs, the job_history table captures the jobs that are run. Also captured are the position on which the job was running and when the job started and ended.

When a job is started, a new record is created with the job_start_utc column populated. When a job is ended or suspended, the job_end_utc column is updated. A null value in the job_end_utc indicates that the job is currently running.

A job's duration is calculated as the time between the start and end timestamps.

Updates to this table have no impact on the util_history table. However, the corresponding records in the job_hour_history table are updated if those jobs ended before the cut‑off period prior to the current UTC time.

Data Editor can create, update, and delete records in this table.

Field

Datatype

PK

Nulls?

Description

ent_id

int32

Y

N

Identifies the entity.

wo_id

string40

Y

N

Work order identifier

oper_id

string40

Y

N

Operation identifier

seq_no

int32

Y

N

Identify row in job table

job_start_utc

tdatetime

Y

N

When the job started, in UTC (GMT)

job_start_local

tdatetime

N

N

When the job started, in local time

job_pos

int32

N

N

Position at which the job ran.

item_id

string40

N

N

The item being produced.

job_end_utc

tdatetime

N

N

When the job ended, in UTC (GMT).

job_end_local

tdatetime

N

N

When the job ended, in local time.

spare1

string80

N

Y

Use defined by language term 5635.

spare2

string80

N

Y

Use defined by language term 5636.

spare3

string80

N

Y

Use defined by language term 5637.

spare4

string80

N

Y

Use defined by language term 5638.

last_edit_comment

string254

N

Y

Why this record was changed.

This field is internally maintained. The last transaction context is stored in this field to indicate what caused the record to be inserted or modified.

last_edit_by

string40

N

Y

Who last changed this record.

last_edit_at

tdatetime

N

N

When this record was last changed.

row_id

ID 0

N

N

Unique row identifier, for audit trail.

FK from ent_id to ent. (Cascade delete)

ent_id, job_pos, job_start_utc is UK.

ent_id, wo_id, oper_id, seq_no, job_start_utc is UK.

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