RDM_COMP_SET_VW(SQL View) |
Index Back |
---|---|
Company Based on User SetIDThis view returns all the companies that a user has access to based on its setid. |
SELECT D.OPRID , C.SETID , C.COMPANYID , C.SYNCID , C.SYNCDTTM FROM PS_RSF_SUSER A , PS_SET_CNTRL_REC B , PS_RD_COMPANY C , PSOPRALIAS D , PS_BO BO WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE AND B.RECNAME='RD_COMPANY' AND B.SETID = C.SETID AND A.PERSON_ID = D.PERSON_ID AND A.STATUS = 'A' 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 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company 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 |