FO_SO_ASSIGN_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.SO_ID , A.SO_LINE , A.CANDIDATE_TYPE , A.EMPLID , A.ASSIGNMENT_ID , A.END_ACTUAL_DATE , B.START_DT , C.ASSIGN_STS FROM PS_RS_ASSIGNMENT A , PS_RS_ASSGN_DETAIL B , PS_RS_ASSGN_STS C WHERE A.ASSIGNMENT_ID = B.ASSIGNMENT_ID AND A.ASSIGNMENT_ID = C.ASSIGNMENT_ID AND B.START_DT = ( SELECT MIN(D.START_DT) FROM PS_RS_ASSGN_DETAIL D WHERE B.ASSIGNMENT_ID = D.ASSIGNMENT_ID AND B.SEQNO = D.SEQNO) AND C.LASTUPDDTTM = ( SELECT MAX (E.LASTUPDDTTM) FROM PS_RS_ASSGN_STS E WHERE C.ASSIGNMENT_ID = E.ASSIGNMENT_ID) AND A.SYSTEM_SOURCE = 'STF' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SO_ID | Character(15) | VARCHAR2(15) NOT NULL | Service Order ID |
3 | SO_LINE | Number(3,0) | SMALLINT NOT NULL | Line Number |
4 | CANDIDATE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Candidate Type
A=Applicant E=Employee |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
7 | END_ACTUAL_DATE | Date(10) | DATE | Actual End Date |
8 | START_DT | Date(10) | DATE | Start Date |
9 | ASSIGN_STS | Character(2) | VARCHAR2(2) NOT NULL |
Assignment Status
A=Assign C=Complete I=Interview P=Propose R=Reject S=Reserve V=Pending Approval X=Cancel |