GPCH_RP_FAST_VW(SQL View) |
Index Back |
---|---|
Core VW: SQR Security PPLJOBFast security view to be used in the SQRs. Only one row per EMPLID / EMPL_RCD is selected and no Future dated rows are selected. |
SELECT DISTINCT %Sql(SCRTY_SEL_PKEY, OPR,SEC) ,B.EFFDT FROM %Sql(SCRTY_PER_FROM) , PS_JOB B WHERE %Sql(SCRTY_NO_APPT1) AND SEC.FUTURE_FLG <> 'Y' AND %Sql(SCRTY_WHERE, 'PPLJOB') AND SEC.EMPLID = B.EMPLID AND B.EFFSEQ=( SELECT MAX(B3.EFFSEQ) FROM PS_JOB B3 WHERE B.EMPLID=B3.EMPLID AND B.EMPL_RCD=B3.EMPL_RCD AND B.EFFDT = B3.EFFDT) |
# | 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 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |