WM_PMSR_LOCVWML(SQL View) |
Index Back |
---|---|
Location View |
SELECT DISTINCT B.SETID , A.LOCATION , B.EFFDT , E.LANGUAGE_CD , B.DESCR FROM PS_WM_PM_SCHD A , PS_LOCATION_VW B , PS_LOCATION_VWLN E WHERE B.SETID = ( SELECT I.SETID FROM PS_SET_CNTRL_REC I WHERE I.SETCNTRLVALUE = A.BUSINESS_UNIT AND I.RECNAME = 'LOCATION_VW') AND B.LOCATION = A.LOCATION AND B.EFFDT = ( SELECT MAX (D.EFFDT) FROM PS_LOCATION_VW D WHERE D.SETID = B.SETID AND D.LOCATION = A.LOCATION AND D.EFFDT <= %CurrentDateIn) AND B.SETID = E.SETID AND B.LOCATION = E.LOCATION AND B.EFFDT = E.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |