LOC_INV_RL_VW(SQL View) |
Index Back |
---|---|
location in mult languageThis view shows only location and descr in mult language |
SELECT DISTINCT C.BUSINESS_UNIT , A.LOCATION , D.LANGUAGE_CD , D.DESCR FROM PS_LOCATION_TBL A , PS_SET_CNTRL_REC B , PS_BUS_UNIT_TBL_IN C , PS_LOCATION_LANG D WHERE C.BUSINESS_UNIT = B.SETCNTRLVALUE AND B.RECNAME = 'LOCATION_TBL' AND B.SETID = A.SETID AND D.SETID = A.SETID AND D.LOCATION = A.LOCATION AND D.EFFDT = A.EFFDT AND A.EFFDT = ( SELECT MAX(L.EFFDT) FROM PS_LOCATION_TBL L WHERE L.SETID = A.SETID AND L.LOCATION = A.LOCATION AND L.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ORIG_BU | Character(5) | VARCHAR2(5) NOT NULL | From Inventory Unit |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_TBL |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |