Skip to content
Snippets Groups Projects
Commit 847c050f authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '#1065622-AttributeusageLeadimport' into '2020.2.0'

#1065622-AttributeusageLeadimport Attributeusage wird berücksichtigt.

See merge request xrm/basic!386
parents a200059f 51843ff3
No related branches found
No related tags found
No related merge requests found
import("Attribute_lib");
import("ExportTemplate_lib");
import("system.workflow");
import("system.project");
......@@ -732,6 +733,8 @@ LeadImportUtils.insertLeadAttr = function(pAttrObject, orgid, persid, pUser, pD
*/
LeadImportUtils.sqlInsertAttr = function(pAttrObject, pAttrValues, pUser, pDate)
{
if (AttributeUtil.getPossibleAttributes(pAttrValues[0]).indexOf(pAttrValues[1]) == -1)
return;
pAttrValues[8] = util.getNewUUID();
pAttrValues[9] = pUser;
pAttrValues[10] = pDate;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment