FO_EMP_ORD2_VW(SQL View) |
Index Back |
---|---|
Employee Order History View |
SELECT DISTINCT B.APPLID , B.BUSINESS_UNIT , B.SO_ID , B.SO_LINE , A.ASSIGNMENT_ID , A.CUST_ID FROM PS_FO_EMP_ORD1_VW A RIGHT OUTER JOIN PS_FO_PNDG_ORD_TBL B ON A.SO_ID = B.SO_ID AND A.CANDIDATE_ID = B.APPLID AND A.SO_LINE = B.SO_LINE AND B.SO_ID <> ' ' UNION SELECT DISTINCT A.CANDIDATE_ID , A.BUSINESS_UNIT , A.SO_ID , A.SO_LINE , A.ASSIGNMENT_ID , A.CUST_ID FROM PS_FO_EMP_ORD1_VW A LEFT OUTER JOIN PS_FO_PNDG_ORD_TBL B ON A.SO_ID = B.SO_ID AND A.CANDIDATE_ID = B.APPLID AND A.SO_LINE = B.SO_LINE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
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. |