FO_CAN_BRANCHES(SQL View) |
Index Back |
---|
SELECT A.CANDIDATE_ID , %Coalesce(B.FO_BRANCH, C.FO_BRANCH) , %Coalesce(B1.BUSINESS_UNIT_PC, C1.BUSINESS_UNIT_PC) FROM %Table(FO_CANDIDATE_W) A , %Table(FO_APP_BRANCHES) B , %Table(FO_BRANCH_TBL) B1 , %Table(FO_EMP_BRANCHES) C , %Table(FO_BRANCH_TBL) C1 WHERE A.CANDIDATE_ID = B.APPLID (+) AND B.FO_BRANCH = B1.FO_BRANCH (+) AND A.CANDIDATE_ID = C.EMPLID (+) AND C.FO_BRANCH = C1.FO_BRANCH (+) AND A.EMPL_STATUS ='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CANDIDATE_ID | Character(11) | VARCHAR2(11) NOT NULL | Used as a general ID for anything from Employee id to other types of ID like asset and material. |
2 | FO_BRANCH | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |