RS_SO_DELSO_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.SO_ID , A.SO_DATE , A.CUST_ID , C.NAME1 , A.ASSIGNED_TO , A.ENTERED_BY , A.PROJECT_ID , A.DESCR60 FROM PS_RS_SO_HDR A , PS_RS_SO_STATUS B , PS_CUSTOMER C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND B.SO_STATUS IN ('D', 'N') AND B.LASTUPDDTTM = ( SELECT MAX(C.LASTUPDDTTM) FROM PS_RS_SO_STATUS C WHERE B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.SO_ID = C.SO_ID) AND A.CUST_SETID = C.SETID (+) AND A.CUST_ID = C.CUST_ID (+) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
2 | SO_ID | Character(15) | VARCHAR2(15) NOT NULL | Service Order ID |
3 | SO_DATE | Date(10) | DATE | Service Order Date |
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.
Prompt Table: CUSTOMER_FS |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | ASSIGNED_TO | Character(30) | VARCHAR2(30) NOT NULL |
Assigned To
Prompt Table: RS_OPR_NAME_VW |
7 | ENTERED_BY | Character(30) | VARCHAR2(30) NOT NULL |
Entered by
Prompt Table: OPRID_VW |
8 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: SP_PROJ_NONVW |
9 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |