RC_DEPT_VW1(SQL View) |
Index Back |
---|---|
Department ViewDepartment View. Used in BO Search Setup |
SELECT A.BO_ID , C.DEPTID , C.DESCR FROM PS_RD_PERSON A , PS_RC_WRKR_JOB B , PS_DEPT_TBL C WHERE A.PERSON_ID = B.PERSON_ID AND B.SETID_DEPT = C.SETID AND B.DEPTID = C.DEPTID AND C.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_DEPT_TBL A1 WHERE C.SETID = A1.SETID AND C.DEPTID = A1.DEPTID 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 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | Department |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |