RDM_SITE_SET_VW(SQL View) |
Index Back |
---|---|
Site Based on User SetIDThis view returns all the Sites that a user has access to based on its setid. |
SELECT A.OPRID , C.SETID , C.SITE_ID , C.SYNCID , C.SYNCDTTM FROM PS_OPR_DEF_TBL_RB A , PS_SET_CNTRL_REC B , PS_RD_SITE C , PS_BO BO WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE AND B.RECNAME='RD_SITE' AND B.SETID = C.SETID AND C.BO_ID = BO.BO_ID AND BO.MERGE_STATUS <> 'I' |
# | 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 | 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. |
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 |