RC_INSTH_PCALVW(SQL View) |
Index Back |
---|---|
Installed Product promptIf installed products are defined in agreement line, prompt on only those installed products on the agreement line that installed for the employee and the employee's department. (Helpdesk) |
SELECT i.SETID , b.PRODUCT_ID , p.BO_ID , a.AGREEMENT_CODE , a.AGR_RENEWAL_NUM , a.AGREEMENT_LINE , i.INST_PROD_ID , i.LANGUAGE_CD , i.DESCR FROM %Table(RF_INST_PROD) b , %Table(RC_INST_PRODLVW) i , %Table(RF_UNDER_SVC) a , %Table(RD_PERSON) p , %Table(RB_WORKER) w WHERE b.SETID = i.SETID AND b.INST_PROD_ID = i.INST_PROD_ID AND b.INST_PROD_TYPE = '001' AND p.PERSON_ID = w.PERSON_ID AND a.SETID = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = i.SETID AND sc.RECNAME = 'RF_UNDER_SVC') AND a.INST_PROD_ID = b.INST_PROD_ID AND (b.BO_ID_CONTACT = p.BO_ID OR (b.DEPTID = w.DEPTID AND w.SETID_DEPT = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = b.SETID AND RECNAME = 'DEPT_TBL'))) |
# | 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 | AGREEMENT_CODE | Character(30) | VARCHAR2(30) NOT NULL | This field represents the agreement code (name) for an agreement |
5 | 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) |
6 | AGREEMENT_LINE | Character(10) | VARCHAR2(10) NOT NULL | This field records the value for the agreement line number |
7 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
8 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |