SmartConnect 2018
Salesforce Change Data Source Objects
The following objects are created to facilitate the processing of change data source maps from Salesforce:
Change table:
The change table is used to maintain the list of that changes within Salesforce. It is defined as follows:
Object Name: eOneCh_<EntityName>
API Name: eOneCh_<EntityName>__c
Label: Change tracking for <Entity Name>
Fields:
Field |
API Name |
Data Type |
Remarks |
---|---|---|---|
Sequence |
Name |
Autonumber |
Sequence number for the change table. |
Action |
Action__c |
Picklist |
Used to store the action that triggers the data source (insert, update) |
Date Processed |
DateProcessed__c |
Date/Time |
The date the processed flag was changed to true. |
Linked Record |
Link__c |
Lookup |
Used to link the change record with the changed entity record. |
Map |
Map__c |
Text(255) |
Used to store the map id that will use this change record. |
Processed |
Processed__c |
Checkbox |
False means record has not been processed by SmartConnect, true means record has been processed by SmartConnect. |
External Sequence |
Sequence__c |
Autonumber (External) |
External Sequence Id, used to access the record to update the processed status. |
Apex triggers:
The following apex trigger is created for each entity / action combination required for change data sources: