* adempiere model files

This commit is contained in:
Heng Sin Low 2006-12-28 21:57:22 +00:00
parent 9e3ba35f69
commit 923b70020d
19 changed files with 749 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ACCESSLOG">
<column name="AD_ACCESSLOG_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_COLUMN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="REMOTE_ADDR" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REMOTE_HOST" 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="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="REPLY" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_ADACCESSLOG">
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADACCESLOG">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ALERT">
<column name="AD_ALERT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ALERTSUBJECT" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ALERTMESSAGE" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ENFORCECLIENTSECURITY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ENFORCEROLESECURITY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="AD_ALERTPROCESSOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="AD_ALERTPROCESSOR" name="CALERTPROCESSOR_ADALERT">
<reference local="AD_ALERTPROCESSOR_ID" foreign="AD_ALERTPROCESSOR_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[EnforceClientSecurity in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[EnforceRoleSecurity in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ALERTPROCESSOR">
<column name="AD_ALERTPROCESSOR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="FREQUENCYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="FREQUENCY" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATENEXTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="SUPERVISOR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="KEEPLOGDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CALERTPROCESSOR">
<reference local="SUPERVISOR_ID" foreign="AD_USER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ALERTPROCESSORLOG">
<column name="AD_ALERTPROCESSOR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ALERTPROCESSORLOG_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISERROR" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="SUMMARY" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="REFERENCE" 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="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="BINARYDATA" primaryKey="false" required="false" type="BLOB" size="4000" autoIncrement="false"/>
<foreign-key foreignTable="AD_ALERTPROCESSOR" name="CALERTPROCESSOR_LOG">
<reference local="AD_ALERTPROCESSOR_ID" foreign="AD_ALERTPROCESSOR_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsError in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ALERTRECIPIENT">
<column name="AD_ALERTRECIPIENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ALERT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_ROLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_ALERT" name="ADALERT_ADALERTRECIPIENT">
<reference local="AD_ALERT_ID" foreign="AD_ALERT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ROLE" name="ADROLE_ADALTERTRECIPIENT">
<reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_USER" name="ADUSER_ADALERTRECIPIENT">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ALERTRULE">
<column name="AD_ALERTRULE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="AD_ALERT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SELECTCLAUSE" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="FROMCLAUSE" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="WHERECLAUSE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PREPROCESSING" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="POSTPROCESSING" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="OTHERCLAUSE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_ALERT" name="ADALTERT_ARALERTRULE">
<reference local="AD_ALERT_ID" foreign="AD_ALERT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADALTERTRULE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,32 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ARCHIVE">
<column name="AD_ARCHIVE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_PROCESS_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="BINARYDATA" primaryKey="false" required="false" type="BLOB" size="4000" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISREPORT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="AD_PROCESS" name="ADPROCESS_ADARCHIVE">
<reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADARCHIVE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ATTACHMENT">
<column name="AD_ATTACHMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="BINARYDATA" primaryKey="false" required="false" type="BLOB" size="4000" autoIncrement="false"/>
<column name="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADATTACHMENT">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<unique name="AD_ATTACHMENT_RECORD">
<unique-column name="AD_TABLE_ID"/>
<unique-column name="RECORD_ID"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ATTACHMENTNOTE">
<column name="AD_ATTACHMENTNOTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ATTACHMENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="TEXTMSG" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_ATTACHMENT" name="ADATTACHMENT_NOTE">
<reference local="AD_ATTACHMENT_ID" foreign="AD_ATTACHMENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_USER" name="ADUSER_ADATTACHMENTNOTE">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,73 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ATTRIBUTE">
<column name="AD_ATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_REFERENCE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_REFERENCE_VALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_VAL_RULE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CALLOUT" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="VALUEMIN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="VALUEMAX" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="DEFAULTVALUE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISREADONLY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISUPDATEABLE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISENCRYPTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="FIELDLENGTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="DISPLAYLENGTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="DISPLAYLOGIC" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="VFORMAT" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISSAMELINE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISHEADING" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISFIELDONLY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<foreign-key foreignTable="AD_REFERENCE" name="ADREFERENCEVALUE_ADATTRIBUTE">
<reference local="AD_REFERENCE_VALUE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_REFERENCE" name="ADREFERENCE_ADATTRIBUTE">
<reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADATTRIBUTE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_VAL_RULE" name="ADVALRULE_ADATTRIBUTE">
<reference local="AD_VAL_RULE_ID" foreign="AD_VAL_RULE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsReadOnly in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsUpdateable in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsMandatory in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsEncrypted in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSameLine in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsHeading in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsFieldOnly in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_ATTRIBUTE_VALUE">
<column name="AD_ATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="V_NUMBER" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="V_DATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="V_STRING" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_ATTRIBUTE" name="ADATTRIBUTE_ADATTRIBUTEVALUE">
<reference local="AD_ATTRIBUTE_ID" foreign="AD_ATTRIBUTE_ID"/>
</foreign-key>
</table>
</database>

View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_CHANGELOG">
<column name="AD_CHANGELOG_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_SESSION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_COLUMN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="OLDVALUE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="NEWVALUE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="UNDO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="REDO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISCUSTOMIZATION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="TRXNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_ADCHANGELOG">
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_SESSION" name="ADSESSION_ADCHANGELOG">
<reference local="AD_SESSION_ID" foreign="AD_SESSION_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADCHANGELOG">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsCustomization in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_CLIENT">
<column name="AD_CLIENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SMTPHOST" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REQUESTEMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REQUESTUSER" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="REQUESTUSERPW" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="REQUESTFOLDER" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false"/>
<column name="ISMULTILINGUALDOCUMENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISSMTPAUTHORIZATION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISUSEBETAFUNCTIONS" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="LDAPQUERY" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="MODELVALIDATIONCLASSES" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AUTOARCHIVE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="MMPOLICY" primaryKey="false" required="true" type="CHAR" size="1" default="F" autoIncrement="false"/>
<column name="EMAILTEST" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISSERVEREMAIL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="DOCUMENTDIR" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISPOSTIMMEDIATE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISCOSTIMMEDIATE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<unique name="AD_CLIENT_NAME">
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,76 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_CLIENTINFO">
<column name="AD_CLIENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISDISCOUNTLINEAMT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_CALENDAR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_UOM_VOLUME_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_UOM_WEIGHT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_UOM_LENGTH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_UOM_TIME_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_MENU_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCTFREIGHT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNERCASHTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="KEEPLOGDAYS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="AD_TREE_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_TREE_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADCLIENTINFO">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEPRODUCT_ADCLIENTINFO">
<reference local="AD_TREE_PRODUCT_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEORG_ADCLIENTINFO">
<reference local="AD_TREE_ORG_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEMENU_ADCLIENTINFO">
<reference local="AD_TREE_MENU_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREESALESREG_ADCLIENTINFO">
<reference local="AD_TREE_SALESREGION_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEPROJECT_ADCLIENTINFO">
<reference local="AD_TREE_PROJECT_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEBPARTNER_ADCLIENTINFO">
<reference local="AD_TREE_BPARTNER_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA1_ADCLIENTINFO">
<reference local="C_ACCTSCHEMA1_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CALENDAR" name="CCALENDAR_ADCLIENTINFO">
<reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="C_UOM_VOLUME_AD_CLIENTINFO">
<reference local="C_UOM_VOLUME_ID" foreign="C_UOM_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="C_UOM_TIME_AD_CLIENTINFO">
<reference local="C_UOM_TIME_ID" foreign="C_UOM_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="C_UOM_LENGTH_AD_CLIENTINFO">
<reference local="C_UOM_LENGTH_ID" foreign="C_UOM_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="C_UOM_WEIGHT_AD_CLIENTINFO">
<reference local="C_UOM_WEIGHT_ID" foreign="C_UOM_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsDiscountLineAmt in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_CLIENTSHARE">
<column name="AD_CLIENTSHARE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SHARETYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADCLIENTSHARE">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_ADCLIENTSHARE">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADCLIENTSHARE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<unique name="AD_CLIENTSHARE_TABLE">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="AD_TABLE_ID"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,37 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_COLOR">
<column name="AD_COLOR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="COLORTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="RED" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="GREEN" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="BLUE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="ALPHA" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="AD_IMAGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="IMAGEALPHA" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="RED_1" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="GREEN_1" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="BLUE_1" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="ALPHA_1" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="LINEWIDTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="LINEDISTANCE" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="STARTPOINT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="REPEATDISTANCE" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<foreign-key foreignTable="AD_IMAGE" name="ADIMAGE_ADCOLOR">
<reference local="AD_IMAGE_ID" foreign="AD_IMAGE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,103 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_COLUMN">
<column name="AD_COLUMN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="VERSION" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="ENTITYTYPE" primaryKey="false" required="true" type="VARCHAR" size="4" default="D" autoIncrement="false"/>
<column name="COLUMNNAME" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_REFERENCE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_REFERENCE_VALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_VAL_RULE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="FIELDLENGTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="DEFAULTVALUE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISKEY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISPARENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISUPDATEABLE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="READONLYLOGIC" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISIDENTIFIER" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISENCRYPTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="CALLOUT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="VFORMAT" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="VALUEMIN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="VALUEMAX" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="ISSELECTIONCOLUMN" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="AD_ELEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_PROCESS_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISSYNCDATABASE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISALWAYSUPDATEABLE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="COLUMNSQL" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="COLUMNCLIENT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ELEMENT" name="AD_ELEMENT_AD_COLUMN">
<reference local="AD_ELEMENT_ID" foreign="AD_ELEMENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="COLUMNORG">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PROCESS" name="ADPROCESS_ADCOLUMN">
<reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_REFERENCE" name="AD_REFERENCE_COLUMNDATATYPE">
<reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_REFERENCE" name="AD_REFERENCE_COLUMNVALUE">
<reference local="AD_REFERENCE_VALUE_ID" foreign="AD_REFERENCE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="AD_TABLE_COLUMN">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_VAL_RULE" name="AD_VALRULE_COLUMN">
<reference local="AD_VAL_RULE_ID" foreign="AD_VAL_RULE_ID"/>
</foreign-key>
<unique name="AD_COLUMN_NAME">
<unique-column name="AD_TABLE_ID"/>
<unique-column name="COLUMNNAME"/>
</unique>
<check>
<rule><![CDATA[IsParent in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsMandatory in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsUpdateable in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsIdentifier in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsEncrypted in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelectionColumn in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSyncDatabase in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsKey in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_COLUMN_ACCESS">
<column name="AD_ROLE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_COLUMN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISREADONLY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISEXCLUDE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_ADCOLUMNACCESS">
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ROLE" name="ADROLE_ADCOLUMNACCESS">
<reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_ADCOLUMNACCESS">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
</table>
</database>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="AD_COLUMN_TRL">
<column name="AD_COLUMN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<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"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_ADCOLUMNTRL">
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_ADCOLUMNTRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated in ('Y','N')]]></rule>
</check>
</table>
</database>