WM_AREA_CUR_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT A.SETID , A.LOCATION , A.AREA_ID FROM PS_AM_AREA_TBL A WHERE A.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_AM_AREA_TBL E WHERE E.SETID = A.SETID AND E.LOCATION = A.LOCATION AND E.AREA_ID = A.AREA_ID AND E.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
3 | AREA_ID | Character(10) | VARCHAR2(10) NOT NULL | Area ID |