FO_EMP_ORD1_VW(SQL View) |
Index Back |
---|---|
Employee Order History View |
SELECT DISTINCT B.CANDIDATE_ID , B.BUSINESS_UNIT , B.SO_ID , B.SO_LINE , A.ASSIGNMENT_ID , A.CUST_ID FROM PS_RS_ASSIGNMENT A RIGHT OUTER JOIN PS_FO_SO_LINE_MTCH B ON A.SO_ID = B.SO_ID AND A.EMPLID = B.CANDIDATE_ID AND A.SO_LINE = B.SO_LINE UNION SELECT DISTINCT A.EMPLID , A.BUSINESS_UNIT , A.SO_ID , A.SO_LINE , A.ASSIGNMENT_ID , A.CUST_ID FROM PS_RS_ASSIGNMENT A LEFT OUTER JOIN PS_FO_SO_LINE_MTCH B ON A.SO_ID = B.SO_ID AND A.EMPLID = B.CANDIDATE_ID AND A.SO_LINE = B.SO_LINE |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | SO_ID | Character(15) | VARCHAR2(15) NOT NULL | Service Order ID |
4 | SO_LINE | Number(3,0) | SMALLINT NOT NULL | Line Number |
5 | ASSIGNMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Assignment ID |
6 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |