function salesforce_api_search_for_duplicates in Salesforce Suite 7
Same name and namespace in other branches
- 6.2 salesforce_api/salesforce_api.module \salesforce_api_search_for_duplicates()
- 7.2 salesforce_api/salesforce_api.module \salesforce_api_search_for_duplicates()
2 calls to salesforce_api_search_for_duplicates()
- sf_entity_export in sf_entity/
sf_entity.module - Exports an entity to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the entity.
- sf_entity_import in sf_entity/
sf_entity.module - Imports data from Salesforce into an entity
File
- salesforce_api/
salesforce_api.module, line 827 - Defines an API that enables modules to interact with the Salesforce server.
Code
function salesforce_api_search_for_duplicates($direction, $object, $fieldmap_id) {
// Call hook_sf_find_match to give opportunity to try to match existing sf object instead
// of creating a new one. No hook_sf_find_match is defined out of the box. Developers must
// implement their own logic for this one.
return module_invoke_all('sf_find_match', $direction, $object, $fieldmap_id);
}