RS_SO_RCNT_VW(SQL View) |
Index Back |
---|---|
Most Recent Created SO ViewView to get list of Most Recent created Service Order Pagelet |
SELECT A.BUSINESS_UNIT , A.SO_ID , A.DESCR60 , A.PROJECT_ID , A.CUST_ID , A.SO_DATE , B.SO_STATUS FROM PS_RS_SO_HDR A , PS_RS_SO_STATUS B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND B.LASTUPDDTTM = ( SELECT MAX(B1.LASTUPDDTTM) FROM PS_RS_SO_STATUS B1 WHERE B1.BUSINESS_UNIT = B.BUSINESS_UNIT AND B1.SO_ID = B.SO_ID AND B1.LASTUPDDTTM <= %CurrentDateTimeIn) AND A.SYSTEM_SOURCE = 'RS' ORDER BY A.SO_DATE DESC |
# | 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 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
4 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
5 | 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. |
6 | SO_DATE | Date(10) | DATE | Service Order Date |
7 | SO_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Service Order Status
C=Closed D=Draft I=In Process N=New O=Open X=Canceled |