src-db/database/model/tables/AD_MODULE_LOG.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 2797 836798ed4c42
child 21129 39da19e84a24
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
asier@1929
     1
<?xml version="1.0"?>
asier@1929
     2
  <database name="TABLE AD_MODULE_LOG">
martin@2441
     3
    <table name="AD_MODULE_LOG" primaryKey="AD_MODULE_LOG_PK">
martin@2441
     4
      <column name="AD_MODULE_LOG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
     5
        <default/>
asier@1929
     6
        <onCreateDefault/>
asier@1929
     7
      </column>
asier@1929
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
     9
        <default/>
asier@1929
    10
        <onCreateDefault/>
asier@1929
    11
      </column>
asier@1929
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    13
        <default/>
asier@1929
    14
        <onCreateDefault/>
asier@1929
    15
      </column>
asier@1929
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1929
    17
        <default><![CDATA[Y]]></default>
asier@1929
    18
        <onCreateDefault/>
asier@1929
    19
      </column>
asier@1929
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1929
    21
        <default><![CDATA[SYSDATE]]></default>
asier@1929
    22
        <onCreateDefault/>
asier@1929
    23
      </column>
asier@1929
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    25
        <default/>
asier@1929
    26
        <onCreateDefault/>
asier@1929
    27
      </column>
asier@1929
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1929
    29
        <default><![CDATA[SYSDATE]]></default>
asier@1929
    30
        <onCreateDefault/>
asier@1929
    31
      </column>
asier@1929
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    33
        <default/>
asier@1929
    34
        <onCreateDefault/>
asier@1929
    35
      </column>
asier@1929
    36
      <column name="AD_MODULE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    37
        <default/>
antonio@2323
    38
        <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
asier@1929
    39
      </column>
asier@1929
    40
      <column name="AD_MODULE_VERSION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    41
        <default/>
asier@1929
    42
        <onCreateDefault/>
asier@1929
    43
      </column>
asier@1929
    44
      <column name="MODULENAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
asier@1929
    45
        <default/>
asier@1929
    46
        <onCreateDefault/>
asier@1929
    47
      </column>
asier@1929
    48
      <column name="LOG" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
asier@1929
    49
        <default/>
asier@1929
    50
        <onCreateDefault/>
asier@1929
    51
      </column>
asier@2586
    52
      <column name="ACTION" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
asier@1929
    53
        <default/>
asier@1929
    54
        <onCreateDefault/>
asier@1929
    55
      </column>
martin@2771
    56
      <foreign-key foreignTable="AD_CLIENT" name="AD_MODULE_LOG_AD_CLIENT">
martin@2771
    57
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
martin@2771
    58
      </foreign-key>
martin@2771
    59
      <foreign-key foreignTable="AD_ORG" name="AD_MODULE_LOG_AD_ORG">
martin@2771
    60
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
martin@2771
    61
      </foreign-key>
asier@1929
    62
    </table>
asier@1929
    63
  </database>