diff --git a/process/ChecklistEntryRegistry_basic/process.js b/process/ChecklistEntryRegistry_basic/process.js index c2fc273c7ff3d7d44b9e263af340cd35c05315d8..da8f41fb3320484eebd24bfac8558c88d00b9c1e 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 3bb462490446f73ee6a18d19cc3c293a5ec393cb..cb4515b6be416b89907026dd33133444266e7823 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"); }