DEPTID_MONVW1

(SQL View)
Index Back

GL Department View


SELECT b.business_unit , a.deptid , a.descr , a.descrshort , a.manager_name , a.effdt , a.eff_status FROM ps_dept_tbl a , PS_BUS_UNIT_INTFC b , ps_set_cntrl_rec c WHERE b.business_unit = c.setcntrlvalue AND c.recname = 'DEPT_TBL' AND c.setid = a.setid AND a.effdt = ( SELECT MAX(d.effdt) FROM ps_dept_tbl d WHERE d.deptid = a.deptid AND d.setid = a.setid AND d.eff_status = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
4 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
5 MANAGER_NAME Character(30) VARCHAR2(30) NOT NULL Identifies the name of the manager of a specified department.
6 EFFDT Date(10) DATE Effective Date
7 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive