2006-12-29 05:56:28 +07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
|
|
<database name="default" defaultIdMethod="none">
|
|
|
|
<table name="I_REPORTLINE">
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="I_REPORTLINE_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"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
|
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<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="REPORTLINESETNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="PA_REPORTLINESET_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="PA_REPORTLINE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="ISSUMMARY" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
|
|
<column name="ISPRINTED" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
|
|
<column name="LINETYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
|
|
<column name="CALCULATIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
|
|
<column name="AMOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
|
|
|
<column name="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
2007-01-23 23:59:13 +07:00
|
|
|
<column name="PA_REPORTSOURCE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
|
|
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
2006-12-29 05:56:28 +07:00
|
|
|
<column name="ELEMENTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" 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"/>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_IREPORTLINE" onDelete="setnull">
|
2006-12-29 05:56:28 +07:00
|
|
|
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_IREPORTLINE" onDelete="setnull">
|
2006-12-29 05:56:28 +07:00
|
|
|
<reference local="PA_REPORTLINE_ID" foreign="PA_REPORTLINE_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORTLINESET_IREPORTLINE" onDelete="setnull">
|
2006-12-29 05:56:28 +07:00
|
|
|
<reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
|
|
|
|
</foreign-key>
|
2007-03-22 06:56:13 +07:00
|
|
|
<foreign-key foreignTable="PA_REPORTSOURCE" name="PAREPORTSOURCE_IREPORTLINE" onDelete="setnull">
|
2006-12-29 05:56:28 +07:00
|
|
|
<reference local="PA_REPORTSOURCE_ID" foreign="PA_REPORTSOURCE_ID"/>
|
|
|
|
</foreign-key>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[IsPrinted in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
<check>
|
|
|
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
|
|
|
</check>
|
|
|
|
</table>
|
|
|
|
</database>
|