src-db/database/model/tables/AD_CLIENTINFO.xml
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 03 Sep 2008 17:55:37 +0000
changeset 1605 8a0fe0193bef
parent 799 fef2c5e2feb7
child 4917 d5b8af2c3efc
permissions -rw-r--r--
Merge r2.5x intro trunk
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE AD_CLIENTINFO">
carlos@0
     3
    <table name="AD_CLIENTINFO" primaryKey="AD_CLIENTINFO_KEY">
juanpablo@1605
     4
      <column name="AD_CLIENT_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_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
antonio@735
    12
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    13
        <default><![CDATA[Y]]></default>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
juanpablo@1605
    20
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    21
        <default/>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
antonio@735
    24
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    25
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
juanpablo@1605
    28
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    29
        <default/>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
antonio@735
    32
      <column name="ISDISCOUNTLINEAMT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    33
        <default><![CDATA[Y]]></default>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
juanpablo@1605
    36
      <column name="C_CALENDAR_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="C_ACCTSCHEMA1_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="ACCT2_ACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    45
        <default><![CDATA[N]]></default>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
juanpablo@1605
    48
      <column name="C_ACCTSCHEMA2_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="ACCT3_ACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    53
        <default><![CDATA[N]]></default>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
juanpablo@1605
    56
      <column name="C_ACCTSCHEMA3_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
juanpablo@1605
    60
      <column name="C_UOM_VOLUME_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="C_UOM_WEIGHT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
juanpablo@1605
    68
      <column name="C_UOM_LENGTH_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="C_UOM_TIME_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="AD_TREE_MENU_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
juanpablo@1605
    80
      <column name="AD_TREE_ORG_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
juanpablo@1605
    84
      <column name="AD_TREE_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
juanpablo@1605
    88
      <column name="AD_TREE_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
juanpablo@1605
    92
      <column name="AD_TREE_SALESREGION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
juanpablo@1605
    96
      <column name="AD_TREE_PRODUCT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
juanpablo@1605
   100
      <column name="M_PRODUCTFREIGHT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
juanpablo@1605
   104
      <column name="C_BPARTNERCASHTRX_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
juanpablo@1605
   108
      <column name="M_PRICELIST_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="ALLOWNEGATIVESTOCK" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   113
        <default><![CDATA[Y]]></default>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="CHECKORDERORG" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   117
        <default><![CDATA[Y]]></default>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="CHECKINOUTORG" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   121
        <default><![CDATA[Y]]></default>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="GROUPACCTINVLINES" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   125
        <default><![CDATA[N]]></default>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
antonio@410
   128
      <foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_CLIENTINFO">
antonio@410
   129
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
antonio@410
   130
      </foreign-key>
carlos@0
   131
      <foreign-key foreignTable="AD_ORG" name="ADORG_ADCLIENTINFO">
carlos@0
   132
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
   133
      </foreign-key>
carlos@0
   134
      <foreign-key foreignTable="AD_TREE" name="ADTREEBPARTNER_ADCLIENTINFO">
carlos@0
   135
        <reference local="AD_TREE_BPARTNER_ID" foreign="AD_TREE_ID"/>
carlos@0
   136
      </foreign-key>
carlos@0
   137
      <foreign-key foreignTable="AD_TREE" name="ADTREEMENU_ADCLIENTINFO">
carlos@0
   138
        <reference local="AD_TREE_MENU_ID" foreign="AD_TREE_ID"/>
carlos@0
   139
      </foreign-key>
carlos@0
   140
      <foreign-key foreignTable="AD_TREE" name="ADTREEORG_ADCLIENTINFO">
carlos@0
   141
        <reference local="AD_TREE_ORG_ID" foreign="AD_TREE_ID"/>
carlos@0
   142
      </foreign-key>
adrian@170
   143
      <foreign-key foreignTable="AD_TREE" name="ADTREEPRODUCT_ADCLIENTINFO">
adrian@170
   144
        <reference local="AD_TREE_PRODUCT_ID" foreign="AD_TREE_ID"/>
adrian@170
   145
      </foreign-key>
carlos@0
   146
      <foreign-key foreignTable="AD_TREE" name="ADTREEPROJECT_ADCLIENTINFO">
carlos@0
   147
        <reference local="AD_TREE_PROJECT_ID" foreign="AD_TREE_ID"/>
carlos@0
   148
      </foreign-key>
