diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_object_list.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_object_list.zsql
index f27048ba2d400fe26b3008649576a8795881318d..16d523020567096e8cd0c1f8fb78037f2d75e170 100755
--- a/product/ERP5Catalog/sql/erp5_mysql/z_catalog_object_list.zsql
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_catalog_object_list.zsql
@@ -37,6 +37,7 @@ validation_state
 payment_state
 event_state
 getReference
+getGroupingReference
 getSourceReference
 getDestinationReference
 getStringIndex
@@ -77,6 +78,7 @@ VALUES
   <dtml-sqlvar expr="invoice_state[loop_item]" type="string" optional>,
   <dtml-sqlvar expr="getOrderId[loop_item]" type="string" optional>,
   <dtml-sqlvar expr="getReference[loop_item]" type="string" optional>,
+  <dtml-sqlvar expr="getGroupingReference[loop_item]" type="string" optional>,
   <dtml-sqlvar expr="getSourceReference[loop_item]" type="string" optional>,
   <dtml-sqlvar expr="getDestinationReference[loop_item]" type="string" optional>,
   <dtml-sqlvar expr="getStringIndex[loop_item]" type="string" optional>,
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_create_catalog.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_create_catalog.zsql
index f771e21ec0185f9fb5c341990fadea0054b4860b..7c5b0afd1c5ee7081132b2fb4b28405779a46d1c 100755
--- a/product/ERP5Catalog/sql/erp5_mysql/z_create_catalog.zsql
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_create_catalog.zsql
@@ -43,6 +43,7 @@ CREATE TABLE `catalog` (
   `event_state` varchar(255) default '',
   `order_id` varchar(255) default '',
   `reference` varchar(255) default '',
+  `grouping_reference` varchar(30) default '',
   `source_reference` varchar(255) default '',
   `destination_reference` varchar(255) default '',
   `string_index` varchar(255),
diff --git a/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql b/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql
index eb26cb0c8742afbf069b0a2d741992c5504997c6..fdf509e2289cdb5d1105370f851ed949b700828e 100755
--- a/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql
+++ b/product/ERP5Catalog/sql/erp5_mysql/z_update_object.zsql
@@ -37,6 +37,7 @@ validation_state
 payment_state
 event_state
 getReference
+getGroupingReference
 getSourceReference
 getDestinationReference
 getStringIndex
@@ -80,6 +81,7 @@ UPDATE catalog SET uid=<dtml-sqlvar uid type="int">,
   invoice_state=<dtml-sqlvar invoice_state type="string" optional>,
   order_id=<dtml-sqlvar getOrderId type="string" optional>,
   reference=<dtml-sqlvar getReference  type="string" optional>,
+  grouping_reference=<dtml-sqlvar getGroupingReference  type="string" optional>,
   source_reference=<dtml-sqlvar getSourceReference  type="string" optional>,
   destination_reference=<dtml-sqlvar getDestinationReference  type="string" optional>,
   string_index=<dtml-sqlvar getStringIndex type="string" optional>,