RFM_PROD_SET_VW

(SQL View)
Index Back

Mobile FieldService Products

This view returns all the Products that a user has access to based on its setid.

SELECT A.OPRID , C.SETID , C.PRODUCT_ID , %subrec(RB_AUDIT_SBR, C) , C.MARKET FROM PS_OPR_DEF_TBL_RB A , PS_SET_CNTRL_REC B , PS_PROD_ITEM C WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE AND B.RECNAME='PROD_ITEM' AND B.SETID = C.SETID AND C.MARKET = 'GBL'

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

Default Value: OPR_DEF_TBL_RB.SETID

Prompt Table: SP_SETID_NONVW

3 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

Default Value: NEXT

Prompt Table: PROD_SRCH_VW

4 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
5 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
6 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
7 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
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
10 MARKET Character(3) VARCHAR2(3) NOT NULL Market