Fixed issue 27259.Add onDelete cascade
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 04 Aug 2014 08:43:33 +0200
changeset 571 abaddf5ae0af
parent 570 661cf72176cd
child 572 37a1f44ebafe
Fixed issue 27259.Add onDelete cascade
model/src-db/database/model/tables/M_STOCK_PROPOSED.xml
--- a/model/src-db/database/model/tables/M_STOCK_PROPOSED.xml	Wed Jul 30 16:51:18 2014 +0530
+++ b/model/src-db/database/model/tables/M_STOCK_PROPOSED.xml	Mon Aug 04 08:43:33 2014 +0200
@@ -63,7 +63,7 @@
       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MSTOCKPROPOSED">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_PINSTANCE" name="AD_PINSTANCE_MSTOCKPROPOSED">
+      <foreign-key foreignTable="AD_PINSTANCE" name="AD_PINSTANCE_MSTOCKPROPOSED" onDelete="cascade">
         <reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
       </foreign-key>
       <foreign-key foreignTable="M_STORAGE_DETAIL" name="M_STORAGEDET_MSTOCKPROPOSED">