[Reservations]Add missing foreign key.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Thu, 27 Sep 2012 13:00:44 +0200
changeset 18628 61481ef917a8
parent 18627 3fd4fb9a522b
child 18629 50c89f4c86a4
[Reservations]Add missing foreign key.
src-db/database/model/tables/M_RESERVATION_STOCK.xml
--- a/src-db/database/model/tables/M_RESERVATION_STOCK.xml	Thu Sep 27 10:52:30 2012 +0200
+++ b/src-db/database/model/tables/M_RESERVATION_STOCK.xml	Thu Sep 27 13:00:44 2012 +0200
@@ -62,6 +62,9 @@
       <foreign-key foreignTable="AD_ORG" name="M_RESERVATION_STOCK_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
+      <foreign-key foreignTable="M_RESERVATION" name="M_RESERVATION_STOCK_RESERV">
+        <reference local="M_RESERVATION_ID" foreign="M_RESERVATION_ID"/>
+      </foreign-key>
       <foreign-key foreignTable="M_STORAGE_DETAIL" name="M_RESERVATION_STOCK_ST_DET">
         <reference local="M_STORAGE_DETAIL_ID" foreign="M_STORAGE_DETAIL_ID"/>
       </foreign-key>