RFM_IPRD_DDR_VW

(SQL View)
Index Back

Inst. Products for Mobile FS

This view returns all the Installed Products that a user has access to based on its setid and on the customers for which that user has open service orders (based on any sites listed for those customers in the service orders plus any installed products with no site value). This view originally developed primarily for use in Mobile FieldService Data Distribution Rules.

SELECT A.OPRID , A.SETID , A.INST_PROD_ID , A.BO_ID_CUST , A.SITE_ID , A.PRODUCT_ID , A.INV_ITEM_ID , A.SYNCID , A.SYNCDTTM FROM PS_RFM_IPRD_SET_VW A WHERE A.BO_ID_CUST IN ( SELECT DISTINCT BO_ID_CUST FROM PS_RF_SOMY_SOS_VW B WHERE B.OPRID = A.OPRID AND ((B.SITE_ID = A.SITE_ID AND B.SITE_ID <> ' ') OR A.SITE_ID = ' '))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
3 INST_PROD_ID Character(20) VARCHAR2(20) NOT NULL This field is used to represent the installed product ID (key field)
4 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
5 SITE_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
6 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 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.
9 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time