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

labor_usage

  • Last UpdatedNov 20, 2024
  • 2 minute read

The labor_usage table logs the labor time for each labor category and employee ID for each of the standard domains. It is anticipated that entries older than a specified amount will be compressed to the granularity of a shift or coarser, to speed historical reports covering a long time. Multiple compression thresholds, with different temporal granularities, might be required.

Field

Datatype

PK

Nulls?

Description

labor_start_utc

tdatetimems

N

N

When this labor usage entry started (to the millisecond) in UTC

labor_start_local

tdatetimems

N

N

When this labor usage entry started (to the millisecond) in local time

user_id

string40

N

N

User id

ent_id

int32

N

N

Entity id

wo_id

string40

N

Y

Work order identifier

oper_id

string40

N

Y

Operation identifier

seq_no

int32

N

Y

Identify row in job table

step_no

int32

N

Y

Identify which step in job

item_id

string40

N

Y

Which item being produced

lot_no

string40

N

Y

Identify a lot number

sublot_no

string40

N

Y

Identify a sublot number

lab_cd

string40

N

N

Labor category

dept_id

string40

N

N

Labor dept

shift_id

int32

N

N

Shift identifier

shift_start_utc

tdatetime

N

N

When shift started in UTC

shift_start_local

tdatetime

N

N

When shift started in local time

pct_to_apply

tfloat

N

N

% of time for this row when the user is multitasking. (Default = 1)

active

logical

N

N

Is this row currently active (duration will be updated in the background)?

duration

int32

N

N

Duration of this event in seconds

comments

string254

N

Y

Text describing event

raw_reas_cd

string40

N

Y

Underlying raw reason code, if from a UCO

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

mod_id

timestamp

N

N

A binary number that increments each time the row is modified.

log_id

ID 1

Y

N

Arbitrary number just so there’s a primary key

Index on user_id, ent_id, active.

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