RG_LOCTN_WRK_VW(SQL View) |
Index Back |
---|---|
Location Tbl - Worker ViewChange Management's version of Location by Worker Selects only the current active rows. |
SELECT A.SETID , A.LOCATION , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCR_AC , A.DESCRSHORT , A.BUILDING , A.FLOOR , A.SECTOR , A.JURISDICTION FROM PS_LOCATION_TBL A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_LOCATION_TBL B WHERE B.SETID = A.SETID AND B.LOCATION = A.LOCATION AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL |
Location SetID
Prompt Table: SP_SETID_NONVW |
2 | LOCATION | Character(15) | VARCHAR2(15) NOT NULL | This field stores the Location Code. |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCR_AC | Character(30) | VARCHAR2(30) NOT NULL | Alternate Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
8 | BUILDING | Character(10) | VARCHAR2(10) NOT NULL | Building # |
9 | FLOOR | Character(10) | VARCHAR2(10) NOT NULL | Floor # |
10 | SECTOR | Character(10) | VARCHAR2(10) NOT NULL | Sector |
11 | JURISDICTION | Character(5) | VARCHAR2(5) NOT NULL | Jurisdiction |