src-db/database/model/tables/C_BANK.xml
changeset 5551 7a30caea85b5
parent 4444 ca9e977e75f5
child 8504 802eae4a434d
--- a/src-db/database/model/tables/C_BANK.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/C_BANK.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -77,23 +77,23 @@
         <default/>
         <onCreateDefault/>
       </column>
-      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CBANK">
+      <foreign-key foreignTable="AD_CLIENT" name="C_BANK_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="ADORG_CBANK">
+      <foreign-key foreignTable="AD_ORG" name="C_BANK_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBANK">
+      <foreign-key foreignTable="C_BPARTNER" name="C_BANK_C_BPARTNER">
         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CBANK">
+      <foreign-key foreignTable="C_COUNTRY" name="C_BANK_C_COUNTRY">
         <reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_LOCATION" name="CLOCATION_CBANK">
+      <foreign-key foreignTable="C_LOCATION" name="C_BANK_C_LOCATION">
         <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
       </foreign-key>
-      <check name="CBANK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-      <check name="CBANK_ISOWNBANK_CHECK"><![CDATA[ISOWNBANK IN ('Y', 'N')]]></check>
-      <check name="CBANK_SPANISHACCOUNT_CHECK"><![CDATA[(((CODEBANK IS NULL) OR (LENGTH((CODEBANK)) = 4)) AND ((CODEBRANCH IS NULL) OR (LENGTH((CODEBRANCH)) = 4))) AND ((DIGITCONTROL IS NULL) OR (LENGTH((DIGITCONTROL)) = 1))]]></check>
+      <check name="C_BANK_CODEBANK_CHK"><![CDATA[(((CODEBANK IS NULL) OR (LENGTH((CODEBANK)) = 4)) AND ((CODEBRANCH IS NULL) OR (LENGTH((CODEBRANCH)) = 4))) AND ((DIGITCONTROL IS NULL) OR (LENGTH((DIGITCONTROL)) = 1))]]></check>
+      <check name="C_BANK_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_BANK_ISOWNBANK_CHK"><![CDATA[ISOWNBANK IN ('Y', 'N')]]></check>
     </table>
   </database>