GP_RSLT_ADJ_VW

(SQL View)
Index Back

Result Adjustment Detail View

Result Adjustment Detail View

SELECT DISTINCT A.EMPLID , A.EMPL_RCD , A.CAL_RUN_ID , A.GP_PAYGROUP , A.CAL_ID , A.ORIG_CAL_RUN_ID , A.RSLT_SEG_NUM , B.PYMT_KEY1 , B.PYMT_KEY2 , B.PYMT_KEY3 , B.PYMT_KEY4 , A.PIN_NUM , A.USER_FLD1 , A.USER_FLD2 , A.USER_FLD3 , A.USER_FLD4 , A.USER_FLD5 , A.USER_FLD6 , B.CAL_ID , B.RSLT_SEG_NUM , B.CALC_DELTA_VAL , B.UNIT_DELTA_VAL , B.BASE_DELTA_VAL , B.CURRENCY_CD , P.PIN_NM FROM PS_GP_RSLT_ERN_DED A , PS_GP_RSLT_DELTA B , PS_GP_PYE_SEG_STAT S , PS_GP_PIN P WHERE A.CAL_RUN_ID = B.FWD2_CAL_RUN_ID AND A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.GP_PAYGROUP = B.FWD2_PAYGROUP AND A.CAL_ID = B.FWD2_CAL_ID AND A.PIN_NUM = B.PIN_RTO_ADJ_NUM AND A.USER_FLD1 = B.USER_FLD1 AND A.USER_FLD2 = B.USER_FLD2 AND A.USER_FLD3 = B.USER_FLD3 AND A.USER_FLD4 = B.USER_FLD4 AND A.USER_FLD5 = B.USER_FLD5 AND A.USER_FLD6 = B.USER_FLD6 AND A.EMPLID = S.EMPLID AND A.EMPL_RCD = S.EMPL_RCD AND A.GP_PAYGROUP = S.GP_PAYGROUP AND A.CAL_ID = S.CAL_ID AND A.CAL_RUN_ID = S.CAL_RUN_ID AND A.ORIG_CAL_RUN_ID = S.ORIG_CAL_RUN_ID AND A.RSLT_SEG_NUM = S.RSLT_SEG_NUM AND S.PYMT_KEY1 = B.PYMT_KEY1 AND S.PYMT_KEY2 = B.PYMT_KEY2 AND S.PYMT_KEY3 = B.PYMT_KEY3 AND S.PYMT_KEY4 = B.PYMT_KEY4 AND B.PIN_NUM = P.PIN_NUM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
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 PYMT_KEY1 Character(25) VARCHAR2(25) NOT NULL Payment key field. Used for optional tracking of a payment per Department, Company, Establishment or Contract Number
9 PYMT_KEY2 Character(25) VARCHAR2(25) NOT NULL Payment key field. Used for optional tracking of a payment per Department, Company, Establishment or Contract Number
10 PYMT_KEY3 Character(25) VARCHAR2(25) NOT NULL Payment key field. Used for optional tracking of a payment per Department, Company, Establishment or Contract Number
11 PYMT_KEY4 Character(25) VARCHAR2(25) NOT NULL Payment key field. Used for optional tracking of a payment per Department, Company, Establishment or Contract Number
12 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
13 USER_FLD1 Character(25) VARCHAR2(25) NOT NULL User Field 1
14 USER_FLD2 Character(25) VARCHAR2(25) NOT NULL User Field 2
15 USER_FLD3 Character(25) VARCHAR2(25) NOT NULL User Field 3
16 USER_FLD4 Character(25) VARCHAR2(25) NOT NULL User Field 4
17 USER_FLD5 Character(25) VARCHAR2(25) NOT NULL User FIeld 5
18 USER_FLD6 Character(25) VARCHAR2(25) NOT NULL User Field 6
19 SRC_CAL_ID Character(18) VARCHAR2(18) NOT NULL Source Calendar ID
20 RSLT_SEG_NUM2 Number(4,0) SMALLINT NOT NULL Copy of field RSLT_SEG_NUM used when multiple segment (payment) numbers are needed joined into a single view
21 CALC_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Delta
22 UNIT_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Unit Delta
23 BASE_DELTA_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Base Delta
24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 PIN_NM Character(18) VARCHAR2(18) NOT NULL Element Name field