src-db/database/model/tables/AD_PREFERENCE.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 7598 e92cbd6025be
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_PREFERENCE">
carlos@0
     3
    <table name="AD_PREFERENCE" primaryKey="AD_PREFERENCE_KEY">
juanpablo@1605
     4
      <column name="AD_PREFERENCE_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>
juanpablo@1605
    36
      <column name="AD_WINDOW_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
juanpablo@1605
    40
      <column name="AD_USER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
asier@7213
    44
      <column name="ATTRIBUTE" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
asier@7213
    48
      <column name="VALUE" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
asier@7213
    52
      <column name="PROPERTY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
asier@7213
    53
        <default/>
asier@7213
    54
        <onCreateDefault/>
asier@7213
    55
      </column>
asier@7213
    56
      <column name="ISPROPERTYLIST" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@7283
    57
        <default><![CDATA[N]]></default>
asier@7218
    58
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
asier@7213
    59
      </column>
asier@7213
    60
      <column name="VISIBLEAT_CLIENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@7213
    61
        <default/>
asier@7218
    62
        <onCreateDefault><![CDATA[AD_CLIENT_ID]]></onCreateDefault>
asier@7213
    63
      </column>
asier@7213
    64
      <column name="VISIBLEAT_ORG_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@7213
    65
        <default/>
asier@7218
    66
        <onCreateDefault><![CDATA[AD_ORG_ID]]></onCreateDefault>
asier@7213
    67
      </column>
asier@7213
    68
      <column name="VISIBLEAT_ROLE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@7213
    69
        <default/>
asier@7213
    70
        <onCreateDefault/>
asier@7213
    71
      </column>
asier@7249
    72
      <column name="SELECTED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@7213
    73
        <default><![CDATA[N]]></default>
antonio@7598
    74
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
asier@7213
    75
      </column>
asier@7244
    76
      <column name="AD_MODULE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@7244
    77
        <default/>
asier@7244
    78
        <onCreateDefault/>
asier@7244
    79
      </column>
carlos@0
    80
      <foreign-key foreignTable="AD_CLIENT" name="AD_PREFERENCE_CLIENT">
carlos@0
    81
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
    82
      </foreign-key>
asier@7218
    83
      <foreign-key foreignTable="AD_CLIENT" name="AD_PREFERENCE_CLIENTVISIBLE">
asier@7218
    84
        <reference local="VISIBLEAT_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@7218
    85
      </foreign-key>
asier@7244
    86
      <foreign-key foreignTable="AD_MODULE" name="AD_PREFERENCE_MODULE">
asier@7244
    87
        <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
asier@7244
    88
      </foreign-key>
carlos@0
    89
      <foreign-key foreignTable="AD_ORG" name="AD_PREFERENCE_ORG">
carlos@0
    90
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
    91
      </foreign-key>
asier@7218
    92
      <foreign-key foreignTable="AD_ORG" name="AD_PREFERENCE_ORGVISIBLE">
asier@7218
    93
        <reference local="VISIBLEAT_ORG_ID" foreign="AD_ORG_ID"/>
asier@7218
    94
      </foreign-key>
asier@7218
    95
      <foreign-key foreignTable="AD_ROLE" name="AD_PREFERENCE_ROLEVISIBLE">
asier@7218
    96
        <reference local="VISIBLEAT_ROLE_ID" foreign="AD_ROLE_ID"/>
asier@7218
    97
      </foreign-key>
carlos@0
    98
      <foreign-key foreignTable="AD_USER" name="AD_USER_PREFERENCE">
carlos@0
    99
        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
carlos@0
   100
      </foreign-key>
asier@3237
   101
      <foreign-key foreignTable="AD_WINDOW" name="AD_WINDOW_PREFERENCE" onDelete="cascade">
carlos@0
   102
        <reference local="AD_WINDOW_ID" foreign="AD_WINDOW_ID"/>
carlos@0
   103
      </foreign-key>
carlos@0
   104
    </table>
adrian@94
   105
  </database>