src-db/database/model/tables/A_ASSET_GROUP_ACCT.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
--- a/src-db/database/model/tables/A_ASSET_GROUP_ACCT.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/A_ASSET_GROUP_ACCT.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -61,31 +61,31 @@
         <default><![CDATA[N]]></default>
         <onCreateDefault/>
       </column>
-      <foreign-key foreignTable="A_ASSET_GROUP" name="AASSETGROUP_AASSETGROUPACCT">
+      <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_ACCUMDEPR">
+        <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="A_ASSET_GROUP" name="A_ASSET_GROUP_ACCT_A_ASSET_GRO">
         <reference local="A_ASSET_GROUP_ID" foreign="A_ASSET_GROUP_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_AASSETGROUPACCT">
+      <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DEPRECIAT">
+        <reference local="A_DEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DISPOSAL_">
+        <reference local="A_DISPOSAL_LOSS" foreign="C_VALIDCOMBINATION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DISPOSAL1">
+        <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="A_ASSET_GROUP_ACCT_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="ADORG_AASSETGROUPACCT">
+      <foreign-key foreignTable="AD_ORG" name="A_ASSET_GROUP_ACCT_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETGROUPACCT">
+      <foreign-key foreignTable="C_ACCTSCHEMA" name="A_ASSET_GROUP_ACCT_C_ACCTSCHEM">
         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP1">
-        <reference local="A_DEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP2">
-        <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP3">
-        <reference local="A_DISPOSAL_LOSS" foreign="C_VALIDCOMBINATION_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUPA">
-        <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
-      </foreign-key>
-      <unique name="AASSETGROUPACCT_AASSETGROUP_UN">
+      <unique name="A_ASSET_GROUP_ACCT_ASSET_GR_UN">
         <unique-column name="A_ASSET_GROUP_ID"/>
         <unique-column name="C_ACCTSCHEMA_ID"/>
       </unique>