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

55 lines
4.4 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="I_REPORTLINE">
<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"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" size="10" 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="REPORTLINESETNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PA_REPORTLINESET_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PA_REPORTLINE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10" autoIncrement="false"/>
<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"/>
<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"/>
<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"/>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_IREPORTLINE" onDelete="setnull">
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_IREPORTLINE" onDelete="setnull">
<reference local="PA_REPORTLINE_ID" foreign="PA_REPORTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORTLINESET_IREPORTLINE" onDelete="setnull">
<reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTSOURCE" name="PAREPORTSOURCE_IREPORTLINE" onDelete="setnull">
<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>