GPIT_CTR_WA_VW(SQL View) |
Index Back |
---|---|
Inquiry Writable ArrayInquiry Record for Writable Array |
SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.ORIG_CAL_RUN_ID , A.RSLT_SEG_NUM , B.SEG_END_DT , A.SLICE_END_DT , A.COMPANY , A.ESTABID , A.NAME , A.PAY_ENTITY , WA.INPS_POS_CD_ITA , WA.GPIT_INPS_CAT_ID , WA.GPIT_INPS_CDCTR_ID FROM PS_GPIT_RP_0001 A , PS_GP_PYE_SEG_STAT B , PS_GPIT_DM10_WA WA WHERE A.EMPLID = B.EMPLID AND A.CAL_RUN_ID = B.CAL_RUN_ID AND A.EMPL_RCD = B.EMPL_RCD AND A.GP_PAYGROUP = B.GP_PAYGROUP AND A.CAL_ID = B.CAL_ID AND A.ORIG_CAL_RUN_ID = B.ORIG_CAL_RUN_ID AND A.RSLT_SEG_NUM = B.RSLT_SEG_NUM AND B.RSLT_REV_NUM = 1 AND B.RSLT_VER_NUM = ( SELECT MAX(B1.RSLT_VER_NUM) FROM PS_GP_PYE_SEG_STAT B1 WHERE B.EMPLID = B1.EMPLID AND B.CAL_RUN_ID = B1.CAL_RUN_ID AND B.EMPL_RCD = B1.EMPL_RCD AND B.GP_PAYGROUP = B1.GP_PAYGROUP AND B.CAL_ID = B1.CAL_ID AND B.ORIG_CAL_RUN_ID = B1.ORIG_CAL_RUN_ID AND B.RSLT_SEG_NUM = B1.RSLT_SEG_NUM AND B1.RSLT_REV_NUM = 1 ) AND WA.EMPLID = B.EMPLID AND WA.CAL_RUN_ID = B.CAL_RUN_ID AND WA.EMPL_RCD = B.EMPL_RCD AND WA.GP_PAYGROUP = B.GP_PAYGROUP AND WA.CAL_ID = B.CAL_ID AND WA.ORIG_CAL_RUN_ID = B.ORIG_CAL_RUN_ID AND WA.RSLT_SEG_NUM = B.RSLT_SEG_NUM AND WA.SLICE_END_DT = A.SLICE_END_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
4 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
5 | CAL_ID | Character(18) | VARCHAR2(18) NOT NULL | calendar id |
6 | ORIG_CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Original Calendar Group ID |
7 | RSLT_SEG_NUM | Number(4,0) | SMALLINT NOT NULL | Result Segment Number |
8 | SEG_END_DT | Date(10) | DATE | Payee Process Segment's End Date |
9 | SLICE_END_DT | Date(10) | DATE | Element Slice End Date |
10 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
11 | ESTABID | Character(12) | VARCHAR2(12) NOT NULL | Establishment ID |
12 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
13 | PAY_ENTITY | Character(10) | VARCHAR2(10) NOT NULL | Pay Entity |
14 | INPS_POS_CD_ITA | Character(4) | VARCHAR2(4) NOT NULL | INPS Position Code ITA |
15 | GPIT_INPS_CAT_ID | Character(1) | VARCHAR2(1) NOT NULL | INPS Category |
16 | GPIT_INPS_CDCTR_ID | Character(2) | VARCHAR2(2) NOT NULL | INPS Contribution Code |