70 lines
5.1 KiB
XML
70 lines
5.1 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
<database name="default" defaultIdMethod="none">
|
|
<table name="I_ELEMENTVALUE">
|
|
<column name="I_ELEMENTVALUE_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
|
<column name="C_ELEMENT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="ELEMENTNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
|
<column name="ACCOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ACCOUNTSIGN" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ISDOCCONTROLLED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="ISSUMMARY" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="PARENTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
|
<column name="PARENTELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="POSTACTUAL" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="POSTBUDGET" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="POSTSTATISTICAL" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="POSTENCUMBRANCE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="DEFAULT_ACCOUNT" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
|
<column name="AD_COLUMN_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_IELEMENTVALUE" onDelete="setnull">
|
|
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ELEMENT" name="CELEMENT_IELEMENTVALUE" onDelete="setnull">
|
|
<reference local="C_ELEMENT_ID" foreign="C_ELEMENT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_IELEMENTVALUE" onDelete="setnull">
|
|
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEPARENT_IELEMENTVALUE" onDelete="setnull">
|
|
<reference local="PARENTELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
|
</foreign-key>
|
|
<check>
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsDocControlled in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[PostActual in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[PostBudget in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[PostStatistical in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[PostEncumbrance in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
|
</check>
|
|
</table>
|
|
</database>
|