You are here

function salesforce_api_search_for_duplicates in Salesforce Suite 6.2

Same name and namespace in other branches
  1. 7 salesforce_api/salesforce_api.module \salesforce_api_search_for_duplicates()
  2. 7.2 salesforce_api/salesforce_api.module \salesforce_api_search_for_duplicates()
4 calls to salesforce_api_search_for_duplicates()
sf_node_export in sf_node/sf_node.module
Exports a node to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the node.
sf_node_import in sf_node/sf_node.module
Imports data from Salesforce into a node.
sf_user_export in sf_user/sf_user.module
Exports a user to Salesforce using the specified fieldmap and stores the ID of the Salesforce object for the user.
sf_user_import in sf_user/sf_user.module
Imports data from Salesforce into a user.

File

salesforce_api/salesforce_api.module, line 1297
Defines an API that enables modules to interact with the Salesforce server.

Code

function salesforce_api_search_for_duplicates($direction, $fieldmap_type, $object, $fieldmap_name) {

  // 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, $fieldmap_type, $object, $fieldmap_name);
}