[Warehouse]Postgresql compatibility fix.Declare cursors in get_stock.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 22 Oct 2012 16:22:50 +0200
changeset 18654 b3d7dbd042f7
parent 18653 101a5161866d
child 18655 67a495fee94a
[Warehouse]Postgresql compatibility fix.Declare cursors in get_stock.
src-db/database/model/functions/M_GET_STOCK.xml
--- a/src-db/database/model/functions/M_GET_STOCK.xml	Mon Oct 22 13:22:10 2012 +0200
+++ b/src-db/database/model/functions/M_GET_STOCK.xml	Mon Oct 22 16:22:50 2012 +0200
@@ -34,6 +34,7 @@
   Cur_Parameter RECORD;
   Cur_Stock RECORD;
   Cur_MStock RECORD;
+  cur_warehouse RECORD;
 
   -- Parameter Variables
   v_Quantity NUMBER(10);