src-db/database/model/tables/MA_COSTCENTER_IC.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
--- a/src-db/database/model/tables/MA_COSTCENTER_IC.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/MA_COSTCENTER_IC.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -41,18 +41,18 @@
         <default><![CDATA[Y]]></default>
         <onCreateDefault/>
       </column>
-      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MACOSTCENTERIC">
+      <foreign-key foreignTable="AD_CLIENT" name="MA_COSTCENTER_IC_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="ADORG_MACOSTCENTERIC">
+      <foreign-key foreignTable="AD_ORG" name="MA_COSTCENTER_IC_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="MA_INDIRECT_COST" name="CSALARYCAT_MACOSTCENTERIC">
+      <foreign-key foreignTable="MA_COSTCENTER_VERSION" name="MA_COSTCENTER_IC_MA_COSTCENTER">
+        <reference local="MA_COSTCENTER_VERSION_ID" foreign="MA_COSTCENTER_VERSION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_INDIRECT_COST" name="MA_COSTCENTER_IC_MA_INDIRECT_C">
         <reference local="MA_INDIRECT_COST_ID" foreign="MA_INDIRECT_COST_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="MA_COSTCENTER_VERSION" name="MACCVERSION_COSTCENTERIC">
-        <reference local="MA_COSTCENTER_VERSION_ID" foreign="MA_COSTCENTER_VERSION_ID"/>
-      </foreign-key>
       <check name="MA_COSTCENTER_I_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
     </table>
   </database>