RF_ASSET_DPT_VW(SQL View) |
Index Back |
---|---|
Department ViewThis view is used exclusively in outer joins by other FieldService views. It is not in use on any page. |
SELECT B.SETCNTRLVALUE , A.DEPTID , A.DESCR FROM PS_DEPT_TBL A , PS_SET_CNTRL_REC B WHERE A.SETID = B.SETID AND B.RECNAME = 'DEPT_TBL' AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_DEPT_TBL C WHERE C.SETID = A.SETID AND C.DEPTID = A.DEPTID AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETCNTRLVALUE | Character(20) | VARCHAR2(20) NOT NULL | Tree Definition User Key Value |
2 | DEPTID | Character(15) | VARCHAR2(15) NOT NULL | Department |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |