From d89f4847476d300d05c2d469b8f7dfa22e2b7185 Mon Sep 17 00:00:00 2001 From: "b.ulrich" <b.ulrich@adito.de> Date: Wed, 29 Sep 2021 16:22:36 +0200 Subject: [PATCH] [Projekt: xRM-Sales][TicketNr.: 2001051][Fehler bei der Klassifizierung, falscher Wert bei Prognose und Checkliste wird nicht gesetzt] --- process/ChecklistEntryRegistry_basic/process.js | 4 ++-- process/ClassificationUpdate_lib/process.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/process/ChecklistEntryRegistry_basic/process.js b/process/ChecklistEntryRegistry_basic/process.js index c2fc273c7f..da8f41fb33 100644 --- a/process/ChecklistEntryRegistry_basic/process.js +++ b/process/ChecklistEntryRegistry_basic/process.js @@ -211,10 +211,10 @@ $ChecklistEntryRegistry.salesprojectClassificationFields = function(){ title: translate.text("Classification fields"), verifierFn: function(pSalesprojectId){ var res = true; - if(Utils.isNotNullOrEmptyString(pSalesprojectId) && (!vars.exists("IgnoreOrderBy_param") || (vars.exists("IgnoreOrderBy_param") && vars.get("IgnoreOrderBy_param")))) + if(Utils.isNotNullOrEmptyString(pSalesprojectId) && (!vars.exists("IgnoreOrderBy_param") || (vars.exists("IgnoreOrderBy_param") && !vars.get("IgnoreOrderBy_param")))) { var classificationData = ClassificationUtils.executeUpdating(pSalesprojectId, "Salesproject"); - if(classificationData && classificationData["emtpyFields"] && classificationData["emtpyFields"].length == 0) + if(classificationData && classificationData["emtpyFields"] && classificationData["emtpyFields"].length != 0) { res = false; } diff --git a/process/ClassificationUpdate_lib/process.js b/process/ClassificationUpdate_lib/process.js index 3bb4624904..cb4515b6be 100644 --- a/process/ClassificationUpdate_lib/process.js +++ b/process/ClassificationUpdate_lib/process.js @@ -1862,7 +1862,7 @@ ClassificationUpdateHelper._updateOutdatedDatasets = function(pClassificationObj .entity(ContextUtils.getEntity(objectTypes[currentObjectType])) .addParameter("IgnoreOrderBy_param", true); - if(currentObjectType == "Salesproject") + if(objectTypes[currentObjectType] == "Salesproject") { objectValuesLoadConfig.provider("NoPhaseRequirementLoading"); } -- GitLab