2006-12-29 05:22:58 +07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
|
|
<database name="default" defaultIdMethod="none">
|
|
|
|
<table name="C_BANKACCOUNT_ACCT">
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="C_BANKACCOUNT_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
|
|
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_INTRANSIT_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_ASSET_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_INTERESTREV_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_INTERESTEXP_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_UNIDENTIFIED_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_UNALLOCATEDCASH_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_PAYMENTSELECT_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_SETTLEMENTGAIN_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_SETTLEMENTLOSS_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_REVALUATIONGAIN_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBANKACCOUNTACCT">
|
|
|
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBANKACCTACCT">
|
|
|
|
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONLOSS_CBANKACCOU">
|
|
|
|
<reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTLOSS_CBANKACCOUN">
|
|
|
|
<reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-01-23 23:59:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTGAIN_CBANKACCOUN">
|
|
|
|
<reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CBANKACCOUNT">
|
|
|
|
<reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BASSET_CBANKACCOUNT">
|
|
|
|
<reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTEXP_CBANKACCOUNT">
|
|
|
|
<reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BEXPENSE_CBANKACCOUNT">
|
|
|
|
<reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTRANSIT_CBANKACCOUNT">
|
|
|
|
<reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTREV_CBANKACCOUNT">
|
|
|
|
<reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-01-23 23:59:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONGAIN_CBANKACCOU">
|
|
|
|
<reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BPAYMENTSELECT_CBANKACCOUNT">
|
|
|
|
<reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNALLOCATEDCASH_CBANKACCOU">
|
|
|
|
<reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
</table>
|
|
|
|
</database>
|