GP_RSLT_ADMSRCH

(SQL View)
Index Back

Search View

Search view for the Administrator Results

SELECT %Sql(SCRTY_SEL_PKEY,SEC,SEC) , PP.PYMT_DT , SEC.NAME_DISPLAY , SEC.NAME_DISPLAY_SRCH , PP.CAL_RUN_ID , Y.COUNTRY , Y.GP_ELN_SET FROM PS_GP_OPR_RULE_PRF A ,PSROLEUSER RU ,PS_GP_RSLT_ADM_ROL C ,PS_GP_ELN_SET_VW Y ,PS_EMPLMT_SRCH_GBL SEC ,PS_GP_PYE_PRC_STAT PP WHERE PP.EMPLID = SEC.EMPLID AND PP.EMPL_RCD = SEC.EMPL_RCD AND SEC.OPRID=A.OPRID AND RU.ROLEUSER= A.OPRID AND C.ROLENAME = RU.ROLENAME AND C.GP_ELN_SET = Y.GP_ELN_SET AND C.COUNTRY = Y.COUNTRY AND PP.COUNTRY = Y.COUNTRY AND (C.COUNTRY = A.COUNTRY OR A.COUNTRY = 'ALL') AND PP.PYMT_DT = ( SELECT MAX(PPS.PYMT_DT) FROM PS_GP_PYE_PRC_STAT PPS WHERE PPS.EMPLID=PP.EMPLID AND PPS.EMPL_RCD=PP.EMPL_RCD AND PPS.CAL_RUN_ID=PP.CAL_RUN_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
5 PYMT_DT Date(10) DATE Payment Date
6 NAME Character(50) VARCHAR2(50) NOT NULL Name
7 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
8 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id

Prompt Table: GP_CAL_RUN4_VW

9 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: GP_COUNTRY_VW

10 GP_ELN_SET Character(15) VARCHAR2(15) NOT NULL Element Set

Prompt Table: GP_RSLTAD_EL_VW