RC_IPRDH_CA_VW

(SQL View)
Index Back

Product prompt

Prompt on all products defined in the agreement line installed for the employee and the employee's department. (Helpdesk)

SELECT p.SETID , ps.BO_ID , lnp.AGREEMENT_CODE , lnp.AGR_RENEWAL_NUM , lnp.AGREEMENT_LINE , p.PRODUCT_ID , i.INST_PROD_ID , i.ASSETTAG , p.DESCR FROM %Table(PROD_ITEM) p , %Table(RD_PERSON) ps , %Table(RB_WORKER) w , %Table(RF_AG_LINE_PROD) lnp , %Table(RF_INST_PROD) i 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 = 'RF_INST_PROD') AND i.INST_PROD_ID IN ( SELECT s.INST_PROD_ID FROM %Table(RF_INST_PROD_ST) s WHERE s.SETID = i.SETID AND s.INST_PROD_STATUS <> 'UNI') AND p.PRODUCT_ID = i.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 = p.SETID AND sc2.RECNAME = 'RF_AG_LINE_PROD'))) AND lnp.SETID = ( SELECT sc3.SETID FROM %Table(SET_CNTRL_REC) sc3 WHERE sc3.SETCNTRLVALUE = p.SETID AND sc3.RECNAME = 'RF_AG_LINE_PROD') AND lnp.PRODUCT_ID = p.PRODUCT_ID

  • Related Language Record: RC_IPRDH_CALVW
  • # 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 AGREEMENT_CODE Character(30) VARCHAR2(30) NOT NULL This field represents the agreement code (name) for an agreement
    4 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)
    5 AGREEMENT_LINE Character(10) VARCHAR2(10) NOT NULL This field records the value for the agreement line number
    6 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
    7 INST_PROD_ID Character(20) VARCHAR2(20) NOT NULL This field is used to represent the installed product ID (key field)
    8 ASSETTAG Character(40) VARCHAR2(40) NOT NULL Asset Tag
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description