GPES_SS_RED_VW

(SQL View)
Index Back

SS Reduction Definition

Houses the employee reduction definition.

SELECT A.EMPLID , A.CONTRACT_NUM , A.REDCTN_ID_ESP , C.EFFDT , A.EFF_STATUS , B.GPES_SS_BONIF_TYPE , B.GPES_SS_BNF_SUBTYP , B.GPES_SS_COMP_RED , B.GPES_SS_BNF_REASON , B.GPES_SS_RED_CT_EE , C.CONCEPT_ESP , A.EFFDT , B.EFF_STATUS , C.GPES_SS_BONIF_PCT , C.GPES_SS_BONIF_AMT , C.CURRENCY_CD , C.GPES_SS_BONIF_FROM , C.GPES_SS_BONIF_TO , D.GPES_PIN_SS1_NUM , D.GPES_PIN_SS5_NUM , D.GPES_PIN_SS6_NUM , D.GPES_PIN_SS7_NUM , D.GPES_PIN_SS2_NUM , D.GPES_PIN_SS3_NUM , E.GPES_PIN_SS6_NUM , D.GPES_PIN_SS4_NUM , D.GPES_PIN_SSE_NUM , A.END_DT FROM PS_CNTRCT_DATA_ESP A , PS_GPES_SS_BNF B , PS_GPES_SS_BNF_DTA C , PS_GPES_SS_BNF_DEF D , PS_GPES_SS_CNT_BSE E WHERE A.REDCTN_ID_ESP = B.REDUCTION_ID_ESP AND B.REDUCTION_ID_ESP = C.REDUCTION_ID_ESP AND B.EFFDT = C.EFFDT AND C.CONCEPT_ESP = D.CONCEPT_ESP AND C.CONCEPT_ESP = E.CONCEPT_ESP

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSON

2 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
3 REDCTN_ID_ESP Character(3) VARCHAR2(3) NOT NULL Reduction ID

Prompt Table: GPES_SS_BNF

4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

6 GPES_SS_BONIF_TYPE Character(2) VARCHAR2(2) NOT NULL This field stores the Social Security Reduction Type.
10=INEM (Box 601 of TC-1)
20=SS (Box 209 of TC-1)
26=SS Flat Amount
30=INEM (Box 601 TC1) Catastrophe
33=Tutoring Reduction (CD33)
34=RDL 1/2015 (CD34)
40=INEM 60 Years Old
40=INEM 60 Years Old
50=INEM 65 Years Old
60=America's Cup Challenge
60=America's Cup Challenge
70=RDL 5/2006
80=Research Staff
80=Research Staff
90=Presence Training (CD10)
91=Distance Training (CD11)
92=Temporary ERE
93=RDL 1/2023
99=Youth guarantee system

Default Value: 10

7 GPES_SS_BNF_SUBTYP Character(4) VARCHAR2(4) NOT NULL Bonification/Reduction Subtype
8 GPES_SS_COMP_RED Character(1) VARCHAR2(1) NOT NULL Compatible Reduction
9 GPES_SS_BNF_REASON Character(2) VARCHAR2(2) NOT NULL This field allows to identify certain reductions during the payroll process
00=Red. Unemployed RD2/2009
10 GPES_SS_RED_CT_EE Character(1) VARCHAR2(1) NOT NULL This field is to indicate at Set Up level if reduction has to be calculated taking into account the employee contributions.
E=Employee contribution
N=Employer contribution
Y=ER and EE contribution
11 CONCEPT_ESP Character(2) VARCHAR2(2) NOT NULL Social Security contribution concept
10=Common Contingency
15=Intergen. Equity Mechanism
20=Temporal Disability
30=Permanent Disability D & S
40=Professional Training
50=FOGASA
60=Unemployment
70=Force Majeure Overtime
80=Ordinary Overtime
12 GPES_REDCTN_DT Date(10) DATE Social Security / Inem reduction date
13 GPES_REDN_STATUS Character(1) VARCHAR2(1) NOT NULL Social Security reduction effective status
A=Active
I=Inactive
14 GPES_SS_BONIF_PCT Signed Number(11,6) DECIMAL(9,6) NOT NULL Reduction Percentage. This field houses the percentage that has to be applied to a particular base for Social Security Reduction.
15 GPES_SS_BONIF_AMT Number(10,2) DECIMAL(9,2) NOT NULL Reduction Annual Amount
16 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
17 GPES_SS_BONIF_FROM Number(3,0) SMALLINT NOT NULL This field houses the month number to where the reduction takes place.
18 GPES_SS_BONIF_TO Number(3,0) SMALLINT NOT NULL This field houses the month number from where the reduction takes place.
19 GPES_PIN_SS1_NUM Number(8,0) INTEGER NOT NULL This field houses the Employer SS Accumulator Pin Number.

Prompt Table: %GP_EDIT_FLD6

20 GPES_PIN_SS5_NUM Number(8,0) INTEGER NOT NULL This field houses the Employer SS Accumulator Pin Number.
21 GPES_PIN_SS6_NUM Number(8,0) INTEGER NOT NULL This field houses the Employer SS Accumulator Pin Number.

Prompt Table: %GP_EDIT_FLD9

22 GPES_PIN_SS7_NUM Number(8,0) INTEGER NOT NULL Reduction Pin Number
23 GPES_PIN_SS2_NUM Number(8,0) INTEGER NOT NULL This field houses the Employee SS Deduction Pin Number.
24 GPES_PIN_SS3_NUM Number(8,0) INTEGER NOT NULL This field houses the Pin Number of the Social Security Contribution Base
25 GPES_PIN_SS9_NUM Number(8,0) INTEGER NOT NULL Maternity Employer Contribution
26 GPES_PIN_SS4_NUM Number(8,0) INTEGER NOT NULL This field houses the Employee SS Deduction Pin Number.
27 GPES_PIN_SSE_NUM Number(8,0) INTEGER NOT NULL ERE contribution base
28 END_DT Date(10) DATE end date