src-db/database/model/tables/AD_CREATEFACT_TEMPLATE.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 5551 7a30caea85b5
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
eduardo@3525
     1
<?xml version="1.0"?>
eduardo@3525
     2
  <database name="TABLE AD_CREATEFACT_TEMPLATE">
eduardo@3525
     3
    <table name="AD_CREATEFACT_TEMPLATE" primaryKey="AD_CREATEFACT_TEMPLATE_KEY">
eduardo@3525
     4
      <column name="AD_CREATEFACT_TEMPLATE_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
     5
        <default/>
eduardo@3525
     6
        <onCreateDefault/>
eduardo@3525
     7
      </column>
eduardo@3525
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
     9
        <default/>
eduardo@3525
    10
        <onCreateDefault/>
eduardo@3525
    11
      </column>
eduardo@3525
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
    13
        <default/>
eduardo@3525
    14
        <onCreateDefault/>
eduardo@3525
    15
      </column>
eduardo@3525
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
eduardo@3525
    17
        <default><![CDATA[Y]]></default>
eduardo@3525
    18
        <onCreateDefault/>
eduardo@3525
    19
      </column>
eduardo@3525
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@3525
    21
        <default><![CDATA[SYSDATE]]></default>
eduardo@3525
    22
        <onCreateDefault/>
eduardo@3525
    23
      </column>
eduardo@3525
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
    25
        <default/>
eduardo@3525
    26
        <onCreateDefault/>
eduardo@3525
    27
      </column>
eduardo@3525
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@3525
    29
        <default><![CDATA[SYSDATE]]></default>
eduardo@3525
    30
        <onCreateDefault/>
eduardo@3525
    31
      </column>
eduardo@3525
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
    33
        <default/>
eduardo@3525
    34
        <onCreateDefault/>
eduardo@3525
    35
      </column>
eduardo@3525
    36
      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
eduardo@3525
    37
        <default/>
eduardo@3525
    38
        <onCreateDefault/>
eduardo@3525
    39
      </column>
eduardo@3525
    40
      <column name="CLASSNAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
eduardo@3525
    41
        <default/>
eduardo@3525
    42
        <onCreateDefault/>
eduardo@3525
    43
      </column>
eduardo@3525
    44
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
eduardo@3525
    45
        <default/>
eduardo@3525
    46
        <onCreateDefault/>
eduardo@3525
    47
      </column>
eduardo@3525
    48
      <column name="AD_TABLE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
eduardo@3525
    49
        <default/>
eduardo@3525
    50
        <onCreateDefault/>
eduardo@3525
    51
      </column>
asier@5551
    52
      <foreign-key foreignTable="AD_CLIENT" name="AD_CREATEFACT_TEMPLATE_AD_CLIE">
eduardo@3525
    53
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
eduardo@3525
    54
      </foreign-key>
asier@5551
    55
      <foreign-key foreignTable="AD_ORG" name="AD_CREATEFACT_TEMPLATE_AD_ORG">
eduardo@3525
    56
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
eduardo@3525
    57
      </foreign-key>
asier@5551
    58
      <foreign-key foreignTable="AD_TABLE" name="AD_CREATEFACT_TEMPLATE_AD_TABL">
eduardo@3525
    59
        <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
eduardo@3525
    60
      </foreign-key>
eduardo@3525
    61
    </table>
eduardo@3525
    62
  </database>