RC_INST_PCSALVW(SQL View) |
Index Back |
---|---|
installed product promptIf installed products are defined in the agreement line for the product, prompt on only those installed products on the agreement line, that installed for the customer on that site. (Support) |
SELECT b.SETID , b.PRODUCT_ID , b.BO_ID_CUST , s.BO_ID , a.AGREEMENT_CODE , a.AGR_RENEWAL_NUM , a.AGREEMENT_LINE , b.INST_PROD_ID , i.LANGUAGE_CD , i.DESCR FROM %Table(RF_INST_PROD) b , %Table(RC_INST_PRODLVW) i , %Table(RD_SITE) s , %Table(RF_UNDER_SVC) a WHERE i.SETID = b.SETID AND i.INST_PROD_ID = b.INST_PROD_ID AND b.INST_PROD_TYPE IN ('002', '003') AND s.SETID = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = b.SETID AND sc.RECNAME = 'RD_SITE') AND s.SITE_ID = b.SITE_ID AND a.SETID = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = b.SETID AND sc.RECNAME = 'RF_UNDER_SVC') AND a.INST_PROD_ID = b.INST_PROD_ID AND b.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 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
4 | BO_ID_SITE | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID |
5 | AGREEMENT_CODE | Character(30) | VARCHAR2(30) NOT NULL | This field represents the agreement code (name) for an agreement |
6 | AGR_RENEWAL_NUM | Number(4,0) | SMALLINT NOT NULL | This field represents the agreement renewal number (agreements begin at a value of one and the number is incremented with every renewal) |
7 | AGREEMENT_LINE | Character(10) | VARCHAR2(10) NOT NULL | This field records the value for the agreement line number |
8 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
9 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |