diff --git a/process/Leadimport_lib/process.js b/process/Leadimport_lib/process.js index 8cd377ea5c17fc558852ae58d9cc5aa94a15b7f7..01a2846b9efe59ac576b54c62d0faf678618a2dc 100644 --- a/process/Leadimport_lib/process.js +++ b/process/Leadimport_lib/process.js @@ -467,7 +467,7 @@ LeadImportUtils.insertOrg = function(pDataFields, pDataTypes, pFieldDef, pField //Organisation var OrgValues = LeadImportUtils.setValues(pDataFields["ORGANISATION"], pFieldDef, pFieldValues); var entityFieldValues = []; - var ids = LeadImportUtils.CheckDup(OrgValues, "ORGANISATION");//checks if there is already an organisation like this + var ids = LeadImportUtils.checkOrgDup(OrgValues, "ORGANISATION");//checks if there is already an organisation like this if (ids.length == 0)//there is no organisation like this { @@ -849,7 +849,7 @@ LeadImportUtils.scanLeadDups = function(pAllContactData) * @param {Object} pLeadValues values of the Lead * @return {[]} [ORGANISATIONID, CONTACTID] */ -LeadImportUtils.CheckDup = function(pLeadValues) +LeadImportUtils.checkOrgDup = function(pLeadValues) { // search whether the organisation already exists var query = newSelect("ORGANISATIONID, CONTACTID")