diff --git a/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js b/entity/ExportTemplatePlaceOfUse_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js index d7011e12786dab523e60fc2ddec887d78fa9d95f..2713da27db8b79e6f124175e1c436af82eb3ddc9 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 54db3518d944637e2d127758e0cf5632fac057e2..14d777cf34d65b87beec309ed0c714b9eb15b962 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 () {