src-db/database/model/tables/C_BANK.xml
changeset 5551 7a30caea85b5
parent 4444 ca9e977e75f5
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    75       </column>
    75       </column>
    76       <column name="C_COUNTRY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    76       <column name="C_COUNTRY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    77         <default/>
    77         <default/>
    78         <onCreateDefault/>
    78         <onCreateDefault/>
    79       </column>
    79       </column>
    80       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CBANK">
    80       <foreign-key foreignTable="AD_CLIENT" name="C_BANK_AD_CLIENT">
    81         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    81         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    82       </foreign-key>
    82       </foreign-key>
    83       <foreign-key foreignTable="AD_ORG" name="ADORG_CBANK">
    83       <foreign-key foreignTable="AD_ORG" name="C_BANK_AD_ORG">
    84         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    84         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    85       </foreign-key>
    85       </foreign-key>
    86       <foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBANK">
    86       <foreign-key foreignTable="C_BPARTNER" name="C_BANK_C_BPARTNER">
    87         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
    87         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
    88       </foreign-key>
    88       </foreign-key>
    89       <foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CBANK">
    89       <foreign-key foreignTable="C_COUNTRY" name="C_BANK_C_COUNTRY">
    90         <reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
    90         <reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
    91       </foreign-key>
    91       </foreign-key>
    92       <foreign-key foreignTable="C_LOCATION" name="CLOCATION_CBANK">
    92       <foreign-key foreignTable="C_LOCATION" name="C_BANK_C_LOCATION">
    93         <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
    93         <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
    94       </foreign-key>
    94       </foreign-key>
    95       <check name="CBANK_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    95       <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>
    96       <check name="CBANK_ISOWNBANK_CHECK"><![CDATA[ISOWNBANK IN ('Y', 'N')]]></check>
    96       <check name="C_BANK_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    97       <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>
    97       <check name="C_BANK_ISOWNBANK_CHK"><![CDATA[ISOWNBANK IN ('Y', 'N')]]></check>
    98     </table>
    98     </table>
    99   </database>
    99   </database>