GPGB_RSLT_ERN(SQL View) |
Index Back |
---|---|
Payslip View - EarningsUK Online Payslip Dynamic View - Earnings |
SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.RSLT_SEG_NUM , MAX(A.INSTANCE) , 0 , 0 , A.USER_FLD1 , A.PIN_NUM , ' ' , SUM(%Round(A.CALC_RSLT_VAL ,2)) , SUM(%Round(A.CALC_ADJ_VAL ,2)) , %Round(A.BASE_RSLT_VAL ,2) , %Round(A.RATE_RSLT_VAL ,2) , SUM(A.UNIT_RSLT_VAL) , %Round(A.PCT_RSLT_VAL ,2) , 0 , 0 , USER_FLD1 , USER_FLD2 , USER_FLD3 , USER_FLD4 FROM PS_GP_RSLT_ERN_DED A WHERE (A.CALC_RSLT_VAL <> 0 OR A.CALC_ADJ_VAL <> 0) GROUP BY A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.RSLT_SEG_NUM , A.USER_FLD1 , A.PIN_NUM ,A.BASE_RSLT_VAL,A.RATE_RSLT_VAL,A.PCT_RSLT_VAL , USER_FLD1 , USER_FLD2 , USER_FLD3 , USER_FLD4 |
# | 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 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 | RSLT_SEG_NUM | Number(4,0) | SMALLINT NOT NULL | Result Segment Number |
7 | INSTANCE | Number(3,0) | SMALLINT NOT NULL | Instance Number |
8 | GPGB_ELE_ORDER | Number(6,0) | INTEGER NOT NULL | Payslip Element Order |
9 | GPGB_PSLIP_DETAIL | Number(8,0) | INTEGER NOT NULL | Payslip detail Pin |
10 | GPGB_PSLIP_D_TXT | Character(25) | VARCHAR2(25) NOT NULL | Payslip Detail Text |
11 | GPGB_PIN_NUM_CUR | Number(8,0) | INTEGER NOT NULL | Pin Number Current Value |
12 | GPGB_PSLIP_DESCR | Character(15) | VARCHAR2(15) NOT NULL | Payslip Description |
13 | GPGB_VAL_CUR | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Current Value |
14 | GPGB_ADJ_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Calculation Adjustment |
15 | GPGB_BASE_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Payslip Base Result Value |
16 | GPGB_RATE_CUR | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Earnings Rate Value |
17 | GPGB_UNIT_CUR | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Earnings Units Value |
18 | GPGB_PCT_RSLT_VAL | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | Percentage |
19 | GPGB_PIN_NUM_YTD | Number(8,0) | INTEGER NOT NULL | Pin Number Year to Date |
20 | GPGB_RSLT_VAL_YTD | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Result Year To Date |
21 | USER_FLD1 | Character(25) | VARCHAR2(25) NOT NULL | User Field 1 |
22 | USER_FLD2 | Character(25) | VARCHAR2(25) NOT NULL | User Field 2 |
23 | USER_FLD3 | Character(25) | VARCHAR2(25) NOT NULL | User Field 3 |
24 | USER_FLD4 | Character(25) | VARCHAR2(25) NOT NULL | User Field 4 |