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_ACCTSCHEMA_GL">
|
2007-01-23 23:59:13 +07:00
|
|
|
<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"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<column name="USESUSPENSEBALANCING" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="SUSPENSEBALANCING_ACCT" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<column name="USESUSPENSEERROR" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="SUSPENSEERROR_ACCT" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
<column name="USECURRENCYBALANCING" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="CURRENCYBALANCING_ACCT" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="RETAINEDEARNING_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="INCOMESUMMARY_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="INTERCOMPANYDUETO_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="INTERCOMPANYDUEFROM_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="PPVOFFSET_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="COMMITMENTOFFSET_ACCT" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CACCTSCHEMAGL" onDelete="cascade">
|
2006-12-29 05:22:58 +07:00
|
|
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INCOMESUMMARY_CSCHEMAGL" onDelete="none">
|
2007-02-01 23:50:31 +07:00
|
|
|
<reference local="INCOMESUMMARY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INTERCOMPANYDUEFROM_CSCHEMA" onDelete="none">
|
2007-02-01 23:50:31 +07:00
|
|
|
<reference local="INTERCOMPANYDUEFROM_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_SUSPENSEERROR_CSCHEMAGL" onDelete="none">
|
2007-02-01 23:50:31 +07:00
|
|
|
<reference local="SUSPENSEERROR_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PPVOFFSET_CSCHEMAGL" onDelete="none">
|
2006-12-29 05:22:58 +07:00
|
|
|
<reference local="PPVOFFSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_RETAINEDEARNING_CSCHEMAGL" onDelete="none">
|
2007-01-23 23:59:13 +07:00
|
|
|
<reference local="RETAINEDEARNING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_SUSPENSEBALANCING_CSCHEMAGL" onDelete="none">
|
2007-02-01 23:50:31 +07:00
|
|
|
<reference local="SUSPENSEBALANCING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CURRENCYBALANCING_CSCHEMAGL" onDelete="none">
|
2006-12-29 05:22:58 +07:00
|
|
|
<reference local="CURRENCYBALANCING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INTERCOMPANYDUETO_CSCHEMAGL" onDelete="none">
|
2007-02-01 23:50:31 +07:00
|
|
|
<reference local="INTERCOMPANYDUETO_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
2006-12-29 05:22:58 +07:00
|
|
|
</foreign-key>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[UseSuspenseBalancing in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[UseSuspenseError in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[UseCurrencyBalancing in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
</table>
|
|
|
|
</database>
|