Skip to content
Snippets Groups Projects
Commit 7319421d authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong: Committed by Sebastian Listl
Browse files

Bugfix leadimport

parent 6504e6ac
No related branches found
No related tags found
No related merge requests found
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="d.nowack" id="bcd6cb02-d074-444f-a307-34973b3dd4dn">
<modifyDataType tableName="LEAD" columnName="STATUS" newDataType="VARCHAR(36)"/>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -5,6 +5,7 @@
<include relativeToChangelogFile="true" file="Knowledgemanagement/changelog_knowledgeManagement.xml"/>
<include relativeToChangelogFile="true" file="insert_employeeCountAttribute.xml"/>
<include relativeToChangelogFile="true" file="alter_CampaignParticipantResponsible.xml"/>
<include relativeToChangelogFile="true" file="alter_TableLeadStatus.xml"/>
<include relativeToChangelogFile="true" file="MSTeams/changelog.xml"/>
<include relativeToChangelogFile="true" file="insert_newsletterAttribute.xml"/>
<include relativeToChangelogFile="true" file="readd_ExporttemplateIndizes.xml"/>
......
import("Sql_lib");
import("system.vars");
var rowdata = vars.get("$local.rowdata");
......@@ -6,5 +7,6 @@ let scanPattern = JSON.parse(rowdata["DUPLICATESCANNER.SCAN_PATTERN"]);
if (scanPattern.provider == undefined)
{
scanPattern.provider = "indexP";
vars.set("$field.SCAN_PATTERN", JSON.stringify(scanPattern));
newWhere("DUPLICATESCANNER.ID", vars.get("$local.uid"))
.updateData(true, "DUPLICATESCANNER", ["DUPLICATESCANNER.SCAN_PATTERN"], null,[JSON.stringify(scanPattern)]);
}
\ No newline at end of file
......@@ -349,6 +349,7 @@ LeadImportUtils.setValues = function(pFields, pFieldDef, pFieldValues)
* @return {String} outputvalue
*/
LeadImportUtils.getMappedOutputvalue = function (pField, pInputValue) {
pInputValue = pInputValue.replace("/ß/gi", "ss");
if (LeadImportUtils.mapping != undefined &&
LeadImportUtils.mapping[pField] != undefined &&
LeadImportUtils.mapping[pField][pInputValue] != undefined)
......
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