diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
index e0867038764a8fd2cbed8d388b65583628fcf480..16be14f8a308eb48f0dde6b5da6bb546c60ee1b8 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
index dcbf51b176a75cd166e7e86b36d0e31eea53c4d4..268160932ccd0e196b9b05aec9e522816d0b09ec 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
index e0867038764a8fd2cbed8d388b65583628fcf480..16be14f8a308eb48f0dde6b5da6bb546c60ee1b8 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
index 0145fe55dba09358e97b812b77dce343ee5d8c83..66929deb3dc5af97d06ea145eb479af64c1e1c2c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_delivery_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -65,7 +75,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
index e0867038764a8fd2cbed8d388b65583628fcf480..16be14f8a308eb48f0dde6b5da6bb546c60ee1b8 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
index dcbf51b176a75cd166e7e86b36d0e31eea53c4d4..268160932ccd0e196b9b05aec9e522816d0b09ec 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
index e0867038764a8fd2cbed8d388b65583628fcf480..16be14f8a308eb48f0dde6b5da6bb546c60ee1b8 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
index 6bc1bb7b9a602672aed632364b1032b99d85bdba..b6c9b4ed257c6e641bd5600e93df9d725aee4e6b 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
index 24ad64dbd5a31890e86deb204321807d24de6ec3..5392ab0dbbcf56886831d1f5ab13e7a79438d72c 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/destination_total_asset_price_tester.xml
@@ -52,11 +52,21 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
-                      <value> <string>float</string> </value>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
                   </item>
                 </dictionary>
               </tuple>
@@ -99,8 +109,12 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
-            <value> <float>0.0</float> </value>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>tested_property</string> </key>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
index f746bcc6a2d342a2376508ca6414235080f3893b..ca1ee5ab4efdcfb1d94924a58c56d4c46f96ae1f 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/price_tester.xml
@@ -34,7 +34,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -67,7 +77,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
index 39165a4de24d6d82a90da667fe59fc3a4a362c62..a2fc1a9d95d755fe333527e3ebc6e9df006e525d 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -61,7 +71,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
index 6b0573bfdb3e03d0a6f1699608a9e9a26e806d29..f55197d2f5b1efaae390d36319a56cbdeb4231fd 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_invoice_transaction_simulation_rule/source_total_asset_price_tester.xml
@@ -52,11 +52,21 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
-                      <value> <string>float</string> </value>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
                   </item>
                 </dictionary>
               </tuple>
@@ -99,8 +109,12 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
-            <value> <float>0.0</float> </value>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>tested_property</string> </key>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
index da05d7edf77eeeb67a164f6dfefbe37ec7481b30..715f31476ce0df0faf75245746894d3ef976cf44 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/price_tester.xml
@@ -16,7 +16,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -35,7 +45,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
index dcbf51b176a75cd166e7e86b36d0e31eea53c4d4..268160932ccd0e196b9b05aec9e522816d0b09ec 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_order_root_simulation_rule/quantity_tester.xml
@@ -26,7 +26,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -45,7 +55,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
index e0867038764a8fd2cbed8d388b65583628fcf480..16be14f8a308eb48f0dde6b5da6bb546c60ee1b8 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/price_tester.xml
@@ -22,7 +22,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Float Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
index 6bc1bb7b9a602672aed632364b1032b99d85bdba..b6c9b4ed257c6e641bd5600e93df9d725aee4e6b 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_payment_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -57,7 +67,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>
diff --git a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
index 6a1800bb334a88122bd12582d14254c790fd681d..e3d3744cc226dcbbd49437e61d3ca8dd6dfd26b6 100644
--- a/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
+++ b/bt5/erp5_simulation_test/PathTemplateItem/portal_rules/new_trade_model_simulation_rule/quantity_tester.xml
@@ -32,7 +32,17 @@
                 <dictionary>
                   <item>
                       <key> <string>id</string> </key>
-                      <value> <string>quantity</string> </value>
+                      <value> <string>quantity_range_min</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity_range_max</string> </value>
                   </item>
                   <item>
                       <key> <string>type</string> </key>
@@ -69,7 +79,11 @@
             <value> <string>Net Converted Quantity Divergence Tester</string> </value>
         </item>
         <item>
-            <key> <string>quantity</string> </key>
+            <key> <string>quantity_range_max</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>quantity_range_min</string> </key>
             <value> <int>0</int> </value>
         </item>
         <item>