RS_SO_VW(SQL View) |
Index Back |
---|---|
PSA Junction View |
SELECT A.BUSINESS_UNIT , A.SO_ID , A.DESCR60 , A.CUST_ID , B.SO_STATUS , A.SO_DATE FROM %Table(RS_SO_HDR) A , %Table(RS_SO_STATUS) B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND B.LASTUPDDTTM = ( SELECT MAX(C.LASTUPDDTTM) FROM %Table(RS_SO_STATUS) C WHERE C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.SO_ID = B.SO_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
2 | Character(15) | VARCHAR2(15) NOT NULL | Service Order ID | |
3 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
4 | 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. |
5 | SO_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Service Order Status
C=Closed D=Draft I=In Process N=New O=Open X=Canceled |
6 | SO_DATE | Date(10) | DATE | Service Order Date |