MG_CAL_ALT_R_VW(SQL View) |
Index Back |
---|---|
MFG WC Calendr Relative Cap VW07/23/98 TKI CN#MG800-5.0 Replaced b.shift with b.mg_shift in query for database reconciliation project |
select distinct a.business_unit, a.calendar_code, a.mfg_date, a.mfg_shift, a.mfg_shift_cd, a.mfg_month, a.mfg_year, b.start_time, b.end_time, b.time_assoc_prdn_dt from ps_mg_calendar a, PS_MG_SHIFTS b, ps_bus_unit_opt_mg c where a.business_unit = b.business_unit and a.mfg_shift_cd = b.mg_shift and a.mfg_shift between 1 and 3 and a.calendar_code = c.calendar_code_pr and a.business_unit = c.business_unit |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
2 | Character(10) | VARCHAR2(10) NOT NULL | This code is for a group of dates associated with exchange (stock, money, commodity) traded future or option contracts. | |
3 | Date(10) | DATE | Date | |
4 | Signed Number(3,0) | DECIMAL(2) NOT NULL | MFG Shift | |
5 | MFG_SHIFT_CD | Number(2,0) | SMALLINT NOT NULL | Shift Code |
6 | MFG_MONTH | Number(2,0) | SMALLINT NOT NULL | Month |
7 | MFG_YEAR | Number(4,0) | SMALLINT NOT NULL | Year |
8 | START_TIME | Time(15) | TIMESTAMP | Start of Shift |
9 | END_TIME | Time(15) | TIMESTAMP | End of Shift |
10 | TIME_ASSOC_PRDN_DT | Character(4) | VARCHAR2(4) NOT NULL |
Time Assoc. with Prdn Date
END=End Time STRT=Start Time |