GPES_TAX_EMP_VW(SQL View) |
Index Back |
---|---|
Emplid PromptEmployees belonging to certain calculated calendar in 190 Tax Report. |
SELECT SEC.OPRID , SEC.ROWSECCLASS , A.CAL_RUN_ID , A.CAL_ID , A.GP_PAYGROUP , A.EMPLID , SEC.NAME FROM PS_GPES_TAX_PD_VW A , PS_EMPLMT_SRCH_GBL SEC WHERE A.EMPLID = SEC.EMPLID AND A.EMPL_RCD = SEC.EMPL_RCD AND A.GPES_EFFDT = ( SELECT MAX(A_ED.GPES_EFFDT) FROM PS_GPES_TAX_PD_VW A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.CAL_RUN_ID = A_ED.CAL_RUN_ID AND A.EMPL_RCD = A_ED.EMPL_RCD AND A.GP_PAYGROUP = A_ED.GP_PAYGROUP AND A.CAL_ID = A_ED.CAL_ID AND A.ORIG_CAL_RUN_ID = A_ED.ORIG_CAL_RUN_ID AND A.RSLT_SEG_NUM = A_ED.RSLT_SEG_NUM AND A_ED.GPES_EFFDT <= %DateIn('3000-01-01')) |
# | 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 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
4 | CAL_ID | Character(18) | VARCHAR2(18) NOT NULL | calendar id |
5 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
6 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
7 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |