RDM_COMP_ACC_VW(SQL View) |
Index Back |
---|---|
Company as Account TeamThis view returns all the companies where the person is on the account team. |
SELECT B.PERSON_ID , COMP.SETID , COMP.COMPANYID , COMP.SYNCID , COMP.SYNCDTTM FROM PS_RD_COMPANY COMP ,PS_RD_PERSON B ,PS_BO_REL A ,PS_BO BO WHERE A.ROLE_TYPE_ID_1 = 17 AND A.BO_ID_1 = B.BO_ID AND COMP.BO_ID = A.BO_ID_2 AND %CurrentDateIn BETWEEN A.START_DT AND A.END_DT AND COMP.BO_ID = BO.BO_ID AND BO.MERGE_STATUS <> 'I' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
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 |