core-jgi/db/ddlutils/model/C_BANKACCOUNT_ACCT.xml

73 lines
5.6 KiB
XML
Raw Normal View History

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">
<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"/>
<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"/>
<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"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBANKACCOUNTACCT" onDelete="cascade">
2006-12-29 05:22:58 +07:00
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBANKACCTACCT" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTREV_CBANKACCOUNT" onDelete="none">
<reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTRANSIT_CBANKACCOUNT" onDelete="none">
<reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BPAYMENTSELECT_CBANKACCOUNT" onDelete="none">
2007-03-01 12:59:56 +07:00
<reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONLOSS_CBANKACCOU" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTGAIN_CBANKACCOUN" onDelete="none">
<reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTLOSS_CBANKACCOUN" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNALLOCATEDCASH_CBANKACCOU" onDelete="none">
<reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
2006-12-29 05:22:58 +07:00
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CBANKACCOUNT" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BASSET_CBANKACCOUNT" onDelete="none">
2007-03-01 12:59:56 +07:00
<reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTEXP_CBANKACCOUNT" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BEXPENSE_CBANKACCOUNT" onDelete="none">
2006-12-29 05:22:58 +07:00
<reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONGAIN_CBANKACCOU" onDelete="none">
2007-03-01 12:59:56 +07:00
<reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
2006-12-29 05:22:58 +07:00
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>