GPES_SS_REDN_VW(SQL View) |
Index Back |
---|---|
SS Reduction DefinitionHouses the reduction definition. This view is used in Social Security arrays for GP Spain. |
SELECT B.REDUCTION_ID_ESP , B.EFFDT , B.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 , 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 FROM PS_GPES_SS_BNF B , PS_GPES_SS_BNF_DTA C , PS_GPES_SS_BNF_DEF D , PS_GPES_SS_CNT_BSE E WHERE 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 | REDCTN_ID_ESP | Character(3) | VARCHAR2(3) NOT NULL | Reduction ID |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
4 | 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 |
5 | GPES_SS_BNF_SUBTYP | Character(4) | VARCHAR2(4) NOT NULL | Bonification/Reduction Subtype |
6 | GPES_SS_COMP_RED | Character(1) | VARCHAR2(1) NOT NULL | Compatible Reduction |
7 | 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 |
8 | 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 |
9 | 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 |
10 | 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. |
11 | GPES_SS_BONIF_AMT | Number(10,2) | DECIMAL(9,2) NOT NULL | Reduction Annual Amount |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
13 | GPES_SS_BONIF_FROM | Number(3,0) | SMALLINT NOT NULL | This field houses the month number to where the reduction takes place. |
14 | GPES_SS_BONIF_TO | Number(3,0) | SMALLINT NOT NULL | This field houses the month number from where the reduction takes place. |
15 | GPES_PIN_SS1_NUM | Number(8,0) | INTEGER NOT NULL |
This field houses the Employer SS Accumulator Pin Number.
Prompt Table: %GP_EDIT_FLD6 |
16 | GPES_PIN_SS5_NUM | Number(8,0) | INTEGER NOT NULL | This field houses the Employer SS Accumulator Pin Number. |
17 | GPES_PIN_SS6_NUM | Number(8,0) | INTEGER NOT NULL |
This field houses the Employer SS Accumulator Pin Number.
Prompt Table: %GP_EDIT_FLD9 |
18 | GPES_PIN_SS2_NUM | Number(8,0) | INTEGER NOT NULL | This field houses the Employee SS Deduction Pin Number. |
19 | GPES_PIN_SS3_NUM | Number(8,0) | INTEGER NOT NULL | This field houses the Pin Number of the Social Security Contribution Base |
20 | GPES_PIN_SS7_NUM | Number(8,0) | INTEGER NOT NULL | Reduction Pin Number |
21 | GPES_PIN_SS9_NUM | Number(8,0) | INTEGER NOT NULL | Maternity Employer Contribution |
22 | GPES_PIN_SS4_NUM | Number(8,0) | INTEGER NOT NULL | This field houses the Employee SS Deduction Pin Number. |
23 | GPES_PIN_SSE_NUM | Number(8,0) | INTEGER NOT NULL | ERE contribution base |