FO_APP_SRCH2_VW

(SQL View)
Index Back

Staffing Applicant Search Rec

Staffing Front Office Applicant Search Record

SELECT A.CANDIDATE_ID ,SEC.ROWSECCLASS ,SEC.ACCESS_CD ,A.NAME ,A.FIRST_NAME ,A.LAST_NAME ,A.FIRST_NAME_SRCH ,A.LAST_NAME_SRCH ,A.SETID_DEPT ,A.DEPTID ,A.PER_STATUS ,A.EMPL_STATUS ,A.OPRID ,A.FO_BRANCH ,A.CITY ,A.STATE ,A.POSTAL ,A.PHONE FROM PS_FO_CANDIDATE_W A ,PS_SCRTY_TBL_DEPT SEC WHERE A.CANDIDATE_TYPE IN ('A') AND SEC.ACCESS_CD='Y' AND A.EMPL_STATUS <> 'I' AND EXISTS ( SELECT 'X' FROM PSTREEDEFN TD ,PSTREENODE TN ,PSTREELEAF TL WHERE SEC.SETID = A.SETID_DEPT AND TD.SETID = SEC.SETID AND TD.SETCNTRLVALUE = ' ' AND TD.TREE_NAME ='DEP_SECURITY' AND TD.EFFDT = SEC.TREE_EFFDT AND TD.EFF_STATUS = 'A' AND TN.SETID = TD.SETID AND TN.SETCNTRLVALUE = TD.SETCNTRLVALUE AND TN.TREE_NAME = TD.TREE_NAME AND TN.EFFDT = TD.EFFDT AND TL.SETID = TN.SETID AND TL.SETCNTRLVALUE = TN.SETCNTRLVALUE AND TL.TREE_NAME = TN.TREE_NAME AND TL.EFFDT = TN.EFFDT AND A.DEPTID BETWEEN TL.RANGE_FROM AND TL.RANGE_TO AND TL.TREE_NODE_NUM BETWEEN TN.TREE_NODE_NUM AND TN.TREE_NODE_NUM_END AND TN.TREE_NODE = SEC.DEPTID AND TN.TREE_NODE_NUM BETWEEN SEC.TREE_NODE_NUM AND SEC.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_DEPT SEC2 WHERE SEC.ROWSECCLASS = SEC2.ROWSECCLASS AND SEC.SETID = SEC2.SETID AND SEC.TREE_NODE_NUM <> SEC2.TREE_NODE_NUM AND TN.TREE_NODE_NUM BETWEEN SEC2.TREE_NODE_NUM AND SEC2.TREE_NODE_NUM_END))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 APPLID Character(11) VARCHAR2(11) NOT NULL External Job Applicant ID
2 ROWSECCLASS Character(30) VARCHAR2(30) NOT NULL The class used to determine row level security
3 ACCESS_CD Character(1) VARCHAR2(1) NOT NULL Access Code
N=No Access
R=Read Only Access
Y=Read/Write Access
4 NAME Character(50) VARCHAR2(50) NOT NULL Name
5 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
6 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
7 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
8 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
9 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department SetID

Prompt Table: SETID_TBL

10 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: FO_DEPT_TBL_VW2

11 APP_PER_STATUS Character(1) VARCHAR2(1) NOT NULL Identifies the type of applicant - External Applicant, Employee or Non-Employee
A=Applicant
E=Employee
N=Non-Employee
12 APP_STATUS_CODE Character(1) VARCHAR2(1) NOT NULL Status Code
A=Active
D=Hired
H=Hire Pending
I=Applicant Invalid
P=Applicant Pending
13 OPRID2 Character(30) VARCHAR2(30) NOT NULL A user's ID

Prompt Table: OPRID_VW2

14 FO_BRANCH2 Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: FO_BRANCH_TBL

15 CITY Character(30) VARCHAR2(30) NOT NULL City
16 STATE Character(6) VARCHAR2(6) NOT NULL State
17 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
18 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone