GPBR_MD_RSLT_VW

(SQL View)
Index Back

View from GP_RSLT_ERN_DED

Earning Deduction view for GP Brazil

SELECT A.EMPLID ,A.EMPL_RCD ,A.CAL_RUN_ID ,A.ORIG_CAL_RUN_ID ,A.GP_PAYGROUP ,A.CAL_ID ,A.RSLT_SEG_NUM ,A.INSTANCE ,A.PIN_NUM ,A.SLICE_END_DT ,A.SLICE_BGN_DT ,(A.CALC_RSLT_VAL+A.CALC_ADJ_VAL) ,(A.UNIT_RSLT_VAL+A.UNIT_ADJ_VAL) ,(A.BASE_RSLT_VAL+A.BASE_ADJ_VAL) ,A.RATE_RSLT_VAL ,A.PCT_RSLT_VAL ,B.RUN_TYPE ,C.SEL_STAT FROM PS_GP_RSLT_ERN_DED A ,PS_GP_CALENDAR B ,PS_GP_PYE_PRC_STAT C WHERE A.ORIG_CAL_RUN_ID=A.CAL_RUN_ID AND B.CAL_ID=A.CAL_ID AND B.GP_PAYGROUP=A.GP_PAYGROUP AND C.EMPLID=A.EMPLID AND C.CAL_RUN_ID=C.ORIG_CAL_RUN_ID AND C.CAL_RUN_ID=A.CAL_RUN_ID AND C.CAL_ID=A.CAL_ID AND C.GP_PAYGROUP=A.GP_PAYGROUP AND A.EMPL_RCD=C.EMPL_RCD

# 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 ORIG_CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Original Calendar Group ID
5 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
6 CAL_ID Character(18) VARCHAR2(18) NOT NULL calendar id
7 RSLT_SEG_NUM Number(4,0) SMALLINT NOT NULL Result Segment Number
8 INSTANCE Number(3,0) SMALLINT NOT NULL Instance Number
9 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
10 SLICE_END_DT Date(10) DATE Element Slice End Date
11 SLICE_BGN_DT Date(10) DATE Element Slice Begin Date
12 CALC_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculation Numeric Result
13 UNIT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Number of units used in result calculation
14 BASE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculated Base Value
15 RATE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
16 PCT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Percent Result Value
17 RUN_TYPE Character(10) VARCHAR2(10) NOT NULL Run Type Name
18 SEL_STAT Character(1) VARCHAR2(1) NOT NULL Indicates status of the selected payee in a Calendar Group As they are identified payees are pulled in either as Active or Inactive based on the EMPL_STATUS. The system or the user can remove a payee either permanently or temporarily for various reasons. These are indicated by the status values other than Active and Inactive.
A=Active
C=Cancelled
I=Inactive
S=System Suspend
U=User Suspend