data-dictionary

FPSBASE.CAL_SHIFTS

Data Dictionary

>

FPSBASE Tables

> FPSBASE.CAL_SHIFTS

Table FPSBASE.CAL_SHIFTS"

All known shifts including past, present, and future.

  • Schema: FPSBASE

  • Tablespace: FPSDATA

  • Primary key: START_SHIFT

  • Foreign keys: CAL_SHIFTS_FK_DAY: START_WORK_DAY REFERENCES FPSINPUT.CAL_WORK_DAYS (START_WORK_DAY)

  • Referenced by: FPSAPP.DASH_B_H_SHIFT_SUMMARY (START_SHIFT) FPSAPP.DASH_P_ECT_WIP_SHIFT_HIST (START_SHIFT) FPSAPP.PERF_P_H_COMP_WIP_SHIFT (START_SHIFT) FPSAPP.SYSMNTR_P_CONFORMANCE_HIST (START_SHIFT) FPSAPP.WF_P_H_FLUSH (START_SHIFT) FPSBASE.EQP_COMP_SHIFT_HIST (START_SHIFT) FPSBASE.EQP_ENTITY_E10_SHIFT_HIST (START_SHIFT) FPSBASE.EQP_ENTITY_SHIFT_HIST (START_SHIFT) FPSBASE.EQP_TOOL_E10_SHIFT_HIST (START_SHIFT) FPSBASE.EQP_TOOL_SHIFT_HIST (START_SHIFT) FPSBASE.EQP_UNITS_SHIFT_HIST (START_SHIFT) FPSBASE.ETP_ENTITY_E10_SHIFT_HIST (START_SHIFT) FPSBASE.ETP_ENTITY_SHIFT_HIST (START_SHIFT) FPSBASE.ETP_TOOL_E10_SHIFT_HIST (START_SHIFT) FPSBASE.ETP_TOOL_SHIFT_HIST (START_SHIFT) FPSBASE.WIP_END_SHIFT_HIST (START_SHIFT) FPSBASE.WIP_GOALS_PER_SHIFT_HIST (START_SHIFT) FPSBASE.WIP_GOAL_LOT_SHIFT_HIST (START_SHIFT) FPSBASE.WIP_RESERVE_HIST (START_SHIFT) FPSINPUT.WIP_OVR_OPER_MOVES_HIST (START_SHIFT)


Column

Type

Nullable

Comment

START_SHIFT

DATE

N

Shifts can be of any length and it is important that all queries get the shift length based on start_shift and end_shift rather than assuming a set number of hours.

END_SHIFT

DATE

N

End of shift must be equal to the start of the next shift. Please note that the exact time which is both of the end of the previous shift and the start of the next shift is included in the next shift. In other words, start_shift <= inst < end_shift.

SHIFT

VARCHAR2(13)

N

Name of shift must be unique and can be in any format as long as it is display friendly since this is what we show everywhere. We prefer that other tables should reference start_shift rather than shift in case we want to change the naming convention for the shift.

SHIFT_INDEX

NUMBER(5)

0 represents the current shift. 1 is the next shift then 2 follows and so on. -1 is the previous shift and -2 is the shift before that and so on. This column is set automatically by trigger.

START_WORK_DAY

DATE

N

Work days must be 24 hours in length and the start of the work day must be the start of one of the shifts. Contrast this to plan day which is independent of shift. (* from FPSINPUT.CAL_WORK_DAYS)

WORK_GROUP

VARCHAR2(6)

N

Identifies the workforce on the shift so that we can compare performance of the different shifts. If the same people constantly work the same schedule this is the same as work_period.