AM_WM_LOC_LG(SQL View) |
Index Back |
---|---|
Locations for WM |
SELECT %Substring(B.SETCNTRLVALUE,1,5) , A.LOCATION , D.LANGUAGE_CD , %Substring(A.DESCR,1,10) FROM PS_LOCATION_TBL A , PS_SET_CNTRL_REC B , PS_BUS_UNIT_TBL_WM C , PS_LOCATION_LANG D WHERE B.RECNAME = 'LOCATION_TBL' AND A.SETID = B.SETID AND C.BUSINESS_UNIT = B.SETCNTRLVALUE AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_LOCATION_TBL D WHERE D.SETID = A.SETID AND D.LOCATION = A.LOCATION) AND D.SETID = A.SETID AND D.LOCATION = A.LOCATION AND D.EFFDT = A.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit Work Order | |
2 | Character(10) | VARCHAR2(10) NOT NULL | Location Code | |
3 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |