From 05b02139cc0a1caf657ad1dd14172cfdbc0f211b Mon Sep 17 00:00:00 2001 From: hknokh2 Date: Fri, 25 Oct 2024 01:17:14 +0300 Subject: [PATCH] fix: fixed referenced field mapping #896 --- src/modules/models/script_models/script.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/models/script_models/script.ts b/src/modules/models/script_models/script.ts index 961a673d..5353fedf 100644 --- a/src/modules/models/script_models/script.ts +++ b/src/modules/models/script_models/script.ts @@ -685,6 +685,7 @@ export default class Script implements IAppScript, ISfdmuRunScript { } if (mapping.sourceField && mapping.targetField) { this.sourceTargetFieldMapping.get(object.name).fieldMapping.set(mapping.sourceField, mapping.targetField); + this.sourceTargetFieldMapping.get(object.name).fieldMapping.set(Common.getFieldName__r(null, mapping.sourceField), Common.getFieldName__r(null, mapping.targetField)); } }); }