GPIN_PSLP_ED_VW

(SQL View)
Index Back

Payslip ErnDed Vw

GP IND - Payslip earnings and deductions view

SELECT E.EMPLID , E.CAL_RUN_ID , E.EMPL_RCD , E.GP_PAYGROUP , E.CAL_ID , A.SEQ_NUM , A.PIN_NUM , A.DESCR , C.DESCR , A.GPIN_DESC_TYPE , B.CALC_RSLT_VAL ,0 ,0 , B.UNIT_RSLT_VAL , B.RATE_RSLT_VAL , B.RSLT_NOT_TKN , B.BASE_RSLT_VAL , B.PCT_RSLT_VAL , B.RSLT_ADD_ARR , B.RSLT_PAYBK , B.CALC_ADJ_VAL , B.BASE_ADJ_VAL , B.UNIT_ADJ_VAL , D1.CALC_RSLT_VAL , D2.CALC_RSLT_VAL FROM PS_GPIN_PSLP_ED A , PS_GP_RSLT_ERN_DED B , PS_GP_PIN C , PS_GP_RSLT_ACUM D1 , PS_GP_RSLT_ACUM D2 , PS_GP_PYE_PRC_STAT E , PS_GP_PG_DTL_SGPIN F WHERE A.PIN_NUM = B.PIN_NUM AND A.PIN_NUM = C.PIN_NUM AND B.EMPLID = D1.EMPLID AND B.CAL_RUN_ID = D1.CAL_RUN_ID AND B.EMPL_RCD = D1.EMPL_RCD AND B.GP_PAYGROUP = D1.GP_PAYGROUP AND B.CAL_ID = D1.CAL_ID AND B.RSLT_SEG_NUM = D1.RSLT_SEG_NUM AND B.SLICE_BGN_DT = D1.SLICE_BGN_DT AND B.SLICE_END_DT = D1.SLICE_END_DT AND A.GPIN_YTD_AC_UNITS = D1.PIN_NUM AND B.EMPLID = D2.EMPLID AND B.CAL_RUN_ID = D2.CAL_RUN_ID AND B.EMPL_RCD = D2.EMPL_RCD AND B.GP_PAYGROUP = D2.GP_PAYGROUP AND B.CAL_ID = D2.CAL_ID AND B.RSLT_SEG_NUM = D2.RSLT_SEG_NUM AND B.SLICE_BGN_DT = D2.SLICE_BGN_DT AND B.SLICE_END_DT = D2.SLICE_END_DT AND A.GPIN_YTD_AC_AMT = D2.PIN_NUM AND B.EMPLID = E.EMPLID AND B.CAL_RUN_ID = E.CAL_RUN_ID AND B.EMPL_RCD = E.EMPL_RCD AND B.GP_PAYGROUP = E.GP_PAYGROUP AND B.CAL_ID = E.CAL_ID AND A.GPIN_PAYSLIP_ID = F.GPIN_PAYSLIP_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
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 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
7 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
8 GPIN_DESCR Character(30) VARCHAR2(30) NOT NULL This object is a copy of the standard DESCR field, however it contains additional labels not available on the standard.
9 DESCR Character(30) VARCHAR2(30) NOT NULL Description
10 GPIN_DESC_TYPE Character(2) VARCHAR2(2) NOT NULL This field will be used to identify which of the earnings/deductions description will be included on the on-line and hard-copy payslips. The options are Element Description, Element Name, or Custom (user entered).
10=Description
20=Custom
30=Element Name
11 GPIN_CALC_RSLT_VAL Signed Number(16,2) DECIMAL(14,2) NOT NULL Calculation Numeric Result
12 GPIN_ACUM_VAL1 Signed Number(20,6) DECIMAL(18,6) NOT NULL This field will be used to store the value of accumulator 1 used for on-line and hard-copy payslips.
13 GPIN_ACUM_VAL2 Signed Number(20,6) DECIMAL(18,6) NOT NULL This field will be used to store the value of accumulator 2 used for on-line and hard-copy payslips.
14 UNIT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Number of units used in result calculation
15 RATE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
16 RSLT_NOT_TKN Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Not Taken
17 BASE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculated Base Value
18 PCT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Percent Result Value
19 RSLT_ADD_ARR Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Added To Arrears
20 RSLT_PAYBK Signed Number(20,6) DECIMAL(18,6) NOT NULL Payback Amount Result
21 CALC_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculation Adjustment Value
22 BASE_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Base Adjustment
23 UNIT_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Unit Adjustment
24 GPIN_CAL_RSLT1 Number(19,6) DECIMAL(18,6) NOT NULL Payslip Hours
25 GPIN_CAL_RSLT2 Number(19,6) DECIMAL(18,6) NOT NULL Payslip Amount