FO_SC_DEPT_VW

(SQL View)
Index Back

View of all Departments

View for all the most current Departments, in DEPT_TBL.

SELECT A.SETID , A.DEPTID , A.DESCR , A.MANAGER_NAME FROM PS_DEPT_TBL a WHERE a.effdt = ( SELECT MAX(b.effdt) FROM PS_DEPT_TBL b WHERE B.SETID = A.SETID AND B.DEPTID = A.DEPTID AND B.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPT_TBL

3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 MANAGER_NAME Character(30) VARCHAR2(30) NOT NULL Identifies the name of the manager of a specified department.