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
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE AD_MODEL_OBJECT">
carlos@0
     3
    <table name="AD_MODEL_OBJECT" primaryKey="AD_MODEL_OBJECT_KEY">
antonio@735
     4
      <column name="AD_MODEL_OBJECT_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
antonio@735
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
antonio@735
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    13
        <default/>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[Y]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
antonio@735
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    21
        <default/>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
antonio@735
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    25
        <default/>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
antonio@735
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    29
        <default/>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
antonio@735
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
antonio@735
    36
      <column name="ACTION" primaryKey="false" required="true" type="VARCHAR" size="1" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="AD_TAB_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="CLASSNAME" primaryKey="false" required="true" type="VARCHAR" size="1000" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    49
        <default><![CDATA[N]]></default>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="AD_TASK_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
antonio@735
    56
      <column name="AD_WORKFLOW_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="AD_PROCESS_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="AD_WORKBENCH_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="AD_FORM_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="AD_REFERENCE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="AD_CALLOUT_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@410
    80
      <foreign-key foreignTable="AD_CLIENT" name="MODELOBJ_FK_CLIENT">
antonio@410
    81
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
antonio@410
    82
      </foreign-key>
antonio@410
    83
      <foreign-key foreignTable="AD_ORG" name="MODELOBJ_FK_ORG">
antonio@410
    84
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
antonio@410
    85
      </foreign-key>
carlos@0
    86
      <foreign-key foreignTable="AD_CALLOUT" name="MODELOBJECT_FK_CALLOUT">
carlos@0
    87
        <reference local="AD_CALLOUT_ID" foreign="AD_CALLOUT_ID"/>
carlos@0
    88
      </foreign-key>
carlos@0
    89
      <foreign-key foreignTable="AD_FORM" name="MODELOBJECT_FK_FORM">
carlos@0
    90
        <reference local="AD_FORM_ID" foreign="AD_FORM_ID"/>
carlos@0
    91
      </foreign-key>
carlos@0
    92
      <foreign-key foreignTable="AD_PROCESS" name="MODELOBJECT_FK_PROCESS">
carlos@0
    93
        <reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
carlos@0
    94
      </foreign-key>
carlos@0
    95
      <foreign-key foreignTable="AD_REFERENCE" name="MODELOBJECT_FK_REFERENCE">
carlos@0
    96
        <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
carlos@0
    97
      </foreign-key>
carlos@0
    98
      <foreign-key foreignTable="AD_TAB" name="MODELOBJECT_FK_TAB">
carlos@0
    99
        <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
carlos@0
   100
      </foreign-key>
carlos@0
   101
      <foreign-key foreignTable="AD_TASK" name="MODELOBJECT_FK_TASK">
carlos@0
   102
        <reference local="AD_TASK_ID" foreign="AD_TASK_ID"/>
carlos@0
   103
      </foreign-key>
carlos@0
   104
      <foreign-key foreignTable="AD_WORKBENCH" name="MODELOBJECT_FK_WORKBENCH">
carlos@0
   105
        <reference local="AD_WORKBENCH_ID" foreign="AD_WORKBENCH_ID"/>
carlos@0
   106
      </foreign-key>
carlos@0
   107
      <foreign-key foreignTable="AD_WORKFLOW" name="MODELOBJECT_FK_WORKFLOW">
carlos@0
   108
        <reference local="AD_WORKFLOW_ID" foreign="AD_WORKFLOW_ID"/>
carlos@0
   109
      </foreign-key>
asier@72
   110
      <unique name="AD_MODEL_OBJECT_CLASSNAME">
asier@72
   111
        <unique-column name="CLASSNAME"/>
asier@72
   112
      </unique>
ivan@258
   113
      <check name="ADMODELOBJECT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
ivan@258
   114
      <check name="ADMODELOBJECT_ISDEFAULT_CHECK"><![CDATA[ISDEFAULT IN ('Y', 'N')]]></check>
carlos@0
   115
    </table>
adrian@94
   116
  </database>