src-db/database/model/tables/AD_COLUMN.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 7400 fb83ef0f2fbc
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE AD_COLUMN">
carlos@0
     3
    <table name="AD_COLUMN" primaryKey="AD_COLUMN_KEY">
juanpablo@1605
     4
      <column name="AD_COLUMN_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
juanpablo@1605
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
juanpablo@1605
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" 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><![CDATA[SYSDATE]]></default>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
antonio@735
    24
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    25
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
juanpablo@1605
    28
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    29
        <default/>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
juanpablo@1605
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
antonio@735
    36
      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="HELP" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="COLUMNNAME" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
juanpablo@1605
    52
      <column name="AD_TABLE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
juanpablo@1605
    56
      <column name="AD_REFERENCE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
juanpablo@1605
    60
      <column name="AD_REFERENCE_VALUE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="AD_VAL_RULE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
ivan@1738
    68
      <column name="FIELDLENGTH" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
ivan@1738
    69
        <default><![CDATA[0]]></default>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="DEFAULTVALUE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="ISKEY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    77
        <default><![CDATA[N]]></default>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ISPARENT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[N]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="ISMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    85
        <default><![CDATA[N]]></default>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="ISUPDATEABLE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    89
        <default><![CDATA[Y]]></default>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="READONLYLOGIC" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="ISIDENTIFIER" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    97
        <default><![CDATA[N]]></default>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   105
        <default><![CDATA[N]]></default>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="ISENCRYPTED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   109
        <default><![CDATA[N]]></default>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="CALLOUT" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="VFORMAT" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="VALUEMIN" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="VALUEMAX" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
antonio@735
   128
      <column name="ISSELECTIONCOLUMN" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   129
        <default><![CDATA[N]]></default>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
juanpablo@1605
   132
      <column name="AD_ELEMENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="AD_PROCESS_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
antonio@735
   140
      <column name="ISSESSIONATTR" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   141
        <default><![CDATA[N]]></default>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="ISSECONDARYKEY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   145
        <default><![CDATA[N]]></default>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
antonio@735
   148
      <column name="ISDESENCRYPTABLE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   149
        <default><![CDATA[N]]></default>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
juanpablo@1605
   152
      <column name="AD_CALLOUT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   153
        <default/>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
asier@2586
   156
      <column name="DEVELOPMENTSTATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   157
        <default><![CDATA[RE]]></default>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
asier@1644
   160
      <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1644
   161
        <default><![CDATA[0]]></default>
antonio@2323
   162
        <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
asier@1644
   163
      </column>
asier@1929
   164
      <column name="POSITION" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
asier@1929
   165
        <default/>
asier@1929
   166
        <onCreateDefault/>
asier@1929
   167
      </column>
asier@1929
   168
      <column name="ISTRANSIENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
asier@1929
   169
        <default><![CDATA[N]]></default>
asier@1929
   170
        <onCreateDefault/>
asier@1929
   171
      </column>
asier@1929
   172
      <column name="ISTRANSIENTCONDITION" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false">
asier@1748
   173
        <default/>
asier@1748
   174
        <onCreateDefault/>
asier@1748
   175
      </column>
ivan@7106
   176
      <column name="ISAUTOSAVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
ivan@7047
   177
        <default><![CDATA[Y]]></default>
ivan@7049
   178
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
ivan@7047
   179
      </column>
asier@7400
   180
      <column name="VALIDATEONNEW" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@7400
   181
        <default><![CDATA[Y]]></default>
asier@7400
   182
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
asier@7400
   183
      </column>
asier@5551
   184
      <foreign-key foreignTable="AD_CALLOUT" name="AD_COLUMN_AD_CALLOUT">
asier@5551
   185
        <reference local="AD_CALLOUT_ID" foreign="AD_CALLOUT_ID"/>
asier@5551
   186
      </foreign-key>
asier@5551
   187
      <foreign-key foreignTable="AD_CLIENT" name="AD_COLUMN_AD_CLIENT">
asier@5551
   188
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@5551
   189
      </foreign-key>
asier@5551
   190
      <foreign-key foreignTable="AD_MODULE" name="AD_COLUMN_AD_MODULE">
asier@5551
   191
        <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
asier@5551
   192
      </foreign-key>
asier@5551
   193
      <foreign-key foreignTable="AD_ORG" name="AD_COLUMN_AD_ORG">
asier@5551
   194
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   195
      </foreign-key>
asier@5551
   196
      <foreign-key foreignTable="AD_PROCESS" name="AD_COLUMN_AD_PROCESS" onDelete="setnull">
asier@5551
   197
        <reference local="AD_PROCESS_ID" foreign="AD_PROCESS_ID"/>
asier@5551
   198
      </foreign-key>
carlos@0
   199
      <foreign-key foreignTable="AD_ELEMENT" name="AD_ELEMENT_AD_COLUMN">
carlos@0
   200
        <reference local="AD_ELEMENT_ID" foreign="AD_ELEMENT_ID"/>
carlos@0
   201
      </foreign-key>
carlos@0
   202
      <foreign-key foreignTable="AD_REFERENCE" name="AD_REFERENCE_COLUMNDATATYPE">
carlos@0
   203
        <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
carlos@0
   204
      </foreign-key>
carlos@0
   205
      <foreign-key foreignTable="AD_REFERENCE" name="AD_REFERENCE_COLUMNVALUE">
carlos@0
   206
        <reference local="AD_REFERENCE_VALUE_ID" foreign="AD_REFERENCE_ID"/>
carlos@0
   207
      </foreign-key>
adrian@94
   208
      <foreign-key foreignTable="AD_TABLE" name="AD_TABLE_COLUMN" onDelete="cascade">
carlos@0
   209
        <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
carlos@0
   210
      </foreign-key>
carlos@0
   211
      <foreign-key foreignTable="AD_VAL_RULE" name="AD_VALRULE_COLUMN">
carlos@0
   212
        <reference local="AD_VAL_RULE_ID" foreign="AD_VAL_RULE_ID"/>
carlos@0
   213
      </foreign-key>
adrian@94
   214
      <index name="AD_COLUMN_TABLE" unique="false">
carlos@0
   215
        <index-column name="AD_TABLE_ID"/>
carlos@0
   216
      </index>
carlos@0
   217
      <unique name="AD_COLUMN_NAME">
carlos@0
   218
        <unique-column name="AD_TABLE_ID"/>
carlos@0
   219
        <unique-column name="COLUMNNAME"/>
carlos@0
   220
      </unique>
martin@3040
   221
      <unique name="AD_COLUMN_NAME_AD_TABLE">
martin@3040
   222
        <unique-column name="AD_TABLE_ID"/>
martin@3040
   223
        <unique-column name="NAME"/>
martin@3040
   224
      </unique>
carlos@0
   225
    </table>
adrian@94
   226
  </database>