src-db/database/model/tables/C_BANKACCOUNT_ACCT.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    87       </column>
    87       </column>
    88       <column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    88       <column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    89         <default/>
    89         <default/>
    90         <onCreateDefault/>
    90         <onCreateDefault/>
    91       </column>
    91       </column>
    92       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CBANKACCOUNTACCT">
    92       <foreign-key foreignTable="AD_CLIENT" name="C_BANKACCOUNT_ACCT_AD_CLIENT">
    93         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    93         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    94       </foreign-key>
    94       </foreign-key>
    95       <foreign-key foreignTable="AD_ORG" name="ADORG_CBANKACCOUNTACCT">
    95       <foreign-key foreignTable="AD_ORG" name="C_BANKACCOUNT_ACCT_AD_ORG">
    96         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    96         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    97       </foreign-key>
    97       </foreign-key>
    98       <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBANKACCOUNTACCT" onDelete="cascade">
    98       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_ASSET_ACC">
       
    99         <reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   100       </foreign-key>
       
   101       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_EXPENSE_A">
       
   102         <reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   103       </foreign-key>
       
   104       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_INTERESTE">
       
   105         <reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   106       </foreign-key>
       
   107       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_INTERESTR">
       
   108         <reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   109       </foreign-key>
       
   110       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_INTRANSIT">
       
   111         <reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   112       </foreign-key>
       
   113       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_PAYMENTSE">
       
   114         <reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   115       </foreign-key>
       
   116       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_REVALUAT1">
       
   117         <reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   118       </foreign-key>
       
   119       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_REVALUATI">
       
   120         <reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   121       </foreign-key>
       
   122       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_SETTLEME1">
       
   123         <reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   124       </foreign-key>
       
   125       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_SETTLEMEN">
       
   126         <reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   127       </foreign-key>
       
   128       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_UNALLOCAT">
       
   129         <reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   130       </foreign-key>
       
   131       <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_BANKACCOUNT_ACCT_B_UNIDENTIF">
       
   132         <reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   133       </foreign-key>
       
   134       <foreign-key foreignTable="C_ACCTSCHEMA" name="C_BANKACCOUNT_ACCT_C_ACCTSCHEM" onDelete="cascade">
    99         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
   135         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
   100       </foreign-key>
   136       </foreign-key>
   101       <foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBANKACCTACCT">
   137       <foreign-key foreignTable="C_BANKACCOUNT" name="C_BANKACCOUNT_ACCT_C_BANKACCOU">
   102         <reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
   138         <reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
   103       </foreign-key>
   139       </foreign-key>
   104       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BASSET_CBANKACCOUNT">
   140       <unique name="C_BANKACCOUNT_ACCT_BANKACCO_UN">
   105         <reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   106       </foreign-key>
       
   107       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BEXPENSE_CBANKACCOUNT">
       
   108         <reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   109       </foreign-key>
       
   110       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTEXP_CBANKACCOUNT">
       
   111         <reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   112       </foreign-key>
       
   113       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTREV_CBANKACCOUNT">
       
   114         <reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   115       </foreign-key>
       
   116       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTRANSIT_CBANKACCOUNT">
       
   117         <reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   118       </foreign-key>
       
   119       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BPAYMENTSELECT_CBANKACCOUNT">
       
   120         <reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   121       </foreign-key>
       
   122       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONGAIN_CBANKACCOU">
       
   123         <reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   124       </foreign-key>
       
   125       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONLOSS_CBANKACCOU">
       
   126         <reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   127       </foreign-key>
       
   128       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTGAIN_CBANKACCOUN">
       
   129         <reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   130       </foreign-key>
       
   131       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTLOSS_CBANKACCOUN">
       
   132         <reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   133       </foreign-key>
       
   134       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNALLOCATEDCASH_CBANKACCOU">
       
   135         <reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   136       </foreign-key>
       
   137       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CBANKACCOUNT">
       
   138         <reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
   139       </foreign-key>
       
   140       <unique name="CBANKACCOUNTACCT_CBANKACCOU_UN">
       
   141         <unique-column name="C_BANKACCOUNT_ID"/>
   141         <unique-column name="C_BANKACCOUNT_ID"/>
   142         <unique-column name="C_ACCTSCHEMA_ID"/>
   142         <unique-column name="C_ACCTSCHEMA_ID"/>
   143       </unique>
   143       </unique>
   144       <check name="C_BANKACCOUNT_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   144       <check name="C_BANKACCOUNT_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   145     </table>
   145     </table>