RD_LOC_WRKR_VW(SQL View) |
Index Back |
---|---|
Location ViewLocation View used for Person SES. |
SELECT A.BO_ID , C.LOCATION ,D.ROLE_TYPE_ID , C.DESCR FROM PS_RD_PERSON A , PS_RC_WRKR_JOB B , PS_LOCATION_TBL C ,PS_RD_WRKR_ASGN D WHERE A.PERSON_ID = B.PERSON_ID AND B.SETID_LOCATION = C.SETID AND B.LOCATION = C.LOCATION AND D.BO_ID=A.BO_ID AND D.PERSON_ID=A.PERSON_ID AND d.primary_ind='Y' AND C.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_LOCATION_TBL A1 WHERE C.SETID = A1.SETID AND C.LOCATION = A1.LOCATION AND A1.EFFDT <= %CurrentDateIn AND A1.EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | LOCATION | Character(15) | VARCHAR2(15) NOT NULL | This field stores the Location Code. |
3 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |