From 08cbe9a42b9e219af3f52b57e43c45d088f90134 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Mon, 25 Nov 2019 11:32:31 +0100 Subject: [PATCH] lead import: rename CheckDup to checkOrgDup --- process/Leadimport_lib/process.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/Leadimport_lib/process.js b/process/Leadimport_lib/process.js index 8cd377ea5c..01a2846b9e 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") -- GitLab