GPES_CRT_ID_VW

(SQL View)
Index Back

EmpRcd for Creta Reporting

This view is used to look for the active EmplRcd of an employee, in Creta reporting month.

SELECT DISTINCT A.SSN_EMPLOYER , A.GPES_SSTC_PAYMNT , A.GPES_YEAR , A.GPES_MONTH , A.GPES_CRT_BRK_LQ , A.GPES_MONTH_RECALC , A.GPES_YEAR_RECALC , A.EMPLID , A.EMPL_RCD , B.NATIONAL_ID , A.SLICE_BGN_DT , A.SLICE_END_DT FROM PS_GPES_CRT_LQ_EE A , PS_PERS_NID B WHERE A.EMPLID = B.EMPLID AND B.COUNTRY = 'ESP' AND B.NATIONAL_ID_TYPE = 'SSN'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SSN_EMPLOYER Character(13) VARCHAR2(13) NOT NULL Employer Social Security number
2 GPES_SSTC_PAYMNT Character(3) VARCHAR2(3) NOT NULL Payment Type. This field is used to populate the GP Write Array, which is used to generate the FAN File.
L00=Regular
L02=Litigation Salary
L03=Retroactivity wo/Surcharge
L04=Reductions Payback
L09=Retroactivity w/Surcharge
L13=Vacations
L90=Retro w/Surch. Base Incr.
L91=Retro w/Surch. New Slices
V03=Retro wo/ Surcharge Vacations
V90=Retro w/ Surcharge Vacations
3 GPES_YEAR Number(4,0) SMALLINT NOT NULL Year
4 GPES_MONTH Number(2,0) SMALLINT NOT NULL Month
5 GPES_CRT_BRK_LQ Number(9,0) DECIMAL(9) NOT NULL Breaking Point
6 GPES_MONTH_RECALC Number(2,0) SMALLINT NOT NULL Retro month
7 GPES_YEAR_RECALC Number(4,0) SMALLINT NOT NULL Retro year
8 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
9 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
10 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
11 SLICE_BGN_DT Date(10) DATE Element Slice Begin Date
12 SLICE_END_DT Date(10) DATE Element Slice End Date