* adempiere model files

This commit is contained in:
Heng Sin Low 2006-12-28 22:51:30 +00:00
parent 13d39563b3
commit 4ba07377f3
50 changed files with 2054 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSCONTAINER">
<column name="CM_ACCESSPROFILE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_CONTAINER_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"/>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESSPROFILE_CMACCCONTAINER">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMACCESSCONTAINER">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSLISTBPGROUP">
<column name="CM_ACCESSPROFILE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="C_BP_GROUP_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"/>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESSPROFILE_CMALBPGROUP">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BP_GROUP" name="CBPGRPUP_CMALISTBPGROUP">
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSLISTROLE">
<column name="CM_ACCESSPROFILE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ROLE_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"/>
<foreign-key foreignTable="AD_ROLE" name="ADROLE_CMALISTROLE">
<reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESSPROFILE_CMALISTROLE">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSMEDIA">
<column name="CM_MEDIA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_ACCESSPROFILE_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"/>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESSPROFILE_CMACCESSMEDIA">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_MEDIA" name="CMMEDIA_CMACCESSMEDIA">
<reference local="CM_MEDIA_ID" foreign="CM_MEDIA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSNEWSCHANNEL">
<column name="CM_ACCESSPROFILE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_NEWSCHANNEL_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"/>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESPROFILE_CMANEWSCHANNEL">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_NEWSCHANNEL" name="CNMEWSCHANNEL_CMACCESSNEWSC">
<reference local="CM_NEWSCHANNEL_ID" foreign="CM_NEWSCHANNEL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSPROFILE">
<column name="CM_ACCESSPROFILE_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="ISEXCLUDE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsExclude in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_ACCESSSTAGE">
<column name="CM_ACCESSPROFILE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_CSTAGE_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"/>
<foreign-key foreignTable="CM_ACCESSPROFILE" name="CMACCESSPROFILE_CMACCESSSTAGE">
<reference local="CM_ACCESSPROFILE_ID" foreign="CM_ACCESSPROFILE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CSTAGE" name="CMCSTAGE_CMACCESSSTAGE">
<reference local="CM_CSTAGE_ID" foreign="CM_CSTAGE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,46 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_AD">
<column name="CM_AD_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="CM_AD_CAT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_MEDIA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="TARGETURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="TARGET_FRAME" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="ACTUALCLICK" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="MAXCLICK" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="ACTUALIMPRESSION" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="MAXIMPRESSION" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="STARTIMPRESSION" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="STARTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ENDDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="CONTENTHTML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISADFLAG" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISLOGGED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="CM_AD_CAT" name="CMADCAT_CMAD">
<reference local="CM_AD_CAT_ID" foreign="CM_AD_CAT_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_MEDIA" name="CMMEDIA_CMAD">
<reference local="CM_MEDIA_ID" foreign="CM_MEDIA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsAdFlag in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsLogged in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_AD_CAT">
<column name="CM_AD_CAT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" 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"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMADCAT">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_BROADCASTSERVER">
<column name="CM_BROADCASTSERVER_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="IP_ADDRESS" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="LASTSYNCHRONIZED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMBROADCASTSERVER">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_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="CM_CHAT">
<column name="CM_CHAT_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="DESCRIPTION" primaryKey="false" required="true" type="VARCHAR" size="255" 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="CONFIDENTIALTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="CM_CHATTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="MODERATIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_CMCHAT">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHATTYPE" name="CMCHATTYPE_CMCHAT">
<reference local="CM_CHATTYPE_ID" foreign="CM_CHATTYPE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,38 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CHATENTRY">
<column name="CM_CHATENTRY_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="CM_CHAT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CONFIDENTIALTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="CHARACTERDATA" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<column name="CM_CHATENTRYPARENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CM_CHATENTRYGRANDPARENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CHATENTRYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="MODERATORSTATUS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="SUBJECT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CMCHATENTRY">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHAT" name="CMCHAT_CHCHATENTRY">
<reference local="CM_CHAT_ID" foreign="CM_CHAT_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHATENTRY" name="CMCHATENTRY_GRANDPARENT">
<reference local="CM_CHATENTRYGRANDPARENT_ID" foreign="CM_CHATENTRY_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHATENTRY" name="CMENTRTY_CMENTRYPARENT">
<reference local="CM_CHATENTRYPARENT_ID" foreign="CM_CHATENTRY_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CHATTYPE">
<column name="CM_CHATTYPE_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="MODERATIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_CMCHATTYPE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<unique name="CM_CHATTYPE_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,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CHATTYPEUPDATE">
<column name="CM_CHATTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_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="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CMCHATTYPEUPDATE">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHATTYPE" name="CMCHATTYPE_CMCHATTYPEUPDATE">
<reference local="CM_CHATTYPE_ID" foreign="CM_CHATTYPE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CHATUPDATE">
<column name="CM_CHAT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_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="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CMCHATUPDATE">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_CHAT" name="CMCHAT_CMCHATUPDATE">
<reference local="CM_CHAT_ID" foreign="CM_CHAT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,58 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CONTAINER">
<column name="CM_CONTAINER_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="2000" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_TEMPLATE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="NOTICE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="CONTAINERLINKURL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="RELATIVEURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="PRIORITY" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="ISINDEXED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISSECURE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="META_ROBOTSTAG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_AUTHOR" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_COPYRIGHT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_CONTENT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_KEYWORDS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_PUBLISHER" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="STRUCTUREXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CM_CONTAINERLINK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="META_LANGUAGE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMCONTAINERLINK">
<reference local="CM_CONTAINERLINK_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATE" name="CMTEMPLATE_CMCONTAINER">
<reference local="CM_TEMPLATE_ID" foreign="CM_TEMPLATE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMCONTAINER">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsIndexed in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSecure 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="CM_CONTAINERTTABLE">
<column name="CM_CONTAINERTTABLE_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="CM_CONTAINER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_TEMPLATETABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="WHERECLAUSE" 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="CM_CONTAINER" name="CMCONTAINER_CMCONTAINERTTABLE">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATETABLE" name="CMTTABLE_CMCONTAINERTABLE">
<reference local="CM_TEMPLATETABLE_ID" foreign="CM_TEMPLATETABLE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CONTAINER_ELEMENT">
<column name="CM_CONTAINER_ELEMENT_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="CM_CONTAINER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CONTENTHTML" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMCONTAINERELEMENT">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_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="CM_CONTAINER_ELEMENT_TRL">
<column name="CM_CONTAINER_ELEMENT_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="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="CONTENTHTML" primaryKey="false" required="true" type="CLOB" size="4000" 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"/>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CMCONTAINERELETRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<foreign-key foreignTable="CM_CONTAINER_ELEMENT" name="CMCONTAINERELEMENT_CMCETRL">
<reference local="CM_CONTAINER_ELEMENT_ID" foreign="CM_CONTAINER_ELEMENT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated 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="CM_CONTAINER_TRL">
<column name="CM_CONTAINER_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="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="META_DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_KEYWORDS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="STRUCTUREXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CMCONTAINERTRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMCONTAINERTRL">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CONTAINER_URL">
<column name="CM_CONTAINER_URL_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="CM_CONTAINER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CHECKED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="STATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="LAST_RESULT" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMCONTAINERURL">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,60 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_CSTAGE">
<column name="CM_CSTAGE_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="2000" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_TEMPLATE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="NOTICE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="CONTAINERLINKURL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="RELATIVEURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="PRIORITY" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="ISINDEXED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISSECURE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="META_ROBOTSTAG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_AUTHOR" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_COPYRIGHT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_CONTENT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_KEYWORDS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_PUBLISHER" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="STRUCTUREXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CM_CSTAGELINK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISMODIFIED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="META_LANGUAGE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="CM_CSTAGE" name="CMCSTAGE_CMCSTAGELINK">
<reference local="CM_CSTAGELINK_ID" foreign="CM_CSTAGE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATE" name="CMTEMPLATE_CMCSTAGE">
<reference local="CM_TEMPLATE_ID" foreign="CM_TEMPLATE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMCSTAGE">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsIndexed in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSecure 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="CM_CSTAGETTABLE">
<column name="CM_CSTAGETTABLE_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="CM_CSTAGE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_TEMPLATETABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="WHERECLAUSE" 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="CM_CSTAGE" name="CMSTAGE_CMCSTAGETTABLE">
<reference local="CM_CSTAGE_ID" foreign="CM_CSTAGE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATETABLE" name="CMTTABLE_CMSTAGETTABLE">
<reference local="CM_TEMPLATETABLE_ID" foreign="CM_TEMPLATETABLE_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="CM_CSTAGE_ELEMENT">
<column name="CM_CSTAGE_ELEMENT_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="CM_CSTAGE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CONTENTHTML" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="CM_CSTAGE" name="CMCSTAGE_CMCSTAGEELEMENT">
<reference local="CM_CSTAGE_ID" foreign="CM_CSTAGE_ID"/>
</foreign-key>
<unique name="CM_CSTAGE_ELEMENT_NAME">
<unique-column name="CM_CSTAGE_ID"/>
<unique-column name="NAME"/>
</unique>
<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="CM_CSTAGE_ELEMENT_TRL">
<column name="CM_CSTAGE_ELEMENT_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="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" 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="CONTENTHTML" primaryKey="false" required="true" type="CLOB" size="4000" autoIncrement="false"/>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CMCSTAGEELETRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<foreign-key foreignTable="CM_CSTAGE_ELEMENT" name="CMCSTAGEELEMENT_CMCSETRL">
<reference local="CM_CSTAGE_ELEMENT_ID" foreign="CM_CSTAGE_ELEMENT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated 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="CM_CSTAGE_TRL">
<column name="CM_CSTAGE_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="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="META_DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_KEYWORDS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="STRUCTUREXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CONTAINERXML" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CMCSTAGETRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<foreign-key foreignTable="CM_CSTAGE" name="CMCSTAGE_CMCSTAGETRL">
<reference local="CM_CSTAGE_ID" foreign="CM_CSTAGE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated 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="CM_MEDIA">
<column name="CM_MEDIA_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="MEDIATYPE" primaryKey="false" required="false" type="CHAR" size="3" 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="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_IMAGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CONTENTTEXT" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<column name="DIRECTDEPLOY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMMEDIA">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

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="CM_MEDIADEPLOY">
<column name="CM_MEDIADEPLOY_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="CM_MEDIA_SERVER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_MEDIA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISDEPLOYED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="LASTSYNCHRONIZED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="CM_MEDIA" name="CMMEDIA_CMMEDIADEPLOY">
<reference local="CM_MEDIA_ID" foreign="CM_MEDIA_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_MEDIA_SERVER" name="CMMEDIASERVER_CMMEDIADEPLOY">
<reference local="CM_MEDIA_SERVER_ID" foreign="CM_MEDIA_SERVER_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsDeployed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_MEDIA_SERVER">
<column name="CM_MEDIA_SERVER_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="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="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" 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="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISPASSIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="URL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="IP_ADDRESS" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="USERNAME" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="PASSWORD" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="FOLDER" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMMEDIASERVER">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsPassive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_NEWSCHANNEL">
<column name="CM_NEWSCHANNEL_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="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="LINK" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMNEWSCHANNEL">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<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="CM_NEWSITEM">
<column name="CM_NEWSITEM_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="CM_NEWSCHANNEL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AUTHOR" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="LINKURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="PUBDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="CONTENTHTML" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<foreign-key foreignTable="CM_NEWSCHANNEL" name="CMNEWSCHANNEL_CMNEWSITEM">
<reference local="CM_NEWSCHANNEL_ID" foreign="CM_NEWSCHANNEL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,42 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_TEMPLATE">
<column name="CM_TEMPLATE_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="CM_WEBPROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="ISINCLUDE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISUSEAD" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISNEWS" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ELEMENTS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="TEMPLATEXST" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMTEMPLATE">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsInclude in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsUseAd in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsNews 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="CM_TEMPLATETABLE">
<column name="CM_TEMPLATETABLE_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="CM_TEMPLATE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="WHERECLAUSE" 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_TABLE" name="ADTABLE_CMTEMPLATETABLE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATE" name="CMTEMPLATE_CMTTABLE">
<reference local="CM_TEMPLATE_ID" foreign="CM_TEMPLATE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_TEMPLATE_AD_CAT">
<column name="CM_AD_CAT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="CM_TEMPLATE_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"/>
<foreign-key foreignTable="CM_AD_CAT" name="CMADCAT_CMTEMPLATEADCAT">
<reference local="CM_AD_CAT_ID" foreign="CM_AD_CAT_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_TEMPLATE" name="CMTEMPLATE_CMTEMPLATEADCAT">
<reference local="CM_TEMPLATE_ID" foreign="CM_TEMPLATE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,47 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_WEBACCESSLOG">
<column name="CM_WEBACCESSLOG_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="LOGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="IP_ADDRESS" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="CM_BROADCASTSERVER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="REQUESTTYPE" primaryKey="false" required="true" type="VARCHAR" size="4" autoIncrement="false"/>
<column name="PAGEURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="REFERRER" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="REMOTE_HOST" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<column name="REMOTE_ADDR" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="USERAGENT" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ACCEPTLANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="WEBSESSION" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="HYPHEN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="PROTOCOL" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
<column name="STATUSCODE" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="FILESIZE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CM_MEDIA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CMWEBACCESSLOG">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_BROADCASTSERVER" name="CMBROADCASTSERVER_CMWEBALOG">
<reference local="CM_BROADCASTSERVER_ID" foreign="CM_BROADCASTSERVER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_MEDIA" name="CMMEDIA_CMWEBACCESSLOG">
<reference local="CM_MEDIA_ID" foreign="CM_MEDIA_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMWEBACCESSLOG">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,41 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="CM_WEBPROJECT">
<column name="CM_WEBPROJECT_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="META_COPYRIGHT" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_PUBLISHER" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_ROBOTSTAG" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_AUTHOR" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="META_CONTENT" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_TREECMC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREECMS_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREECMM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREECMT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_TREE" name="ADTREECMC_CMWEBPROJECT">
<reference local="AD_TREECMC_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREECMM_CMWEBPROJECT">
<reference local="AD_TREECMM_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREECMS_CMWEBPROJECT">
<reference local="AD_TREECMS_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREECMT_CMWEBPROJECT">
<reference local="AD_TREECMT_ID" foreign="AD_TREE_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="CM_WEBPROJECT_DOMAIN">
<column name="CM_WEBPROJECT_DOMAIN_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="CM_WEBPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CM_CONTAINER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="FQDN" primaryKey="false" required="true" type="VARCHAR" size="120" autoIncrement="false"/>
<foreign-key foreignTable="CM_CONTAINER" name="CMCONTAINER_CMWEBPROJECTDOMAIN">
<reference local="CM_CONTAINER_ID" foreign="CM_CONTAINER_ID"/>
</foreign-key>
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_CMWPDOMAIN">
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
</foreign-key>
<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="CM_WIKITOKEN">
<column name="CM_WIKITOKEN_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="TOKENTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="SELECTCLAUSE" 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="WHERECLAUSE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MACRO" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_CMWIKITOKEN">
<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,142 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="FACT_ACCT">
<column name="FACT_ACCT_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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATETRX" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="C_PERIOD_ID" primaryKey="false" required="false" 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="LINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_TAX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_LOCATOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AMTSOURCEDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTSOURCECR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTACCTDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTACCTCR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCFROM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_SUBACCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USERELEMENT1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USERELEMENT2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTPHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTTASK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="AC_CLIENT_FACT_ACCT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="AD_ORGTRX_FACT_ACCT">
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="AD_ORG_FACT_ACCT">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_FACTACCT">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="A_ASSET" name="AASSET_FACTACCT">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_FACTACCT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_FACTACCT">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="C_BUSPARTNER_FACT_ACCT">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="SO_CAMPAIGN_FACT_ACCT">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="C_CURRENCY_FACT_ACCT">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_FACTACCT">
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_FACTACCT">
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_FACTACCT">
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="C_LOCATIONTO_FACT_ACCT">
<reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="C_LOCATIONFROM_FACT_ACCT">
<reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PERIOD" name="CPERIOD_FACTACCT">
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="C_PROJECT_FACT_ACCT">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECTPHASE" name="CPROJECTPHASE_FACTACCT">
<reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECTTASK" name="CPROJECTTASK_FACTACCT">
<reference local="C_PROJECTTASK_ID" foreign="C_PROJECTTASK_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="C_SALESREGION_FACTACCT">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_TAX" name="CTAX_FACTACCT">
<reference local="C_TAX_ID" foreign="C_TAX_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="C_UOM_FACT_ACCT">
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_FACTACCT">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_CATEGORY" name="GLCATEGORY_FACTACCT">
<reference local="GL_CATEGORY_ID" foreign="GL_CATEGORY_ID"/>
</foreign-key>
<foreign-key foreignTable="M_LOCATOR" name="MLOCATOR_FACTACCT">
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_FACT_ACCT">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<index name="FACT_ACCT_ACCOUNT">
<index-column name="AD_CLIENT_ID"/>
<index-column name="AD_ORG_ID"/>
<index-column name="C_ACCTSCHEMA_ID"/>
<index-column name="ACCOUNT_ID"/>
</index>
<index name="FACT_ACCT_DATEACCT">
<index-column name="DATEACCT"/>
</index>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,111 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="FACT_ACCT_BALANCE">
<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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCFROM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AMTACCTDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTACCTCR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" default="0" autoIncrement="false"/>
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" default="0" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_SUBACCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USERELEMENT1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="USERELEMENT2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTPHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTTASK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_FACTACCTBAL">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_FACTACCTBAL">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_FACTACCTBAL">
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_FACTACCTBAL">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_FACTACCTBAL">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_FACTACCTBAL">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_FACTACCTBAL">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEACCT_FACTACCTBAL">
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEU1_FACTACCTBAL">
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEU2_FACTACCTBAL">
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCFROM_FACTACCTBALANCE">
<reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCTO_FACTACCTBAL">
<reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_FACTACCTBAL">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECTPHASE" name="CPROJECTPHASE_FACTACCTBALANCE">
<reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECTTASK" name="CPROJECTTASK_FACTACCTBALANCE">
<reference local="C_PROJECTTASK_ID" foreign="C_PROJECTTASK_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_FACTACCTBAL">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_FACTACCTBALANCE">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_FACTACCTBAL">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<unique name="FACT_ACCT_BALANCE_AKEY">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="AD_ORG_ID"/>
<unique-column name="C_ACCTSCHEMA_ID"/>
<unique-column name="DATEACCT"/>
<unique-column name="ACCOUNT_ID"/>
<unique-column name="POSTINGTYPE"/>
<unique-column name="M_PRODUCT_ID"/>
<unique-column name="C_BPARTNER_ID"/>
<unique-column name="C_PROJECT_ID"/>
<unique-column name="AD_ORGTRX_ID"/>
<unique-column name="C_SALESREGION_ID"/>
<unique-column name="C_ACTIVITY_ID"/>
<unique-column name="C_CAMPAIGN_ID"/>
<unique-column name="C_LOCTO_ID"/>
<unique-column name="C_LOCFROM_ID"/>
<unique-column name="USER1_ID"/>
<unique-column name="USER2_ID"/>
<unique-column name="GL_BUDGET_ID"/>
</unique>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_BUDGET">
<column name="GL_BUDGET_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="ISPRIMARY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="BUDGETSTATUS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<unique name="GL_BUDGET_NAME">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsPrimary 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="GL_BUDGETCONTROL">
<column name="GL_BUDGETCONTROL_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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="COMMITMENTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISBEFOREAPPROVAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="BUDGETCONTROLSCOPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_GLBUDGETCONTROL">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_GLBUDGETCONTROL">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsBeforeApproval in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_CATEGORY">
<column name="GL_CATEGORY_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="CATEGORYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="DOCBASETYPE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
<unique name="GL_CATEGORY_NAME">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,142 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_DISTRIBUTION">
<column name="GL_DISTRIBUTION_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="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ANYORG" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYACCT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYPRODUCT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYBPARTNER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYPROJECT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYCAMPAIGN" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYACTIVITY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYSALESREGION" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYORGTRX" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYLOCTO" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYLOCFROM" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="C_LOCFROM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYUSER1" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ANYUSER2" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PERCENTTOTAL" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORGORG_GLDIST">
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_GLDIST">
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_GLDIST">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_GLDIST">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_GLDIST">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_GLDIST">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_GLDIST">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_GLDISTRIBUTION">
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEUSER1_GLDIST">
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEACCT_GLDIST">
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEUSER2_GLDIST">
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCFROM_GLDIST">
<reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCTO_GLDIST">
<reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_GLDIST">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGOPN_GLDIST">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_GLDIST">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[AnySalesRegion in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyOrgTrx in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyLocTo in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyLocFrom in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyUser1 in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyUser2 in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsValid in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyOrg in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyAcct in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyProduct in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyBPartner in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyProject in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyCampaign in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[AnyActivity in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,131 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_DISTRIBUTIONLINE">
<column name="GL_DISTRIBUTIONLINE_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="GL_DISTRIBUTION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="LINE" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="PERCENT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="OVERWRITEORG" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEACCT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEPRODUCT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEBPARTNER" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEPROJECT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITECAMPAIGN" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEACTIVITY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITESALESREGION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEORGTRX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITELOCTO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITELOCFROM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_LOCFROM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEUSER1" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OVERWRITEUSER2" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORGORG_GLDISTLINE">
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_GLDISTLINE">
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_GLDISTLINE">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_GLDISTLINE">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_GLDISTLINE">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_GLDISTLINE">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEUSER1_GLDISTLINE">
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEUSER2_GLDISTLINE">
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEACCT_GLDISTLINE">
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCFROM_GLDISTLINE">
<reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCTO_GLDISTLINE">
<reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_GLDISTLINE">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_GLDISTLINE">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_DISTRIBUTION" name="GLDISTRIBUTION_GLDISTLINE">
<reference local="GL_DISTRIBUTION_ID" foreign="GL_DISTRIBUTION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_GLDISTLINE">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteOrg in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteAcct in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteProduct in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteBPartner in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteProject in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteCampaign in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteActivity in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteSalesRegion in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteOrgTrx in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteLocTo in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteLocFrom in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteUser1 in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[OverwriteUser2 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="GL_FUND">
<column name="GL_FUND_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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DATEFROM" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATETO" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_GLFUND">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<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="GL_FUNDRESTRICTION">
<column name="GL_FUNDRESTRICTION_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="GL_FUND_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_GLFUNDRESTR">
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_FUND" name="GLFUND_GLFUNDRESTRICTION">
<reference local="GL_FUND_ID" foreign="GL_FUND_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,79 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_JOURNAL">
<column name="GL_JOURNAL_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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_CATEGORY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATEDOC" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="C_PERIOD_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CURRENCYRATE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="GL_JOURNALBATCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="TOTALDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="TOTALCR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="CONTROLAMT" primaryKey="false" required="false" type="NUMERIC" default="0" 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"/>
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="C_ACCTSCHEMA_GL_JOURNAL">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_GLJOURNAL">
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_GLJOURNAL">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_GLJOURNAL">
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PERIOD" name="C_PERIOD_JOURNAL">
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_GLJOURNAL">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_CATEGORY" name="GLCATEGORY_GLJOURNAL">
<reference local="GL_CATEGORY_ID" foreign="GL_CATEGORY_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_JOURNALBATCH" name="GLJOURNALBATCH_GLJOURNAL">
<reference local="GL_JOURNALBATCH_ID" foreign="GL_JOURNALBATCH_ID"/>
</foreign-key>
<unique name="GL_JOURNAL_DOCNO">
<unique-column name="AD_ORG_ID"/>
<unique-column name="C_PERIOD_ID"/>
<unique-column name="DOCUMENTNO"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsApproved 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>

View File

@ -0,0 +1,58 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_JOURNALBATCH">
<column name="GL_JOURNALBATCH_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="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="GL_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="DATEDOC" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="C_PERIOD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="TOTALDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="TOTALCR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="CONTROLAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="COPYFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="ISAPPROVED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_GLJOURNALBATCH">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_GLJOURNALBATCH">
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PERIOD" name="C_PERIOD_JOURNALBATCH">
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_CATEGORY" name="GLCATEGORY_GLJOURNALBATCH">
<reference local="GL_CATEGORY_ID" foreign="GL_CATEGORY_ID"/>
</foreign-key>
<unique name="GL_JOURNALBATCH_DOCNO">
<unique-column name="AD_ORG_ID"/>
<unique-column name="C_PERIOD_ID"/>
<unique-column name="DOCUMENTNO"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processing in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,57 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="GL_JOURNALLINE">
<column name="GL_JOURNALLINE_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="GL_JOURNAL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="ISGENERATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AMTSOURCEDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTSOURCECR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="CURRENCYRATE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="AMTACCTDR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="AMTACCTCR" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_VALIDCOMBINATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_GLJOURNALLINE">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_GLJOURNALLINE">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_GLJOURNALLINE">
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_GLJOURNALLINE">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="CUOM_GLJOURNALLINE">
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="CVC_GLJOURNALLINE">
<reference local="C_VALIDCOMBINATION_ID" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_JOURNAL" name="GLJOURNAL_GLJOURNALLINE">
<reference local="GL_JOURNAL_ID" foreign="GL_JOURNAL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsGenerated in ('Y','N')]]></rule>
</check>
</table>
</database>