RC_INSTH_PCA_VW

(SQL View)
Index Back

Installed Product prompt

If 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 , i.PRODUCT_ID , p.BO_ID , a.AGREEMENT_CODE , a.AGR_RENEWAL_NUM , a.AGREEMENT_LINE , i.INST_PROD_ID , i.SERIAL_ID , i.ASSETTAG , i.DESCR FROM %Table(RC_INST_PROD_VW) i , %Table(RF_UNDER_SVC) a , %Table(RD_PERSON) p , %Table(RB_WORKER) w WHERE i.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 = i.INST_PROD_ID AND (i.BO_ID_CONTACT = p.BO_ID OR (i.DEPTID = w.DEPTID AND w.SETID_DEPT = ( SELECT sc.SETID FROM %Table(SET_CNTRL_REC) sc WHERE sc.SETCNTRLVALUE = i.SETID AND RECNAME = 'DEPT_TBL')))

  • Related Language Record: RC_INSTH_PCALVW
  • # 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 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL This field is used to represent the Serial ID of an item or installed product
    9 ASSETTAG Character(40) VARCHAR2(40) NOT NULL Asset Tag
    10 DESCR Character(30) VARCHAR2(30) NOT NULL Description