HRCD_OTHEREMP_V

(SQL View)
Index Back

Co. Directory - Other Per Prpt

Company Directory Setup - Start Page Content Prompt view for selecting an Emplid as the starting node

SELECT DISTINCT T.SETID , T.SETCNTRLVALUE , T.TREE_NAME , T.EFFDT , PJ.EMPLID , N.NAME_DISPLAY , N.LAST_NAME_SRCH , PJ.BUSINESS_UNIT , PJ.SETID_DEPT , PJ.DEPTID , PJ.SETID_JOBCODE , PJ.JOBCODE FROM PS_PRIMARY_JOB_VW PJ , PS_PERSON_NAME N , PSTREEDEFN T , PSTREENODE TN , PS_HRCD_JOB_TREE JT WHERE PJ.EMPLID = N.EMPLID AND T.SETID = TN.SETID AND T.SETCNTRLVALUE = TN.SETCNTRLVALUE AND T.TREE_NAME = TN.TREE_NAME AND T.EFFDT = TN.EFFDT AND PJ.HR_STATUS = 'A' AND JT.EMPLID = PJ.EMPLID AND JT.EMPL_RCD = PJ.EMPL_RCD AND JT.TREE_NODE = TN.TREE_NODE AND PJ.EFFDT <= T.EFFDT AND PJ.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOB WHERE EMPLID = PJ.EMPLID AND EMPL_RCD = PJ.EMPL_RCD AND EFFDT <= %CurrentDateIn)

  • Related Language Record: HRCD_OTHEREMPVL
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID_TREE Character(5) VARCHAR2(5) NOT NULL SetID
    2 SETCNTRLVALUE Character(20) VARCHAR2(20) NOT NULL Tree Definition User Key Value
    3 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
    4 TREE_EFFDT Date(10) DATE Effective date of the Tree
    5 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    6 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
    7 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
    8 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: BUS_UNIT_TBL_HR

    9 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
    10 DEPTID Character(10) VARCHAR2(10) NOT NULL Department ID
    11 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
    12 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code