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

job_history

  • Last UpdatedDec 02, 2024
  • 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 time in UTC.

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

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

Y

When the job ended, in UTC.

job_end_local

tdatetime

N

Y

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

notes

N

Y

Reserved for internal use to indicate why this record was changed

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 1

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