GP_ABS_EMP_VW(SQL View) |
Index Back |
---|---|
Employee Prompt View for OWSPrompt View to display all the Employees enrolled in Oracle Workforce Scheduling with Security Enabled. |
SELECT DISTINCT OPR.OPRID , OPR.ROWSECCLASS , SEC.EMPLID , NAME FROM PS_SJT_PERSON SEC , PS_NAMES NM , PSOPRDEFN OPR , PS_PER_ORG_OWS_VW OWS WHERE %Sql(SCRTY_NO_APPT1) AND %Sql(SCRTY_NAME) AND %Sql(SCRTY_WHERE, 'PPLJOB') AND SEC.EMPLID=OWS.EMPLID AND SEC.EMPL_RCD=OWS.EMPL_RCD AND OWS.HR_STATUS = 'A' |
# | 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 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |