HRMH_JOBCODE_VW(SQL View) |
Index Back |
---|---|
Matrix JobCode ViewMatrix JobCode View used in Fluid Approvals |
SELECT A.HRMH_MATRIX_ID , A.EFFDT , A.EMPLID , C.DESCR FROM PS_HRMH_MATRX_MEMB A , PS_JOB JOB , PS_JOBCODE_TBL C WHERE JOB.EMPLID = A.EMPLID AND JOB.EMPL_RCD = A.EMPL_RCD AND JOB.SETID_JOBCODE = C.SETID AND JOB.JOBCODE = C.JOBCODE AND C.EFF_STATUS = 'A' AND %EffdtCheck(JOBCODE_TBL, C, %CurrentDateIn) AND JOB.EFFDT=( SELECT MAX(EFFDT) FROM PS_JOB JOB2 WHERE JOB.EMPLID=JOB2.EMPLID AND JOB.EMPL_RCD=JOB2.EMPL_RCD AND JOB2.EFFDT<=%CurrentDateIn) AND JOB.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = JOB.EMPLID AND EMPL_RCD = JOB.EMPL_RCD AND EFFDT = JOB.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | HRMH_MATRIX_ID | Character(15) | VARCHAR2(15) NOT NULL | Matrix Identifier |
2 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: HRMH_EMPLID_VW |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |