src-db/database/model/tables/C_PROJECT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 6874 2874fe456c25
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 C_PROJECT">
carlos@0
     3
    <table name="C_PROJECT" primaryKey="C_PROJECT_KEY">
juanpablo@1605
     4
      <column name="C_PROJECT_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="NOTE" 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="ISSUMMARY" 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="AD_USER_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_BPARTNER_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_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="POREFERENCE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="C_PAYMENTTERM_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="C_CURRENCY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="CREATETEMPPRICELIST" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[Y]]></default>
juanpablo@1589
    82
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
antonio@735
    83
      </column>
juanpablo@1605
    84
      <column name="M_PRICELIST_VERSION_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="C_CAMPAIGN_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="ISCOMMITMENT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    93
        <default><![CDATA[Y]]></default>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="PLANNEDAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    97
        <default><![CDATA[0]]></default>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="PLANNEDQTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   101
        <default><![CDATA[0]]></default>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="PLANNEDMARGINAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   105
        <default><![CDATA[0]]></default>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="COMMITTEDAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   109
        <default><![CDATA[0]]></default>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="DATECONTRACT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="DATEFINISH" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="GENERATETO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="PROCESSED" 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>
juanpablo@1605
   128
      <column name="SALESREP_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
antonio@735
   132
      <column name="COPYFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="C_PROJECTTYPE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
antonio@735
   140
      <column name="COMMITTEDQTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   141
        <default><![CDATA[0]]></default>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="INVOICEDAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   145
        <default><![CDATA[0]]></default>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
antonio@735
   148
      <column name="INVOICEDQTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   149
        <default><![CDATA[0]]></default>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
antonio@735
   152
      <column name="PROJECTBALANCEAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   153
        <default><![CDATA[0]]></default>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
juanpablo@1605
   156
      <column name="C_PHASE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   157
        <default/>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
juanpablo@1605
   160
      <column name="C_PROJECTPHASE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   161
        <default/>
antonio@735
   162
        <onCreateDefault/>
antonio@735
   163
      </column>
antonio@735
   164
      <column name="ISCOMMITCEILING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   165
        <default><![CDATA[N]]></default>
antonio@735
   166
        <onCreateDefault/>
antonio@735
   167
      </column>
juanpablo@1605
   168
      <column name="M_WAREHOUSE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   169
        <default/>
antonio@735
   170
        <onCreateDefault/>
antonio@735
   171
      </column>
asier@2586
   172
      <column name="PROJECTCATEGORY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   173
        <default><![CDATA[N]]></default>
antonio@735
   174
        <onCreateDefault/>
antonio@735
   175
      </column>
antonio@735
   176
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   177
        <default/>
antonio@735
   178
        <onCreateDefault/>
antonio@735
   179
      </column>
asier@2586
   180
      <column name="PUBLICPRIVATE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   181
        <default/>
antonio@735
   182
        <onCreateDefault/>
antonio@735
   183
      </column>
asier@2586
   184
      <column name="PROJECTSTATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   185
        <default/>
antonio@735
   186
        <onCreateDefault/>
antonio@735
   187
      </column>
asier@2586
   188
      <column name="PROJECTKIND" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   189
        <default/>
antonio@735
   190
        <onCreateDefault/>
antonio@735
   191
      </column>
juanpablo@1605
   192
      <column name="BILLTO_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   193
        <default/>
antonio@735
   194
        <onCreateDefault/>
antonio@735
   195
      </column>
asier@2586
   196
      <column name="PROJECTPHASE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   197
        <default/>
antonio@735
   198
        <onCreateDefault/>
antonio@735
   199
      </column>
antonio@735
   200
      <column name="GENERATEORDER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   201
        <default><![CDATA[N]]></default>
antonio@735
   202
        <onCreateDefault/>
antonio@735
   203
      </column>
asier@2586
   204
      <column name="CHANGEPROJECTSTATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   205
        <default><![CDATA[N]]></default>
antonio@735
   206
        <onCreateDefault/>
antonio@735
   207
      </column>
juanpablo@1605
   208
      <column name="C_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   209
        <default/>
antonio@735
   210
        <onCreateDefault/>
antonio@735
   211
      </column>
juanpablo@1605
   212
      <column name="M_PRICELIST_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   213
        <default/>
antonio@735
   214
        <onCreateDefault/>
antonio@735
   215
      </column>
asier@2586
   216
      <column name="PAYMENTRULE" 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="INVOICE_TOPROJECT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   221
        <default><![CDATA[N]]></default>
antonio@735
   222
        <onCreateDefault/>
antonio@735
   223
      </column>
antonio@735
   224
      <column name="PLANNEDPOAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   225
        <default><![CDATA[0]]></default>
antonio@735
   226
        <onCreateDefault/>
antonio@735
   227
      </column>
antonio@735
   228
      <column name="LASTPLANNEDPROPOSALDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   229
        <default/>
antonio@735
   230
        <onCreateDefault/>
antonio@735
   231
      </column>
antonio@735
   232
      <column name="DOCUMENT_COPIES" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   233
        <default/>
antonio@735
   234
        <onCreateDefault/>
antonio@735
   235
      </column>
antonio@735
   236
      <column name="ACCOUNTNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   237
        <default/>
antonio@735
   238
        <onCreateDefault/>
antonio@735
   239
      </column>
antonio@735
   240
      <column name="EXPEXPENSES" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   241
        <default/>
antonio@735
   242
        <onCreateDefault/>
antonio@735
   243
      </column>
antonio@735
   244
      <column name="EXPMARGIN" 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="EXPREINVOICING" 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="RESPONSIBLE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   253
        <default/>
antonio@735
   254
        <onCreateDefault/>
antonio@735
   255
      </column>
antonio@735
   256
      <column name="SERVCOST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   257
        <default/>
antonio@735
   258
        <onCreateDefault/>
antonio@735
   259
      </column>
antonio@735
   260
      <column name="SERVMARGIN" 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="SERVREVENUE" 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="SETPROJECTTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   269
        <default/>
antonio@735
   270
        <onCreateDefault/>
antonio@735
   271
      </column>
rafael@1824
   272
      <column name="STARTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
rafael@1824
   273
        <default/>
rafael@1824
   274
        <onCreateDefault/>
rafael@1824
   275
      </column>
adrianromero@6539
   276
      <column name="SERVSERCOST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
adrianromero@6539
   277
        <default/>
adrianromero@6539
   278
        <onCreateDefault><![CDATA[SERVCOST]]></onCreateDefault>
adrianromero@6539
   279
      </column>
adrianromero@6539
   280
      <column name="SERVOUTCOST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
adrianromero@6539
   281
        <default/>
adrianromero@6539
   282
        <onCreateDefault><![CDATA[0]]></onCreateDefault>
adrianromero@6539
   283
      </column>
gorkaion@6874
   284
      <column name="FIN_PAYMENTMETHOD_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   285
        <default/>
gorkaion@6874
   286
        <onCreateDefault/>
gorkaion@6874
   287
      </column>
antonio@410
   288
      <foreign-key foreignTable="C_LOCATION" name="C_LOCATION_PROJECT">
antonio@410
   289
        <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
antonio@410
   290
      </foreign-key>
asier@5551
   291
      <foreign-key foreignTable="AD_CLIENT" name="C_PROJECT_AD_CLIENT">
asier@5551
   292
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@5551
   293
      </foreign-key>
asier@5551
   294
      <foreign-key foreignTable="AD_ORG" name="C_PROJECT_AD_ORG">
asier@5551
   295
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   296
      </foreign-key>
asier@5551
   297
      <foreign-key foreignTable="AD_USER" name="C_PROJECT_AD_USER" onDelete="setnull">
asier@5551
   298
        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
asier@5551
   299
      </foreign-key>
asier@5551
   300
      <foreign-key foreignTable="C_BPARTNER_LOCATION" name="C_PROJECT_BILLTO">
asier@5551
   301
        <reference local="BILLTO_ID" foreign="C_BPARTNER_LOCATION_ID"/>
asier@5551
   302
      </foreign-key>
asier@5551
   303
      <foreign-key foreignTable="C_BPARTNER" name="C_PROJECT_C_BPARTNER">
carlos@0
   304
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
carlos@0
   305
      </foreign-key>
asier@5551
   306
      <foreign-key foreignTable="C_BPARTNER_LOCATION" name="C_PROJECT_C_BPARTNER_LOCATION">
carlos@0
   307
        <reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
carlos@0
   308
      </foreign-key>
asier@5551
   309
      <foreign-key foreignTable="C_CAMPAIGN" name="C_PROJECT_C_CAMPAIGN">
carlos@0
   310
        <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
carlos@0
   311
      </foreign-key>
asier@5551
   312
      <foreign-key foreignTable="C_CURRENCY" name="C_PROJECT_C_CURRENCY">
carlos@0
   313
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
carlos@0
   314
      </foreign-key>
asier@5551
   315
      <foreign-key foreignTable="C_PAYMENTTERM" name="C_PROJECT_C_PAYMENTTERM">
carlos@0
   316
        <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
carlos@0
   317
      </foreign-key>
asier@5551
   318
      <foreign-key foreignTable="C_PHASE" name="C_PROJECT_C_PHASE">
carlos@0
   319
        <reference local="C_PHASE_ID" foreign="C_PHASE_ID"/>
carlos@0
   320
      </foreign-key>
asier@5551
   321
      <foreign-key foreignTable="C_PROJECTPHASE" name="C_PROJECT_C_PROJECTPHASE">
rafael@597
   322
        <reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
rafael@597
   323
      </foreign-key>
asier@5551
   324
      <foreign-key foreignTable="C_PROJECTTYPE" name="C_PROJECT_C_PROJECTTYPE">
carlos@0
   325
        <reference local="C_PROJECTTYPE_ID" foreign="C_PROJECTTYPE_ID"/>
carlos@0
   326
      </foreign-key>
gorkaion@6874
   327
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="C_PROJECT_FIN_PAYMENTMETHOD">
gorkaion@6874
   328
        <reference local="FIN_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
gorkaion@6874
   329
      </foreign-key>
asier@5551
   330
      <foreign-key foreignTable="M_PRICELIST" name="C_PROJECT_M_PRICELIST">
asier@5551
   331
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
asier@5551
   332
      </foreign-key>
asier@5551
   333
      <foreign-key foreignTable="M_PRICELIST_VERSION" name="C_PROJECT_M_PRICELIST_VERSION">
carlos@0
   334
        <reference local="M_PRICELIST_VERSION_ID" foreign="M_PRICELIST_VERSION_ID"/>
carlos@0
   335
      </foreign-key>
asier@5551
   336
      <foreign-key foreignTable="M_WAREHOUSE" name="C_PROJECT_M_WAREHOUSE">
carlos@0
   337
        <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
adrian@94
   338
      </foreign-key>
asier@5551
   339
      <foreign-key foreignTable="C_BPARTNER" name="C_PROJECT_RESPONSIBLE">
asier@5551
   340
        <reference local="RESPONSIBLE_ID" foreign="C_BPARTNER_ID"/>
adrian@170
   341
      </foreign-key>
asier@5551
   342
      <foreign-key foreignTable="AD_USER" name="C_PROJECT_SALESREP">
asier@5551
   343
        <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
adrian@170
   344
      </foreign-key>
adrian@94
   345
      <index name="C_PROJECT_VALUE" unique="true">
adrian@94
   346
        <index-column name="AD_CLIENT_ID"/>
adrian@94
   347
        <index-column name="VALUE"/>
carlos@0
   348
      </index>
carlos@0
   349
    </table>
adrian@94
   350
  </database>