src-db/database/model/tables/AD_TEST.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
gorkaion@1788
     1
<?xml version="1.0"?>
gorkaion@1788
     2
  <database name="TABLE AD_TEST">
asier@2737
     3
    <table name="AD_TEST" primaryKey="AD_TEST_PK">
asier@2737
     4
      <column name="AD_TEST_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
     5
        <default/>
gorkaion@1788
     6
        <onCreateDefault/>
gorkaion@1788
     7
      </column>
gorkaion@1788
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
     9
        <default/>
gorkaion@1788
    10
        <onCreateDefault/>
gorkaion@1788
    11
      </column>
gorkaion@1788
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    13
        <default/>
gorkaion@1788
    14
        <onCreateDefault/>
gorkaion@1788
    15
      </column>
gorkaion@1788
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
gorkaion@1788
    17
        <default><![CDATA[Y]]></default>
gorkaion@1788
    18
        <onCreateDefault/>
gorkaion@1788
    19
      </column>
gorkaion@1788
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@1788
    21
        <default><![CDATA[SYSDATE]]></default>
gorkaion@1788
    22
        <onCreateDefault/>
gorkaion@1788
    23
      </column>
gorkaion@1788
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    25
        <default/>
gorkaion@1788
    26
        <onCreateDefault/>
gorkaion@1788
    27
      </column>
gorkaion@1788
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@1788
    29
        <default><![CDATA[SYSDATE]]></default>
gorkaion@1788
    30
        <onCreateDefault/>
gorkaion@1788
    31
      </column>
gorkaion@1788
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    33
        <default/>
gorkaion@1788
    34
        <onCreateDefault/>
gorkaion@1788
    35
      </column>
gorkaion@1788
    36
      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
gorkaion@1788
    37
        <default/>
gorkaion@1788
    38
        <onCreateDefault/>
gorkaion@1788
    39
      </column>
gorkaion@1788
    40
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
gorkaion@1788
    41
        <default/>
gorkaion@1788
    42
        <onCreateDefault/>
gorkaion@1788
    43
      </column>
gorkaion@1788
    44
      <column name="HELP" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
gorkaion@1788
    45
        <default/>
gorkaion@1788
    46
        <onCreateDefault/>
gorkaion@1788
    47
      </column>
gorkaion@1788
    48
      <column name="T_INTEGER" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
gorkaion@1788
    49
        <default/>
gorkaion@1788
    50
        <onCreateDefault/>
gorkaion@1788
    51
      </column>
gorkaion@1788
    52
      <column name="T_NUMBER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@1788
    53
        <default><![CDATA[0]]></default>
gorkaion@1788
    54
        <onCreateDefault/>
gorkaion@1788
    55
      </column>
gorkaion@1788
    56
      <column name="T_DATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@1788
    57
        <default/>
gorkaion@1788
    58
        <onCreateDefault/>
gorkaion@1788
    59
      </column>
gorkaion@1788
    60
      <column name="T_DATETIME" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@1788
    61
        <default/>
gorkaion@1788
    62
        <onCreateDefault/>
gorkaion@1788
    63
      </column>
gorkaion@1788
    64
      <column name="C_UOM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    65
        <default/>
gorkaion@1788
    66
        <onCreateDefault/>
gorkaion@1788
    67
      </column>
gorkaion@1788
    68
      <column name="T_QTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@1788
    69
        <default><![CDATA[0]]></default>
gorkaion@1788
    70
        <onCreateDefault/>
gorkaion@1788
    71
      </column>
gorkaion@1788
    72
      <column name="C_CURRENCY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    73
        <default/>
gorkaion@1788
    74
        <onCreateDefault/>
gorkaion@1788
    75
      </column>
gorkaion@1788
    76
      <column name="T_AMOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@1788
    77
        <default><![CDATA[0]]></default>
gorkaion@1788
    78
        <onCreateDefault/>
