RBG_SO_GEO_VW(SQL View) |
Index Back |
---|---|
View on Case and AddressView on Case and Address SELECT A.BUSINESS_UNIT , A.SO_ID , A.MARKET , A.SO_DATE , A.CASE_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , L.BO_NAME , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , L.BO_NAME_1 , A.SO_STATUS , A.SO_PRIORITY , %subrec(RB_AUDIT_SBR,A) FROM PS_RF_SO_HDR A LEFT OUTER JOIN PS_RBG_CUST_CNT_VW L ON L.BO_ID_CUST = A.BO_ID_CUST AND L.ROLE_TYPE_ID_CUST = A.ROLE_TYPE_ID_CUST AND L.BO_ID_CONTACT = A.BO_ID_CONTACT AND L.ROLE_TYPE_ID_CNTCT = A.ROLE_TYPE_ID_CNTCT WHERE A.ROLE_TYPE_ID_CUST IN (2,9) AND ( (A.SO_ID IN ( SELECT Z.SO_ID FROM PS_RBG_INCI_SO_VW Z WHERE Z.BUSINESS_UNIT = A.BUSINESS_UNIT)) OR (A.SO_ID IN ( SELECT X.SO_ID FROM PS_RBG_CUST_SO_VW X WHERE X.BUSINESS_UNIT = A.BUSINESS_UNIT)) ) |
SELECT A.BUSINESS_UNIT , A.SO_ID , A.MARKET , A.SO_DATE , A.CASE_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , Z.BO_NAME , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , Y.BO_NAME , A.SO_STATUS , A.SO_PRIORITY , %subrec(RB_AUDIT_SBR,A) FROM PS_RF_SO_HDR A , PS_BO_NAME Z , PS_BO_NAME Y WHERE A.ROLE_TYPE_ID_CUST IN (42,46) AND A.BO_ID_CUST = Z.BO_ID (+) AND A.BO_ID_CONTACT = Y.BO_ID(+) AND ( (A.SO_ID IN ( SELECT Z.SO_ID FROM PS_RBG_INCI_SO_VW Z WHERE Z.BUSINESS_UNIT = A.BUSINESS_UNIT)) OR (A.SO_ID IN ( SELECT X.SO_ID FROM PS_RBG_CUST_SO_VW X WHERE X.BUSINESS_UNIT = A.BUSINESS_UNIT)) ) |
# | 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_RF_NONVW |
2 | SO_ID | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID |
3 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
4 | SO_DATE | Date(10) | DATE | Stores the Service Order creation date. |
5 | CASE_ID | Number(15,0) | DECIMAL(15) NOT NULL | Case ID. This is a unique ID assigned to a case when it is saved. Unique ID is ensured by getting the next value from the auto-numbering table and updating the table. |
6 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
7 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
8 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
9 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
10 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
11 | BO_NAME_CONTACT | Character(50) | VARCHAR2(50) NOT NULL | BO_NAME_CONTACT |
12 | SO_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
This field is used to store the Service Order Header Status.
C=Complete D=Closed O=Open X=Canceled |
13 | SO_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL |
The priority of the service order.
H=High L=Low N=Normal U=Urgent |
14 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
15 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
16 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
17 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
18 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
19 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |