RO_GET_IPSVC_VW

(SQL View)
Index Back

Installed Product

This view is used to get the available Services along with the phone numbers displayed for defining the Line relationships.

SELECT A.SETID , A.INST_PROD_ID , A.BO_ID_CUST , A.ROLE_TYPE_ID_CUST , A.BO_ID_CONTACT , A.ROLE_TYPE_ID_CNTCT , A.PRODUCT_ID , C.RBTNUMBER , D.INST_PROD_STATUS ,A.INST_PROD_TYPE , P.RBT_LINE_USAGE FROM PS_RF_INST_PROD A , PS_RF_INST_PROD B , PS_RF_INST_PROD C , PS_RF_INST_PROD_ST D , PS_RBT_PROD_ITEM P WHERE A.SETID = B.SETID AND A.INST_PROD_ID = B.PARENT_INST_PRODID AND B.SETID = C.SETID AND B.INST_PROD_ID = C.PARENT_INST_PRODID AND C.RBTNUMBER <> ' ' AND C.SETID = D.SETID AND C.INST_PROD_ID = D.INST_PROD_ID AND P.SETID = ( SELECT DP.SETID FROM PS_SET_CNTRL_REC DP WHERE DP.SETCNTRLVALUE = C.SETID AND DP.RECNAME = 'PROD_ITEM') AND C.PRODUCT_ID = P.PRODUCT_ID AND D.INST_PROD_STATUS <> 'DIS' AND A.INST_PROD_TYPE = '003'

# 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.

Default Value: OPR_DEF_TBL_RB.SETID

Prompt Table: SP_SETID_NONVW

2 INST_PROD_ID Character(20) VARCHAR2(20) NOT NULL This field is used to represent the installed product ID (key field)

Default Value: NEXT

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 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
6 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
7 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Prompt Table: RF_PROD_PMPT_VW

8 RBTNUMBER Character(15) VARCHAR2(15) NOT NULL Number For Telco
9 INST_PROD_STATUS Character(4) VARCHAR2(4) NOT NULL Status of an installed product.
10 INST_PROD_TYPE Character(3) VARCHAR2(3) NOT NULL This field is used by the Installed Product component to determine the type of product that is being registered for the Customer, Site, Department or Employee. There are four allowable types: 1) Product, which designates a product assigned to an external customer; 2) Service 3) Asset, which designates a product assigned to an internal employee or department; and 4)Agreement, which designates an Installed Agreement Product (used in Order Capture integration with Agreements).
001=Asset
002=Product
003=Service
004=Agreement
005=Commitment
11 RBT_LINE_USAGE Character(1) VARCHAR2(1) NOT NULL Line Usage for the service - either data, fax, or voice.
D=Data Line
F=Fax Line
V=Voice Line