gorkaion@1788
    79
      </column>
gorkaion@1788
    80
      <column name="C_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    81
        <default/>
gorkaion@1788
    82
        <onCreateDefault/>
gorkaion@1788
    83
      </column>
gorkaion@1788
    84
      <column name="ACCOUNT_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    85
        <default/>
gorkaion@1788
    86
        <onCreateDefault/>
gorkaion@1788
    87
      </column>
gorkaion@1788
    88
      <column name="M_PRODUCT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    89
        <default/>
gorkaion@1788
    90
        <onCreateDefault/>
gorkaion@1788
    91
      </column>
gorkaion@1788
    92
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    93
        <default/>
gorkaion@1788
    94
        <onCreateDefault/>
gorkaion@1788
    95
      </column>
gorkaion@1788
    96
      <column name="M_LOCATOR_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
    97
        <default/>
gorkaion@1788
    98
        <onCreateDefault/>
gorkaion@1788
    99
      </column>
gorkaion@1788
   100
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
gorkaion@1788
   101
        <default/>
gorkaion@1788
   102
        <onCreateDefault/>
gorkaion@1788
   103
      </column>
gorkaion@1788
   104
      <column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
gorkaion@1788
   105
        <default><![CDATA[N]]></default>
gorkaion@1788
   106
        <onCreateDefault/>
gorkaion@1788
   107
      </column>
gorkaion@1788
   108
      <column name="C_DEBT_PAYMENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@1788
   109
        <default/>
gorkaion@1788
   110
        <onCreateDefault/>
gorkaion@1788
   111
      </column>
asier@5551
   112
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="AD_TEST_ACCOUNT_ACCT">
asier@5551
   113
        <reference local="ACCOUNT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   114
      </foreign-key>
asier@5551
   115
      <foreign-key foreignTable="AD_CLIENT" name="AD_TEST_AD_CLIENT">
gorkaion@1788
   116
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
gorkaion@1788
   117
      </foreign-key>
asier@5551
   118
      <foreign-key foreignTable="AD_ORG" name="AD_TEST_AD_ORG">
gorkaion@1788
   119
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
gorkaion@1788
   120
      </foreign-key>
asier@5551
   121
      <foreign-key foreignTable="C_BPARTNER" name="AD_TEST_C_BPARTNER">
gorkaion@1788
   122
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
gorkaion@1788
   123
      </foreign-key>
asier@5551
   124
      <foreign-key foreignTable="C_CURRENCY" name="AD_TEST_C_CURRENCY">
gorkaion@1788
   125
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
gorkaion@1788
   126
      </foreign-key>
asier@5551
   127
      <foreign-key foreignTable="C_DEBT_PAYMENT" name="AD_TEST_C_DEBT_PAYMENT">
gorkaion@1788
   128
        <reference local="C_DEBT_PAYMENT_ID" foreign="C_DEBT_PAYMENT_ID"/>
gorkaion@1788
   129
      </foreign-key>
asier@5551
   130
      <foreign-key foreignTable="C_LOCATION" name="AD_TEST_C_LOCATION">
gorkaion@1788
   131
        <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
gorkaion@1788
   132
      </foreign-key>
asier@5551
   133
      <foreign-key foreignTable="C_UOM" name="AD_TEST_C_UOM">
gorkaion@1788
   134
        <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
gorkaion@1788
   135
      </foreign-key>
asier@5551
   136
      <foreign-key foreignTable="M_LOCATOR" name="AD_TEST_M_LOCATOR">
gorkaion@1788
   137
        <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
gorkaion@1788
   138
      </foreign-key>
asier@5551
   139
      <foreign-key foreignTable="M_PRODUCT" name="AD_TEST_M_PRODUCT">
gorkaion@1788
   140
        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
gorkaion@1788
   141
      </foreign-key>
gorkaion@1788
   142
    </table>
gorkaion@1788
   143
  </database>