From 648e5f0d929f3378a526341c1b22f2d4d4d2511c Mon Sep 17 00:00:00 2001 From: "s.pongratz" <s.pongratz@adito.de> Date: Tue, 11 Jan 2022 15:00:59 +0100 Subject: [PATCH] =?UTF-8?q?[Projekt:=20xRM-ContactManagement][TicketNr.:?= =?UTF-8?q?=202002777][Export=20-=20Einschr=C3=A4nkung=20auf=20maximale=20?= =?UTF-8?q?Anzahl=20Daten]=20Comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entityfields/exporttemplateplaceofuse_id/onValueChange.js | 4 ++-- process/ExportTemplate_lib/process.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js b/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js index d7011e1278..2713da27db 100644 --- a/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js +++ b/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js @@ -2,9 +2,9 @@ import("Context_lib"); import("system.vars"); import("system.neon"); -let operatingsate = vars.get("$sys.operatingstate"); +let operatingstate = vars.get("$sys.operatingstate"); -if (operatingsate == neon.OPERATINGSTATE_NEW) +if (operatingstate == neon.OPERATINGSTATE_NEW) { // If the place of use of the export template is changed, the selected place of use no longer matches the parent. vars.set("$field.PLACEOFUSE", null); diff --git a/process/ExportTemplate_lib/process.js b/process/ExportTemplate_lib/process.js index 54db3518d9..14d777cf34 100644 --- a/process/ExportTemplate_lib/process.js +++ b/process/ExportTemplate_lib/process.js @@ -508,7 +508,8 @@ ExportTemplateUtils.exportableEntities = function () } /* - * The maximum number of records that can be exported at one time. + * The maximum number of records that can be exported at one time. + * This is necessary because more data can lead to performance problems. */ ExportTemplateUtils.maxExportRecords = function () { -- GitLab