RS_ASGN_PSOL_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.SO_ID , A.SO_LINE , A.ASSIGNMENT_ID , A.EMPLID , B.ASSIGN_STS , F.NAME , F.PER_STATUS , MIN(E.START_DT) , MAX(E.END_DT) FROM PS_RS_ASSIGNMENT A , PS_RS_ASSGN_STS B , PS_RS_SO_HDR C , PS_RS_SO_LINE D , PS_RS_ASSGN_DETAIL E , PS_PERSONAL_DATA F WHERE A.ASSIGNMENT_ID = B.ASSIGNMENT_ID AND B.LASTUPDDTTM = ( SELECT MAX(LASTUPDDTTM) FROM PS_RS_ASSGN_STS WHERE ASSIGNMENT_ID = A.ASSIGNMENT_ID) AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.SO_ID = A.SO_ID AND C.SYSTEM_SOURCE = 'RS' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.SO_ID = D.SO_ID AND A.SO_LINE = D.SO_LINE AND A.ASSIGNMENT_ID = E.ASSIGNMENT_ID AND A.EMPLID = F.EMPLID GROUP BY A.BUSINESS_UNIT , A.SO_ID , A.SO_LINE , A.ASSIGNMENT_ID , A.EMPLID , B.ASSIGN_STS , F.NAME , F.PER_STATUS |
# | 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 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | 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 |
7 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
8 | PER_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Personnel Status
E=Employee N=Non-Employee |
9 | START_DT | Date(10) | DATE | Start Date |
10 | END_DT | Date(10) | DATE | End Date |