adrian@170
   149
      <foreign-key foreignTable="AD_TREE" name="ADTREESALESREG_ADCLIENTINFO">
adrian@170
   150
        <reference local="AD_TREE_SALESREGION_ID" foreign="AD_TREE_ID"/>
carlos@0
   151
      </foreign-key>
antonio@410
   152
      <foreign-key foreignTable="C_UOM" name="C_UOM_LENGTH_AD_CLIENTINFO">
antonio@410
   153
        <reference local="C_UOM_LENGTH_ID" foreign="C_UOM_ID"/>
antonio@410
   154
      </foreign-key>
antonio@410
   155
      <foreign-key foreignTable="C_UOM" name="C_UOM_TIME_AD_CLIENTINFO">
antonio@410
   156
        <reference local="C_UOM_TIME_ID" foreign="C_UOM_ID"/>
antonio@410
   157
      </foreign-key>
antonio@410
   158
      <foreign-key foreignTable="C_UOM" name="C_UOM_VOLUME_AD_CLIENTINFO">
antonio@410
   159
        <reference local="C_UOM_VOLUME_ID" foreign="C_UOM_ID"/>
antonio@410
   160
      </foreign-key>
antonio@410
   161
      <foreign-key foreignTable="C_UOM" name="C_UOM_WEIGHT_AD_CLIENTINFO">
antonio@410
   162
        <reference local="C_UOM_WEIGHT_ID" foreign="C_UOM_ID"/>
gorkaion@238
   163
      </foreign-key>
adrian@170
   164
      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA1_ADCLIENTINFO">
adrian@170
   165
        <reference local="C_ACCTSCHEMA1_ID" foreign="C_ACCTSCHEMA_ID"/>
carlos@0
   166
      </foreign-key>
adrian@94
   167
      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA2_ADCLIENTINFO" onDelete="setnull">
carlos@0
   168
        <reference local="C_ACCTSCHEMA2_ID" foreign="C_ACCTSCHEMA_ID"/>
carlos@0
   169
      </foreign-key>
adrian@170
   170
      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA3_ADCLIENTINFO" onDelete="setnull">
adrian@170
   171
        <reference local="C_ACCTSCHEMA3_ID" foreign="C_ACCTSCHEMA_ID"/>
carlos@0
   172
      </foreign-key>
carlos@0
   173
      <foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_ADCLIENTINFO">
carlos@0
   174
        <reference local="C_BPARTNERCASHTRX_ID" foreign="C_BPARTNER_ID"/>
carlos@0
   175
      </foreign-key>
carlos@0
   176
      <foreign-key foreignTable="C_CALENDAR" name="CCALENDAR_ADCLIENTINFO">
carlos@0
   177
        <reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
carlos@0
   178
      </foreign-key>
carlos@0
   179
      <foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_ADCLIENTINFO">
carlos@0
   180
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
carlos@0
   181
      </foreign-key>
carlos@0
   182
      <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_ADCLIENTINFO">
carlos@0
   183
        <reference local="M_PRODUCTFREIGHT_ID" foreign="M_PRODUCT_ID"/>
carlos@0
   184
      </foreign-key>
ivan@258
   185
      <check name="ADCLIENTINFO_ACCT2ACTIVE_CHECK"><![CDATA[ACCT2_ACTIVE IN ('Y', 'N')]]></check>
ivan@258
   186
      <check name="ADCLIENTINFO_ACCT3ACTIVE_CHECK"><![CDATA[ACCT3_ACTIVE IN ('Y', 'N')]]></check>
ivan@258
   187
      <check name="ADCLIENTINFO_ANEGATSTOCK_CHECK"><![CDATA[ALLOWNEGATIVESTOCK IN ('Y', 'N')]]></check>
ivan@258
   188
      <check name="ADCLIENTINFO_INOUTORG_CHECK"><![CDATA[CHECKINOUTORG IN ('Y', 'N')]]></check>
ivan@258
   189
      <check name="ADCLIENTINFO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
ivan@258
   190
      <check name="ADCLIENTINFO_ISDISLNAMT_CHECK"><![CDATA[ISDISCOUNTLINEAMT IN ('Y', 'N')]]></check>
ivan@258
   191
      <check name="ADCLIENTINFO_ORDERORG_CHECK"><![CDATA[CHECKORDERORG IN ('Y', 'N')]]></check>
carlos@0
   192
    </table>
adrian@94
   193
  </database>