RD_ACCOUNTS_VW(SQL View) |
Index Back |
---|---|
Account Prompt ViewBO View to get a list of Account objects for prompting. |
SELECT BO.BO_ID ,NM.BO_NAME_DISPLAY ,RO.ROLE_TYPE_ID , RO.SYNCID , RO.SYNCDTTM FROM PS_BO BO ,PS_BO_NAME NM , PS_BO_ROLE RO WHERE BO.BO_ID = RO.BO_ID AND BO.BO_ID = NM.BO_ID AND NM.PRIMARY_IND = 'Y' AND EXISTS ( SELECT 'X' FROM PS_BO_REL_TYPE RT , PS_BO_REL_CAT_ITEM RC WHERE RO.ROLE_TYPE_ID = RT.ROLE_TYPE_ID_2 AND RC.BO_REL_CATEGORY_ID IN (19, 20) AND RT.REL_TYPE_ID = RC.REL_TYPE_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
3 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL |
Role Type ID
Prompt Table: BO_ROLE_TYPE |
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 |