2006-12-29 06:10:54 +07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
|
|
<database name="default" defaultIdMethod="none">
|
|
|
|
<table name="T_TRIALBALANCE">
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="AD_PINSTANCE_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="FACT_ACCT_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="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 06:10:54 +07:00
|
|
|
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" 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 06:10:54 +07:00
|
|
|
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" 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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="ACCOUNT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 06:10:54 +07:00
|
|
|
<column name="DATETRX" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
|
|
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="C_PERIOD_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="LINE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="GL_CATEGORY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_TAX_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="M_LOCATOR_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 06:10:54 +07:00
|
|
|
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2007-02-01 23:50:31 +07:00
|
|
|
<column name="AMTSOURCEDR" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
|
|
<column name="AMTSOURCECR" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
|
|
<column name="AMTSOURCEBALANCE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
|
|
<column name="AMTACCTDR" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false"/>
|
|
|
|
<column name="AMTACCTCR" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false"/>
|
|
|
|
<column name="AMTACCTBALANCE" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2007-02-01 23:50:31 +07:00
|
|
|
<column name="QTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_LOCFROM_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="USER1_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="USER2_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 06:10:54 +07:00
|
|
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
|
|
|
<column name="ACCOUNTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="AD_PINSTANCE" name="AD_PINSTANCE_T_TRIALBALANCE" onDelete="cascade">
|
2006-12-29 06:10:54 +07:00
|
|
|
<reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
</table>
|
|
|
|
</database>
|