GPS_RPT_PRSN_VW

(SQL View)
Index Back

GPS RPT Person table

GPS RPT Person xml table

SELECT COMPANY ,YEAR ,MONTHOFYEAR ,GPS_RPT_FILE_NO ,GPS_RPT_TYPE ,EMPLID ,EMPL_RCD ,GPS_RPT_IF_VER ,GPS_RPT_SRC_IND ,GPS_RPT_PRSN_XML ,GPS_RPT_PRSN_FLG FROM PS_GPS_RPT_PERSON p1 WHERE GPS_RPT_IF_VER = ( SELECT MAX(GPS_RPT_IF_VER) FROM PS_GPS_RPT_PERSON p2 WHERE p1.COMPANY = p2.COMPANY AND p1.YEAR = p2.YEAR AND p1.MONTHOFYEAR = p2.MONTHOFYEAR AND p1.GPS_RPT_FILE_NO = p2.GPS_RPT_FILE_NO AND p1.GPS_RPT_TYPE = p2.GPS_RPT_TYPE AND p1.EMPLID = p2.EMPLID AND p1.EMPL_RCD = p2.EMPL_RCD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
2 YEAR Character(4) VARCHAR2(4) NOT NULL Character field to represent a year
3 MONTHOFYEAR Number(2,0) SMALLINT NOT NULL Month of Year
4 GPS_RPT_FILE_NO Number(2,0) SMALLINT NOT NULL German Pbulic Sector Report File Number
5 GPS_RPT_TYPE Character(3) VARCHAR2(3) NOT NULL GPS Report Type
CAR=Child Allowance
WFS=Workforce Statistic
6 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
7 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
8 GPS_RPT_IF_VER Number(3,0) SMALLINT NOT NULL Version Field.
9 GPS_RPT_SRC_IND Character(1) VARCHAR2(1) NOT NULL source Indicator
S=System
U=User
10 GPS_RPT_PRSN_XML Long Character CLOB used to store the Personal Total XML data generated by the SQR in Year End Process for each employee for each functional type
11 GPS_RPT_PRSN_FLG Character(3) VARCHAR2(3) NOT NULL GPS_WFS_PERSON Row Flag
DAT=Data
ERR=Error