RC_IPRDH_C_VW(SQL View) |
Index Back |
---|---|
Product promptPrompt on all products installed for the employee and the emplyee's department. (Helpdesk) |
SELECT p.SETID , ps.BO_ID , p.PRODUCT_ID , i.INST_PROD_ID , i.ASSETTAG , p.DESCR FROM %Table(PROD_ITEM) p , %Table(RF_INST_PROD) i , %Table(RD_PERSON) ps , %Table(RB_WORKER) w WHERE i.INST_PROD_TYPE = '001' AND i.SETID = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = p.SETID AND sc.RECNAME = 'PROD_ITEM') 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 i.PRODUCT_ID = p.PRODUCT_ID AND ps.PERSON_ID = w.PERSON_ID AND (i.BO_ID_CONTACT = ps.BO_ID OR (i.DEPTID = w.DEPTID AND w.SETID_DEPT = ( SELECT sc2.SETID FROM %Table(SET_CNTRL_REC) sc2 WHERE sc2.SETCNTRLVALUE = i.SETID AND sc2.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 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
4 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
5 | ASSETTAG | Character(40) | VARCHAR2(40) NOT NULL | Asset Tag |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |