RI_SO_STATLVW(SQL View) |
Index Back |
---|---|
Service Order ViewUsed by the 360 Degree View component to display a list of Service Orders by Contact and/or Customer. |
SELECT A.BO_ID_CUST , CASE WHEN A.ROLE_TYPE_ID_CUST = 42 THEN 2 WHEN A.ROLE_TYPE_ID_CUST = 46 THEN 9 ELSE A.ROLE_TYPE_ID_CUST END , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , B.BO_ID , A.SO_STATUS , A.BUSINESS_UNIT , A.SO_ID , D.LANGUAGE_CD , A.SITE_ID , A.SO_PRIORITY , D.XLATLONGNAME , F.XLATLONGNAME ,A.SERVICE_ID , 0 , 0 , 0 , 0 , %subrec(RB_AUDIT_SBR, A) FROM PS_RF_SO_HDR A , PS_RF_SITE_360_VW B , PSXLATITEM C , PSXLATITEMLANG D , PSXLATITEM E , PSXLATITEMLANG F WHERE A.SO_STATUS = C.FIELDVALUE AND C.FIELDNAME = D.FIELDNAME AND C.FIELDVALUE = D.FIELDVALUE AND C.FIELDNAME = 'SO_STATUS' AND C.EFF_STATUS = 'A' AND C.EFFDT <= %CurrentDateIn AND A.SO_PRIORITY = E.FIELDVALUE AND E.FIELDNAME = F.FIELDNAME AND E.FIELDVALUE = F.FIELDVALUE AND E.FIELDNAME = 'SO_PRIORITY' AND E.EFF_STATUS = 'A' AND E.EFFDT <= %CurrentDateIn AND A.BUSINESS_UNIT = B.SETCNTRLVALUE (+) AND A.SITE_ID = B.SITE_ID (+) AND D.LANGUAGE_CD = F.LANGUAGE_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | BO_ID_SITE | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
6 | 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 |
7 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT Prompt Table:
SP_BU_RF_NONVW
|
8 | SO_ID | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID |
9 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
10 | SITE_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. |
11 | SO_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL |
The priority of the service order.
H=High L=Low N=Normal U=Urgent |
12 | STATUS_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Field used to show the status description. Field used as edit box. |
13 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
14 | SERVICE_ID | Character(20) | VARCHAR2(20) NOT NULL |
Service ID
Prompt Table: RF_SERVICE |
15 | BO_ID_PARTNER | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID of Partner Company. |
16 | ROLE_TYPE_ID_PART | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner |
17 | BO_ID_PART_CONT | Signed Number(32,0) | DECIMAL(31) NOT NULL | This is the business object identifier for the partner contact. |
18 | ROLE_TYPE_ID_PARTC | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner contact |
19 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
20 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
21 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
22 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
23 | 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. |
24 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |