RBM_PROD_SET_VW(SQL View) |
Index Back |
---|---|
Products Based on User SetIDThis view returns all the Products that a user has access to based on its setid. |
SELECT A.OPRID , C.SETID , C.PRODUCT_ID , C.SYNCID , C.SYNCDTTM 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. |
3 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
4 | 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. |
5 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |