RFT_C_INST_LVW(SQL View) |
Index Back |
---|---|
Installed Prod 360 Degree ViewThis related language 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 , f.LANGUAGE_CD , f.DESCR ,a.PRODUCT_ID ,a.CURRENCY_CD ,g.RB_XLATLONGNAME ,%subrec(RB_AUDIT_SBR,a) FROM PS_RF_INST_PROD a , PS_PROD_ITEM c , PS_PROD_ITEM_LNG f , PS_RBT_PROD_ITEM d , PS_RF_ISTATXLAT_VW e , PS_RF_ISTATXLT_LVW g , 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 f.SETID = c.SETID AND f.PRODUCT_ID = c.PRODUCT_ID 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 g.SETID = e.SETID AND g.INST_PROD_TYPE = e.INST_PROD_TYPE AND g.FIELDVALUE = 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
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 | RB_XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
12 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
13 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
14 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
15 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
16 | 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. |
17 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |