src-db/database/model/tables/M_PRODUCT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 6094 de65edc16ba8
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 M_PRODUCT">
carlos@0
     3
    <table name="M_PRODUCT" primaryKey="M_PRODUCT_KEY">
juanpablo@1605
     4
      <column name="M_PRODUCT_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>
antonio@735
    36
      <column name="VALUE" primaryKey="false" required="true" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="DOCUMENTNOTE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="HELP" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
phillip@2238
    56
      <column name="UPC" primaryKey="false" required="false" type="NVARCHAR" size="30" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="SKU" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="C_UOM_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
juanpablo@1605
    68
      <column name="SALESREP_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    73
        <default><![CDATA[N]]></default>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="ISSTOCKED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    77
        <default><![CDATA[Y]]></default>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ISPURCHASED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[Y]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="ISSOLD" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    85
        <default><![CDATA[Y]]></default>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="ISBOM" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    89
        <default><![CDATA[N]]></default>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="ISINVOICEPRINTDETAILS" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    93
        <default><![CDATA[N]]></default>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="ISPICKLISTPRINTDETAILS" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    97
        <default><![CDATA[N]]></default>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="ISVERIFIED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   101
        <default><![CDATA[N]]></default>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
juanpablo@1605
   104
      <column name="M_PRODUCT_CATEGORY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="CLASSIFICATION" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="VOLUME" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   113
        <default><![CDATA[0]]></default>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="WEIGHT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   117
        <default><![CDATA[0]]></default>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="SHELFWIDTH" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="SHELFHEIGHT" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
antonio@735
   128
      <column name="SHELFDEPTH" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
antonio@735
   132
      <column name="UNITSPERPALLET" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="C_TAXCATEGORY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
juanpablo@1605
   140
      <column name="S_RESOURCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="DISCONTINUED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   145
        <default><![CDATA[N]]></default>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
antonio@735
   148
      <column name="DISCONTINUEDBY" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   149
        <default/>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
antonio@735
   152
      <column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   153
        <default><![CDATA[N]]></default>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
juanpablo@1605
   156
      <column name="S_EXPENSETYPE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   157
        <default/>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
asier@2586
   160
      <column name="PRODUCTTYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   161
        <default><![CDATA[I]]></default>
antonio@735
   162
        <onCreateDefault/>
antonio@735
   163
      </column>
antonio@735
   164
      <column name="IMAGEURL" primaryKey="false" required="false" type="NVARCHAR" size="120" autoIncrement="false">
antonio@735
   165
        <default/>
antonio@735
   166
        <onCreateDefault/>
antonio@735
   167
      </column>
antonio@735
   168
      <column name="DESCRIPTIONURL" primaryKey="false" required="false" type="NVARCHAR" size="120" autoIncrement="false">
antonio@735
   169
        <default/>
antonio@735
   170
        <onCreateDefault/>
antonio@735
   171
      </column>
antonio@735
   172
      <column name="GUARANTEEDAYS" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   173
        <default/>
antonio@735
   174
        <onCreateDefault/>
antonio@735
   175
      </column>
antonio@735
   176
      <column name="VERSIONNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   177
        <default/>
antonio@735
   178
        <onCreateDefault/>
antonio@735
   179
      </column>
juanpablo@1605
   180
      <column name="M_ATTRIBUTESET_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   181
        <default/>
antonio@735
   182
        <onCreateDefault/>
antonio@735
   183
      </column>
juanpablo@1605
   184
      <column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   185
        <default/>
antonio@735
   186
        <onCreateDefault/>
antonio@735
   187
      </column>
antonio@735
   188
      <column name="DOWNLOADURL" primaryKey="false" required="false" type="NVARCHAR" size="120" autoIncrement="false">
antonio@735
   189
        <default/>
antonio@735
   190
        <onCreateDefault/>
antonio@735
   191
      </column>
juanpablo@1605
   192
      <column name="M_FREIGHTCATEGORY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   193
        <default/>
antonio@735
   194
        <onCreateDefault/>
antonio@735
   195
      </column>
juanpablo@1605
   196
      <column name="M_LOCATOR_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   197
        <default/>
antonio@735
   198
        <onCreateDefault/>
antonio@735
   199
      </column>
juanpablo@1605
   200
      <column name="AD_IMAGE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   201
        <default/>
antonio@735
   202
        <onCreateDefault/>
antonio@735
   203
      </column>
juanpablo@1605
   204
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   205
        <default/>
antonio@735
   206
        <onCreateDefault/>
antonio@735
   207
      </column>
antonio@735
   208
      <column name="ISPRICEPRINTED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   209
        <default/>
antonio@735
   210
        <onCreateDefault/>
antonio@735
   211
      </column>
antonio@735
   212
      <column name="NAME2" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
   213
        <default/>
antonio@735
   214
        <onCreateDefault/>
antonio@735
   215
      </column>
asier@2586
   216
      <column name="COSTTYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   217
        <default/>
antonio@735
   218
        <onCreateDefault/>
antonio@735
   219
      </column>
antonio@735
   220
      <column name="COSTSTD" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   221
        <default/>
antonio@735
   222
        <onCreateDefault/>
antonio@735
   223
      </column>
antonio@735
   224
      <column name="STOCK_MIN" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   225
        <default/>
antonio@735
   226
        <onCreateDefault/>
antonio@735
   227
      </column>
antonio@735
   228
      <column name="ENFORCE_ATTRIBUTE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   229
        <default><![CDATA[N]]></default>
antonio@735
   230
        <onCreateDefault/>
antonio@735
   231
      </column>
antonio@735
   232
      <column name="CALCULATED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   233
        <default><![CDATA[N]]></default>
antonio@735
   234
        <onCreateDefault/>
antonio@735
   235
      </column>
juanpablo@1605
   236
      <column name="MA_PROCESSPLAN_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   237
        <default/>
antonio@735
   238
        <onCreateDefault/>
antonio@735
   239
      </column>
antonio@735
   240
      <column name="PRODUCTION" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   241
        <default><![CDATA[N]]></default>
antonio@735
   242
        <onCreateDefault/>
antonio@735
   243
      </column>
antonio@735
   244
      <column name="CAPACITY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   245
        <default/>
antonio@735
   246
        <onCreateDefault/>
antonio@735
   247
      </column>
antonio@735
   248
      <column name="DELAYMIN" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   249
        <default/>
antonio@735
   250
        <onCreateDefault/>
antonio@735
   251
      </column>
juanpablo@1605
   252
      <column name="MRP_PLANNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   253
        <default/>
antonio@735
   254
        <onCreateDefault/>
antonio@735
   255
      </column>
juanpablo@1605
   256
      <column name="MRP_PLANNINGMETHOD_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   257
        <default/>
antonio@735
   258
        <onCreateDefault/>
antonio@735
   259
      </column>
antonio@735
   260
      <column name="QTYMAX" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   261
        <default/>
antonio@735
   262
        <onCreateDefault/>
antonio@735
   263
      </column>
antonio@735
   264
      <column name="QTYMIN" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   265
        <default/>
antonio@735
   266
        <onCreateDefault/>
antonio@735
   267
      </column>
antonio@735
   268
      <column name="QTYSTD" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   269
        <default/>
antonio@735
   270
        <onCreateDefault/>
antonio@735
   271
      </column>
antonio@735
   272
      <column name="QTYTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   273
        <default/>
antonio@735
   274
        <onCreateDefault/>
antonio@735
   275
      </column>
antonio@735
   276
      <column name="STOCKMIN" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   277
        <default/>
antonio@735
   278
        <onCreateDefault/>
antonio@735
   279
      </column>
rafael@6084
   280
      <column name="ATTRSETVALUETYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
rafael@6084
   281
        <default/>
rafael@6094
   282
        <onCreateDefault><![CDATA[CASE WHEN M_ATTRIBUTESETINSTANCE_ID IS NOT NULL THEN 'D' ELSE NULL END]]></onCreateDefault>
rafael@6084
   283
      </column>
antonio@410
   284
      <foreign-key foreignTable="AD_ORG" name="AD_ORG_MPRODUCT">
antonio@410
   285
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
antonio@410
   286
      </foreign-key>
asier@5551
   287
      <foreign-key foreignTable="AD_CLIENT" name="M_PRODUCT_AD_CLIENT">
carlos@0
   288
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   289
      </foreign-key>
asier@5551
   290
      <foreign-key foreignTable="AD_IMAGE" name="M_PRODUCT_AD_IMAGE">
carlos@0
   291
        <reference local="AD_IMAGE_ID" foreign="AD_IMAGE_ID"/>
carlos@0
   292
      </foreign-key>
martin@2771
   293
      <foreign-key foreignTable="AD_USER" name="M_PRODUCT_AD_USER">
martin@2771
   294
        <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
martin@2771
   295
      </foreign-key>
asier@5551
   296
      <foreign-key foreignTable="C_BPARTNER" name="M_PRODUCT_C_BPARTNER">
asier@5551
   297
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
asier@5551
   298
      </foreign-key>
asier@5551
   299
      <foreign-key foreignTable="C_TAXCATEGORY" name="M_PRODUCT_C_TAXCATEGORY">
asier@5551
   300
        <reference local="C_TAXCATEGORY_ID" foreign="C_TAXCATEGORY_ID"/>
asier@5551
   301
      </foreign-key>
asier@5551
   302
      <foreign-key foreignTable="C_UOM" name="M_PRODUCT_C_UOM">
asier@5551
   303
        <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
asier@5551
   304
      </foreign-key>
asier@5551
   305
      <foreign-key foreignTable="M_ATTRIBUTESET" name="M_PRODUCT_M_ATTRIBUTESET" onDelete="cascade">
asier@5551
   306
        <reference local="M_ATTRIBUTESET_ID" foreign="M_ATTRIBUTESET_ID"/>
asier@5551
   307
      </foreign-key>
asier@5551
   308
      <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="M_PRODUCT_M_ATTRIBUTESETINSTAN">
asier@5551
   309
        <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
asier@5551
   310
      </foreign-key>
asier@5551
   311
      <foreign-key foreignTable="M_FREIGHTCATEGORY" name="M_PRODUCT_M_FREIGHTCATEGORY">
asier@5551
   312
        <reference local="M_FREIGHTCATEGORY_ID" foreign="M_FREIGHTCATEGORY_ID"/>
asier@5551
   313
      </foreign-key>
asier@5551
   314
      <foreign-key foreignTable="M_LOCATOR" name="M_PRODUCT_M_LOCATOR">
asier@5551
   315
        <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
asier@5551
   316
      </foreign-key>
asier@5551
   317
      <foreign-key foreignTable="M_PRODUCT_CATEGORY" name="M_PRODUCT_M_PRODUCT_CATEGORY">
asier@5551
   318
        <reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
asier@5551
   319
      </foreign-key>
martin@2771
   320
      <foreign-key foreignTable="MRP_PLANNER" name="M_PRODUCT_MRP_PLANNER">
martin@2771
   321
        <reference local="MRP_PLANNER_ID" foreign="MRP_PLANNER_ID"/>
martin@2771
   322
      </foreign-key>
martin@2771
   323
      <foreign-key foreignTable="MRP_PLANNINGMETHOD" name="M_PRODUCT_MRP_PLANNINGMETHOD">
martin@2771
   324
        <reference local="MRP_PLANNINGMETHOD_ID" foreign="MRP_PLANNINGMETHOD_ID"/>
martin@2771
   325
      </foreign-key>
asier@5551
   326
      <foreign-key foreignTable="S_EXPENSETYPE" name="M_PRODUCT_S_EXPENSETYPE">
asier@5551
   327
        <reference local="S_EXPENSETYPE_ID" foreign="S_EXPENSETYPE_ID"/>
asier@5551
   328
      </foreign-key>
asier@5551
   329
      <foreign-key foreignTable="S_RESOURCE" name="M_PRODUCT_S_RESOURCE">
asier@5551
   330
        <reference local="S_RESOURCE_ID" foreign="S_RESOURCE_ID"/>
asier@5551
   331
      </foreign-key>
antonio@410
   332
      <foreign-key foreignTable="MA_PROCESSPLAN" name="MA_PROCESSPLAN_MPRODUCT">
antonio@410
   333
        <reference local="MA_PROCESSPLAN_ID" foreign="MA_PROCESSPLAN_ID"/>
antonio@410
   334
      </foreign-key>
adrian@170
   335
      <index name="M_PRODUCT_BPARTNER" unique="false">
adrian@170
   336
        <index-column name="C_BPARTNER_ID"/>
adrian@170
   337
      </index>
adrian@94
   338
      <index name="M_PRODUCT_NAME" unique="false">
carlos@0
   339
        <index-column name="NAME"/>
carlos@0
   340
      </index>
adrian@94
   341
      <index name="M_PRODUCT_PRODUCTCATEGORY" unique="false">
carlos@0
   342
        <index-column name="M_PRODUCT_CATEGORY_ID"/>
carlos@0
   343
      </index>
adrian@94
   344
      <index name="M_PRODUCT_UPC" unique="false">
carlos@0
   345
        <index-column name="UPC"/>
carlos@0
   346
      </index>
carlos@0
   347
      <unique name="M_PRODUCT_EXPENSETYPE">
carlos@0
   348
        <unique-column name="S_EXPENSETYPE_ID"/>
carlos@0
   349
      </unique>
carlos@0
   350
      <unique name="M_PRODUCT_RESOURCE">
carlos@0
   351
        <unique-column name="S_RESOURCE_ID"/>
carlos@0
   352
      </unique>
carlos@0
   353
      <unique name="M_PRODUCT_VALUE">
carlos@0
   354
        <unique-column name="AD_CLIENT_ID"/>
carlos@0
   355
        <unique-column name="VALUE"/>
carlos@0
   356
      </unique>
carlos@0
   357
    </table>
adrian@94
   358
  </database>