src-db/database/model/tables/AD_MODEL_OBJECT.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Wed, 23 Apr 2008 17:34:12 +0000
changeset 756 ae11e4610537
parent 735 database/model/tables/AD_MODEL_OBJECT.xml@daced7e311c9
child 799 fef2c5e2feb7
permissions -rw-r--r--
Moved database folder to src-db folder
<?xml version="1.0"?>
  <database name="TABLE AD_MODEL_OBJECT">
    <table name="AD_MODEL_OBJECT" primaryKey="AD_MODEL_OBJECT_KEY">
      <column name="AD_MODEL_OBJECT_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
        <default><![CDATA[Y]]></default>
        <onCreateDefault/>
      </column>
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="ACTION" primaryKey="false" required="true" type="VARCHAR" size="1" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_TAB_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="CLASSNAME" primaryKey="false" required="true" type="VARCHAR" size="1000" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
        <default><![CDATA[N]]></default>
        <onCreateDefault/>
      </column>
      <column name="AD_TASK_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_WORKFLOW_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_PROCESS_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_WORKBENCH_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_FORM_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_REFERENCE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <column name="AD_CALLOUT_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
        <default/>
        <onCreateDefault/>
      </column>
      <foreign-key foreignTable="AD_CLIENT" name="MODELOBJ_FK_CLIENT">
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_ORG" name="MODELOBJ_FK_ORG">
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_CALLOUT" name="MODELOBJECT_FK_CALLOUT">
        <reference local="AD_CALLOUT_ID" foreign="AD_CALLOUT_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_FORM" name="MODELOBJECT_FK_FORM">
        <reference local="AD_FORM_ID" foreign="AD_FORM_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_PROCESS" name="MODELOBJECT_FK_PROCESS">
        <reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_REFERENCE" name="MODELOBJECT_FK_REFERENCE">
        <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_TAB" name="MODELOBJECT_FK_TAB">
        <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_TASK" name="MODELOBJECT_FK_TASK">
        <reference local="AD_TASK_ID" foreign="AD_TASK_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_WORKBENCH" name="MODELOBJECT_FK_WORKBENCH">
        <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_WORKFLOW" name="MODELOBJECT_FK_WORKFLOW">
        <reference local="AD_WORKFLOW_ID" foreign="AD_WORKFLOW_ID"/>
      </foreign-key>
      <unique name="AD_MODEL_OBJECT_CLASSNAME">
        <unique-column name="CLASSNAME"/>
      </unique>
      <check name="ADMODELOBJECT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
      <check name="ADMODELOBJECT_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
    </table>
  </database>