From f286c9925d8f61577592077a8188ba2de0a7ab92 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Mon, 23 Oct 2023 09:46:32 +0200 Subject: [PATCH] fields: Remove 3 asserts for subsidized contracts (TEDEFO-2627) Remove rules BR-BT-00262-0211, BR-BT-00262-0212, BR-BT-00262-0213, to allow any main nature (works, services, and supplies) for subsidized contracts. Also remove those rules from Schematron files. (cherry picked from commit 2005c29f77750d52ed984a811437fc6090d17c00) --- fields/fields.json | 15 --------------- schematrons/dynamic/validation-stage-5.sch | 3 --- schematrons/static/validation-stage-5.sch | 3 --- 3 files changed, 21 deletions(-) diff --git a/fields/fields.json b/fields/fields.json index dd2cc2583..224b406e0 100644 --- a/fields/fields.json +++ b/fields/fields.json @@ -11839,11 +11839,6 @@ "value" : "{ND-LotProcurementScope} ${starts-with(BT-262-Lot,'49') or starts-with(BT-262-Lot,'5') or starts-with(BT-262-Lot,'6') or starts-with(BT-262-Lot,'7') or starts-with(BT-262-Lot,'8') or starts-with(BT-262-Lot,'9')}", "severity" : "ERROR", "message" : "rule|text|BR-BT-00262-0209" - }, { - "condition" : "{ND-LotProcurementScope} ${(OPP-070-notice in ('1','4','7','8','9','10','12','16','17','18','19','20','23','25','29','33','36','38')) and (BT-11-Procedure-Buyer in ('org-sub', 'org-sub-cga', 'org-sub-ra', 'org-sub-la')) and (BT-262-Lot is present)}", - "value" : "{ND-LotProcurementScope} ${starts-with(BT-262-Lot,'45')}", - "severity" : "ERROR", - "message" : "rule|text|BR-BT-00262-0212" } ] } }, { @@ -11907,11 +11902,6 @@ "value" : "{ND-PartProcurementScope} ${starts-with(BT-262-Part,'49') or starts-with(BT-262-Part,'5') or starts-with(BT-262-Part,'6') or starts-with(BT-262-Part,'7') or starts-with(BT-262-Part,'8') or starts-with(BT-262-Part,'9')}", "severity" : "ERROR", "message" : "rule|text|BR-BT-00262-0210" - }, { - "condition" : "{ND-PartProcurementScope} ${(OPP-070-notice in ('1','4','7','8','9','10','12','16','17','18','19','20','23','25','29','33','36','38')) and (BT-11-Procedure-Buyer in ('org-sub', 'org-sub-cga', 'org-sub-ra', 'org-sub-la')) and (BT-262-Part is present)}", - "value" : "{ND-PartProcurementScope} ${starts-with(BT-262-Part,'45')}", - "severity" : "ERROR", - "message" : "rule|text|BR-BT-00262-0213" } ] } }, { @@ -11985,11 +11975,6 @@ "value" : "{ND-ProcedureProcurementScope} ${starts-with(BT-262-Procedure,'49') or starts-with(BT-262-Procedure,'5') or starts-with(BT-262-Procedure,'6') or starts-with(BT-262-Procedure,'7') or starts-with(BT-262-Procedure,'8') or starts-with(BT-262-Procedure,'9')}", "severity" : "ERROR", "message" : "rule|text|BR-BT-00262-0208" - }, { - "condition" : "{ND-ProcedureProcurementScope} ${(OPP-070-notice in ('1','4','7','8','9','10','12','16','17','18','19','20','23','25','29','33','36','38')) and (BT-11-Procedure-Buyer in ('org-sub', 'org-sub-cga', 'org-sub-ra', 'org-sub-la')) and (BT-262-Procedure is present)}", - "value" : "{ND-ProcedureProcurementScope} ${starts-with(BT-262-Procedure,'45')}", - "severity" : "ERROR", - "message" : "rule|text|BR-BT-00262-0211" } ] } }, { diff --git a/schematrons/dynamic/validation-stage-5.sch b/schematrons/dynamic/validation-stage-5.sch index 1e832767e..5cb6d8edb 100644 --- a/schematrons/dynamic/validation-stage-5.sch +++ b/schematrons/dynamic/validation-stage-5.sch @@ -37,7 +37,6 @@ rule|text|BR-BT-00262-0202 rule|text|BR-BT-00262-0205 rule|text|BR-BT-00262-0208 - rule|text|BR-BT-00262-0211 rule|text|BR-BT-00137-0200 @@ -53,7 +52,6 @@ rule|text|BR-BT-00262-0203 rule|text|BR-BT-00262-0206 rule|text|BR-BT-00262-0209 - rule|text|BR-BT-00262-0212 rule|text|BR-BT-00036-0150 @@ -259,7 +257,6 @@ rule|text|BR-BT-00262-0204 rule|text|BR-BT-00262-0207 rule|text|BR-BT-00262-0210 - rule|text|BR-BT-00262-0213 rule|text|BR-BT-00036-0151 diff --git a/schematrons/static/validation-stage-5.sch b/schematrons/static/validation-stage-5.sch index 1e832767e..5cb6d8edb 100644 --- a/schematrons/static/validation-stage-5.sch +++ b/schematrons/static/validation-stage-5.sch @@ -37,7 +37,6 @@ rule|text|BR-BT-00262-0202 rule|text|BR-BT-00262-0205 rule|text|BR-BT-00262-0208 - rule|text|BR-BT-00262-0211 rule|text|BR-BT-00137-0200 @@ -53,7 +52,6 @@ rule|text|BR-BT-00262-0203 rule|text|BR-BT-00262-0206 rule|text|BR-BT-00262-0209 - rule|text|BR-BT-00262-0212 rule|text|BR-BT-00036-0150 @@ -259,7 +257,6 @@ rule|text|BR-BT-00262-0204 rule|text|BR-BT-00262-0207 rule|text|BR-BT-00262-0210 - rule|text|BR-BT-00262-0213 rule|text|BR-BT-00036-0151