WM_SHOP_RES_VW2(SQL View) |
Index Back |
---|
SELECT B.BUSINESS_UNIT_WO , B.SHOP_ID , B.EMPLID , C.NAME , B.SHIFT_ID FROM PS_RS_WRK_SHOP_HDR A , PS_RS_WRK_SHOP_DTL B , PS_PERSONAL_DATA C WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(C2.EFFDT) FROM PS_RS_WRK_SHOP_HDR C2 WHERE A.EMPLID = C2.EMPLID AND C2.EFFDT <= %CurrentDateIn) AND B.EFFDT = A.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SHOP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shop Identification |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | SHIFT_ID | Character(10) | VARCHAR2(10) NOT NULL | Shift ID |