GP_RSLT_SUM_VW(SQL View) |
Index Back |
---|---|
Admin Results Segment ViewSegment View for the Administrator Results |
SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.ORIG_CAL_RUN_ID , B.RSLT_SEG_NUM , B.RSLT_VER_NUM , B.RSLT_REV_NUM , B.SEG_BGN_DT , B.SEG_END_DT , B.GP_CALC_TS , B.PYE_CALC_STAT , B.GP_ASOF_DT_EXG_RT , B.CUR_RT_TYPE , A.CURRENCY_CD , A.PRD_BGN_DT , A.PRD_END_DT , A.PYMT_DT FROM PS_GP_PYE_PRC_STAT A , PS_GP_PYE_SEG_STAT B , PS_PER_ORG_ASGN ASG WHERE A.CAL_RUN_ID = B.CAL_RUN_ID AND A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EMPLID = ASG.EMPLID AND A.EMPL_RCD = ASG.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 |
# | 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
Prompt Table: GP_CAL_RUN4_VW |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
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 | RSLT_VER_NUM | Number(4,0) | SMALLINT NOT NULL | Result Version Number |
9 | RSLT_REV_NUM | Number(4,0) | SMALLINT NOT NULL | Result Revision Number |
10 | SEG_BGN_DT | Date(10) | DATE | Payee Process Segment's Begin Date |
11 | SEG_END_DT | Date(10) | DATE | Payee Process Segment's End Date |
12 | GP_CALC_TS | DateTime(26) | TIMESTAMP | Indicates when something (a segment) was calculated |
13 | PYE_CALC_STAT | Character(2) | VARCHAR2(2) NOT NULL |
Calculation Status: field indicates the processing status of a segment (payment)
00=Identified 02=Calculation Error 03=Calculation Error - Bypassed 04=Calculation Error - By Rule 11=No Segment Created 50=Calculation Successful 55=Frozen For Further Calc 70=Finalized 75=Finalized - With Banking |
14 | GP_ASOF_DT_EXG_RT | Character(1) | VARCHAR2(1) NOT NULL |
This field is used as a flag to determine whether to use a default exchange rate or not.
B=Pay Period Begin Date E=Pay Period End Date P=Payment Date |
15 | CUR_RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Currency Rate Type |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
17 | PRD_BGN_DT | Date(10) | DATE | Period Begin Date |
18 | PRD_END_DT | Date(10) | DATE | Pay Period End Date |
19 | PYMT_DT | Date(10) | DATE | Payment Date |