P6_WM_SHOP(SQL View) |
Index Back |
---|---|
P6 - Work Order Mgmt Shop Id |
SELECT B.BUSINESS_UNIT , B.SHOP_ID , A.DESCR FROM PS_WM_SHOP_DEFN A , PS_WM_SHOP_HDR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SHOP_ID = B.SHOP_ID AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_WM_SHOP_HDR C WHERE C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.SHOP_ID = B.SHOP_ID AND C.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
2 | SHOP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shop Identification |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |