RFT_C_INST_VW(SQL View) |
Index Back |
---|---|
RFT_C_INST_VWThis view returns a list of installed products for a Contact/Customer combination. It is used by the 360 Degree View. |
SELECT DISTINCT a.BO_ID_CONTACT , a.ROLE_TYPE_ID_CNTCT , a.BO_ID_CUST , a.ROLE_TYPE_ID_CUST , a.SETID , a.INST_PROD_ID ,c.DESCR ,h.INST_PROD_STATUS ,a.PRODUCT_ID ,a.CURRENCY_CD ,a.RECUR_PRICE ,a.PRICE ,e.RB_XLATLONGNAME ,%subrec(RB_AUDIT_SBR,a) FROM PS_RF_INST_PROD a , PS_PROD_ITEM c , PS_RBT_PROD_ITEM d , PS_RF_ISTATXLAT_VW e , PS_RF_INST_PROD_ST h WHERE a.PARENT_INST_PRODID = ' ' AND c.SETID = ( SELECT x.SETID FROM PS_SET_CNTRL_REC x WHERE x.SETCNTRLVALUE = a.SETID AND x.RECNAME = 'PROD_ITEM') AND a.PRODUCT_ID = c.PRODUCT_ID AND h.SETID = a.SETID AND h.INST_PROD_ID = a.INST_PROD_ID AND c.SERVICE = 'Y' AND d.SETID = c.SETID AND d.PRODUCT_ID = c.PRODUCT_ID AND d.RBTFEATURE_FLAG = 'N' AND h.INST_PROD_STATUS IN ('INS', 'SUS','PND','PSU') AND h.INST_PROD_STATUS = e.FIELDVALUE AND e.SETID = a.SETID AND e.INST_PROD_TYPE = a.INST_PROD_TYPE AND e.INST_PROD_TYPE = '003' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
2 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
3 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
4 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
5 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
6 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | INST_PROD_STATUS | Character(4) | VARCHAR2(4) NOT NULL |
Status of an installed product.
Prompt Table: RF_ISTATXLTS_VW |
9 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
11 | RECUR_PRICE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Recurring Price |
12 | PRICE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | This is price per unit for calculating the service charge. |
13 | RB_XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
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 |