PIM_FS_CONSUMER(SQL View) |
Index Back |
---|---|
My SO Search ViewThis view shows all the service orders for a consumer |
SELECT DISTINCT A.BUSINESS_UNIT , A.SO_ID , B.OPRID , C.BO_ID_CUST , C.SO_STATUS , C.SO_PRIORITY , D.SYNCID , D.SYNCDTTM FROM PS_RF_SOLN_ASSIGN A , PSOPRALIAS B , PS_RF_SO_HDR C , PS_BO_ROLE D WHERE B.OPRALIASTYPE = 'PER' AND C.BO_ID_CUST = D.BO_ID AND D.ROLE_TYPE_ID = 9 AND C.ROLE_TYPE_ID_CUST IN (9, 46) AND A.PERSON_ID = B.PERSON_ID AND A.PERSON_ID <> ' ' AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND A.SO_ID = C.SO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_RB.BUSINESS_UNIT Prompt Table: SP_BU_RF_NONVW |
2 | SO_ID | Character(10) | VARCHAR2(10) NOT NULL |
Service Order ID
Prompt Table: RF_SO_HDR |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
4 | BO_ID_CONSUMER | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
5 | 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 |
6 | SO_PRIORITY | Character(1) | VARCHAR2(1) NOT NULL |
The priority of the service order.
H=High L=Low N=Normal U=Urgent |
7 | 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. |
8 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |