src-db/database/model/tables/AD_USER.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 6764 84beaa0974cb
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_USER">
carlos@0
     3
    <table name="AD_USER" primaryKey="AD_USER_KEY">
juanpablo@1605
     4
      <column name="AD_USER_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>
juanpablo@1605
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" 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><![CDATA[SYSDATE]]></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="PASSWORD" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="EMAIL" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
juanpablo@1605
    52
      <column name="SUPERVISOR_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
juanpablo@1605
    56
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="EMAILUSER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="EMAILUSERPW" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
juanpablo@1605
    76
      <column name="C_GREETING_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="TITLE" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="COMMENTS" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="PHONE" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="PHONE2" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="FAX" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="LASTCONTACT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="LASTRESULT" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="BIRTHDAY" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
juanpablo@1605
   112
      <column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="FIRSTNAME" 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="LASTNAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="USERNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
juanpablo@1605
   128
      <column name="DEFAULT_AD_CLIENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
antonio@735
   132
      <column name="DEFAULT_AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="DEFAULT_AD_ORG_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
juanpablo@1605
   140
      <column name="DEFAULT_AD_ROLE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
juanpablo@1605
   144
      <column name="DEFAULT_M_WAREHOUSE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
asier@6753
   148
      <column name="ISLOCKED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@6753
   149
        <default><![CDATA[N]]></default>
asier@6753
   150
        <onCreateDefault/>
asier@6753
   151
      </column>
asier@5551
   152
      <foreign-key foreignTable="AD_ORG" name="AD_USER_AD_ORGTRX">
asier@5551
   153
        <reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
asier@5551
   154
      </foreign-key>
asier@5551
   155
      <foreign-key foreignTable="C_BPARTNER" name="AD_USER_C_BPARTNER">
asier@5551
   156
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
asier@5551
   157
      </foreign-key>
asier@5551
   158
      <foreign-key foreignTable="C_BPARTNER_LOCATION" name="AD_USER_C_BPARTNER_LOCATION">
asier@5551
   159
        <reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
asier@5551
   160
      </foreign-key>
asier@5551
   161
      <foreign-key foreignTable="C_GREETING" name="AD_USER_C_GREETING">
asier@5551
   162
        <reference local="C_GREETING_ID" foreign="C_GREETING_ID"/>
asier@5551
   163
      </foreign-key>
antonio@410
   164
      <foreign-key foreignTable="AD_CLIENT" name="AD_USER_CLIENT">
antonio@410
   165
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
antonio@410
   166
      </foreign-key>
asier@5551
   167
      <foreign-key foreignTable="AD_CLIENT" name="AD_USER_DEFAULT_AD_CLIENT">
asier@5551
   168
        <reference local="DEFAULT_AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@5551
   169
      </foreign-key>
asier@5551
   170
      <foreign-key foreignTable="AD_LANGUAGE" name="AD_USER_DEFAULT_AD_LANGUAGE">
asier@5551
   171
        <reference local="DEFAULT_AD_LANGUAGE" foreign="AD_LANGUAGE"/>
asier@5551
   172
      </foreign-key>
asier@5551
   173
      <foreign-key foreignTable="AD_ORG" name="AD_USER_DEFAULT_AD_ORG">
asier@5551
   174
        <reference local="DEFAULT_AD_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   175
      </foreign-key>
asier@5551
   176
      <foreign-key foreignTable="AD_ROLE" name="AD_USER_DEFAULT_AD_ROLE">
asier@5551
   177
        <reference local="DEFAULT_AD_ROLE_ID" foreign="AD_ROLE_ID"/>
asier@5551
   178
      </foreign-key>
asier@5551
   179
      <foreign-key foreignTable="M_WAREHOUSE" name="AD_USER_DEFAULT_M_WAREHOUSE">
asier@5551
   180
        <reference local="DEFAULT_M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
asier@5551
   181
      </foreign-key>
antonio@410
   182
      <foreign-key foreignTable="AD_ORG" name="AD_USER_ORG">
antonio@410
   183
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
antonio@410
   184
      </foreign-key>
asier@5551
   185
      <foreign-key foreignTable="AD_USER" name="AD_USER_SUPERVISOR">
gorkaion@238
   186
        <reference local="SUPERVISOR_ID" foreign="AD_USER_ID"/>
gorkaion@238
   187
      </foreign-key>
adrian@170
   188
      <index name="AD_USER_EMAIL" unique="false">
adrian@170
   189
        <index-column name="EMAIL"/>
adrian@170
   190
      </index>
adrian@94
   191
      <index name="AD_USER_NAME" unique="false">
carlos@0
   192
        <index-column name="AD_CLIENT_ID"/>
carlos@0
   193
        <index-column name="NAME"/>
carlos@0
   194
      </index>
carlos@0
   195
      <unique name="AD_USER_UN_USERNAME">
carlos@0
   196
        <unique-column name="USERNAME"/>
carlos@0
   197
      </unique>
carlos@0
   198
    </table>
adrian@94
   199
  </database>