RFT_CINST_OPRVW

(SQL View)
Index Back

RFT_C_INST_VW

This view returns a list of installed products for a given Customer. It is a secure view to be used for a particular operator.

SELECT DISTINCT a.BO_ID_CONTACT , a.ROLE_TYPE_ID_CNTCT , a.BO_ID_CUST , a.ROLE_TYPE_ID_CUST , a.SETID , a.INST_PROD_ID ,c.DESCR ,h.INST_PROD_STATUS ,a.PRODUCT_ID ,a.CURRENCY_CD ,a.RECUR_PRICE ,a.PRICE ,e.RB_XLATLONGNAME , O.OPRID ,%subrec(RB_AUDIT_SBR,a) FROM PS_RF_INST_PROD a , PS_PROD_ITEM c , PS_RBT_PROD_ITEM d , PS_RF_ISTATXLAT_VW e , PS_SEC_SETID_OPR O , PS_RF_INST_PROD_ST h WHERE a.PARENT_INST_PRODID = ' ' AND c.SETID = ( SELECT x.SETID FROM PS_SET_CNTRL_REC x WHERE x.SETCNTRLVALUE = a.SETID AND x.RECNAME = 'PROD_ITEM') AND a.PRODUCT_ID = c.PRODUCT_ID AND d.SETID = c.SETID AND d.PRODUCT_ID = c.PRODUCT_ID AND h.SETID = a.SETID AND h.INST_PROD_ID = a.INST_PROD_ID AND c.SERVICE = 'Y' AND d.RBTFEATURE_FLAG = 'N' AND h.INST_PROD_STATUS IN ('INS', 'SUS','PND','PSU') AND h.INST_PROD_STATUS = e.FIELDVALUE AND e.SETID = a.SETID AND e.INST_PROD_TYPE = a.INST_PROD_TYPE AND e.INST_PROD_TYPE = '003' AND a.SETID = O.SETID

  • Related Language Record: RFT_CINSL_OPRVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
    2 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
    3 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
    4 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
    5 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
    6 INST_PROD_ID Character(20) VARCHAR2(20) NOT NULL This field is used to represent the installed product ID (key field)
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    8 INST_PROD_STATUS Character(4) VARCHAR2(4) NOT NULL Status of an installed product.

    Prompt Table: RF_ISTATXLTS_VW

    9 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
    10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL This field stores the Currency Code value.
    11 RECUR_PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL Recurring Price
    12 PRICE Signed Number(16,4) DECIMAL(14,4) NOT NULL This is price per unit for calculating the service charge.
    13 RB_XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
    14 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    15 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
    16 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
    17 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    18 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
    19 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
    20 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time