HCSC_BU_DEPT_VW

(SQL View)
Index Back

Business Unit Department ID

View to get Departments for a given Business Unit

SELECT BU.BUSINESS_UNIT , DEPT.DEPTID , DEPT.EFFDT ,DEPT.DESCR FROM PS_DEPT_TBL DEPT , PS_SET_CNTRL_GROUP CTL , PS_BUS_UNIT_TBL_HR BU WHERE CTL.SETCNTRLVALUE = BU.DEFAULT_SETID AND CTL.REC_GROUP_ID IN ( SELECT S.REC_GROUP_ID FROM PS_REC_GROUP_REC S WHERE S.RECNAME = 'DEPT_TBL') AND CTL.SETID = DEPT.SETID

  • Related Language Record: HCSC_BU_DEPT_LN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    3 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description