# HG changeset patch
# User Aaron Calero <aaron.calero@openbravo.com>
# Date 1463732322 -7200
#      Fri May 20 10:18:42 2016 +0200
# Node ID a0c068d8f1e54de1bbee5983e1f9f9d429c4cbaa
# Parent  f066457a2a6e1e0107e5bc81a65273f868582b03
Fixed issue 32992: [SER QA 1126] Not possible to create a Picking when either the Product or Storage Bin length is the maximum length

diff --git a/src-db/database/model/functions/M_RESERVATION_REALLOCATE.xml b/src-db/database/model/functions/M_RESERVATION_REALLOCATE.xml
--- a/src-db/database/model/functions/M_RESERVATION_REALLOCATE.xml
+++ b/src-db/database/model/functions/M_RESERVATION_REALLOCATE.xml
@@ -71,9 +71,9 @@
   v_availablestock      NUMBER;
   v_dummy               VARCHAR2(2000);
   v_attr_description    VARCHAR2(255);
-  v_product_value       VARCHAR2(40);
-  v_locator_value       VARCHAR2(40);
-  v_uom_value           VARCHAR2(3);
+  v_product_value       M_PRODUCT.value%type;
+  v_locator_value       M_LOCATOR.value%type;
+  v_uom_value           C_UOM.uomsymbol%type;
   v_attributesetinstance_id VARCHAR2(32);
   v_warehouse_rule_id     VARCHAR2(32);
 
