RC_IPRD_CS_VW(SQL View) |
Index Back |
---|---|
Product promptPrompt on all products installed for the customer on that site. (Support) |
SELECT p.SETID , i.BO_ID_CUST , s.BO_ID , p.PRODUCT_ID , i.INST_PROD_ID , i.SERIAL_ID , p.DESCR FROM %Table(PROD_ITEM) p , %Table(RF_INST_PROD) i , %Table(RD_SITE) s WHERE i.INST_PROD_TYPE IN ('001', '002') AND i.INST_PROD_ID IN ( SELECT s.INST_PROD_ID FROM %Table(RF_INST_PROD_ST) s WHERE i.SETID = s.SETID AND s.INST_PROD_STATUS <> 'UNI') AND p.SETID = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = i.SETID AND sc.RECNAME = 'PROD_ITEM') AND p.PRODUCT_ID = i.PRODUCT_ID AND s.SETID = ( SELECT sc2.SETID FROM %Table(SET_CNTRL_REC) sc2 WHERE sc2.SETCNTRLVALUE = i.SETID AND sc2.RECNAME = 'RD_SITE') AND s.SITE_ID = i.SITE_ID AND i.BO_ID_CUST <> 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | BO_ID_SITE | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
5 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
6 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the Serial ID of an item or installed product |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |