VC_GRP_RES_VW(SQL View) |
Index Back |
---|---|
VC Group Overlap Result ViewVC Group Member Overlap Result View |
SELECT DISTINCT A.GB_GROUP_ID , A.VERSIONGBQDM , B.EMPLID , B.EMPL_RCD , A.JOB_EFFDT , A.JOB_EFFSEQ , C.NAME , B.JOBCODE , D.DESCR FROM PS_VC_GRP_RES_TBL A , PS_JOB B , PS_PERSON_NAME C , PS_JOBCODE_TBL D WHERE A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EMPLID = C.EMPLID AND A.JOB_EFFDT = B.EFFDT AND A.JOB_EFFSEQ = B.EFFSEQ AND D.JOBCODE = B.JOBCODE AND D.SETID = B.SETID_JOBCODE AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOBCODE_TBL WHERE SETID = D.SETID AND JOBCODE = D.JOBCODE AND EFFDT <= A.JOB_EFFDT AND EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GB_GROUP_ID | Character(15) | VARCHAR2(15) NOT NULL | Group Build ID. |
2 | VERSIONGBQDM | Number(10,0) | DECIMAL(10) NOT NULL | Version Number |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
5 | JOB_EFFDT | Date(10) | DATE | Job Effective Date |
6 | JOB_EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Job Effective Sequence |
7 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
8 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |