src-db/database/model/tables/C_BPARTNER.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_BPARTNER">
carlos@0
     3
    <table name="C_BPARTNER" primaryKey="C_BPARTNER_KEY">
juanpablo@1605
     4
      <column name="C_BPARTNER_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="NAME2" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" 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="C_BP_GROUP_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="ISONETIME" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    61
        <default><![CDATA[N]]></default>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="ISPROSPECT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    65
        <default><![CDATA[Y]]></default>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="ISVENDOR" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    69
        <default><![CDATA[N]]></default>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="ISCUSTOMER" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    73
        <default><![CDATA[Y]]></default>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="ISEMPLOYEE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    77
        <default><![CDATA[N]]></default>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ISSALESREP" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[N]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="REFERENCENO" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="DUNS" primaryKey="false" required="false" type="CHAR" size="11" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="URL" primaryKey="false" required="false" type="NVARCHAR" size="120" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="TAXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="ISTAXEXEMPT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   105
        <default><![CDATA[N]]></default>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
juanpablo@1605
   108
      <column name="C_INVOICESCHEDULE_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="RATING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="SALESVOLUME" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="NUMBEREMPLOYEES" 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="NAICS" primaryKey="false" required="false" type="CHAR" size="6" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
antonio@735
   128
      <column name="FIRSTSALE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
antonio@735
   132
      <column name="ACQUSITIONCOST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   133
        <default><![CDATA[0]]></default>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
antonio@735
   136
      <column name="POTENTIALLIFETIMEVALUE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   137
        <default><![CDATA[0]]></default>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
antonio@735
   140
      <column name="ACTUALLIFETIMEVALUE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   141
        <default><![CDATA[0]]></default>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="SHAREOFCUSTOMER" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
asier@2586
   148
      <column name="PAYMENTRULE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   149
        <default/>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
antonio@735
   152
      <column name="SO_CREDITLIMIT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   153
        <default><![CDATA[0]]></default>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
antonio@735
   156
      <column name="SO_CREDITUSED" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   157
        <default><![CDATA[0]]></default>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
juanpablo@1605
   160
      <column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   161
        <default/>
antonio@735
   162
        <onCreateDefault/>
antonio@735
   163
      </column>
juanpablo@1605
   164
      <column name="M_PRICELIST_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   165
        <default/>
antonio@735
   166
        <onCreateDefault/>
antonio@735
   167
      </column>
antonio@735
   168
      <column name="ISDISCOUNTPRINTED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   169
        <default><![CDATA[Y]]></default>
antonio@735
   170
        <onCreateDefault/>
antonio@735
   171
      </column>
antonio@735
   172
      <column name="SO_DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
   173
        <default/>
antonio@735
   174
        <onCreateDefault/>
antonio@735
   175
      </column>
antonio@735
   176
      <column name="POREFERENCE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   177
        <default/>
antonio@735
   178
        <onCreateDefault/>
antonio@735
   179
      </column>
asier@2586
   180
      <column name="PAYMENTRULEPO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   181
        <default/>
antonio@735
   182
        <onCreateDefault/>
antonio@735
   183
      </column>
juanpablo@1605
   184
      <column name="PO_PRICELIST_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   185
        <default/>
antonio@735
   186
        <onCreateDefault/>
antonio@735
   187
      </column>
juanpablo@1605
   188
      <column name="PO_PAYMENTTERM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   189
        <default/>
antonio@735
   190
        <onCreateDefault/>
antonio@735
   191
      </column>
antonio@735
   192
      <column name="DOCUMENTCOPIES" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   193
        <default/>
antonio@735
   194
        <onCreateDefault/>
antonio@735
   195
      </column>
juanpablo@1605
   196
      <column name="C_GREETING_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   197
        <default/>
antonio@735
   198
        <onCreateDefault/>
antonio@735
   199
      </column>
asier@2586
   200
      <column name="INVOICERULE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   201
        <default/>
antonio@735
   202
        <onCreateDefault/>
antonio@735
   203
      </column>
asier@2586
   204
      <column name="DELIVERYRULE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   205
        <default/>
antonio@735
   206
        <onCreateDefault/>
antonio@735
   207
      </column>
asier@2586
   208
      <column name="DELIVERYVIARULE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   209
        <default/>
antonio@735
   210
        <onCreateDefault/>
antonio@735
   211
      </column>
juanpablo@1605
   212
      <column name="SALESREP_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   213
        <default/>
antonio@735
   214
        <onCreateDefault/>
antonio@735
   215
      </column>
juanpablo@1605
   216
      <column name="BPARTNER_PARENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   217
        <default/>
antonio@735
   218
        <onCreateDefault/>
antonio@735
   219
      </column>
asier@2586
   220
      <column name="SOCREDITSTATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   221
        <default><![CDATA[O]]></default>
antonio@735
   222
        <onCreateDefault/>
antonio@735
   223
      </column>
juanpablo@1605
   224
      <column name="AD_FORCED_ORG_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   225
        <default/>
antonio@735
   226
        <onCreateDefault/>
antonio@735
   227
      </column>
antonio@735
   228
      <column name="SHOWPRICEINORDER" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   229
        <default><![CDATA[Y]]></default>
antonio@735
   230
        <onCreateDefault/>
antonio@735
   231
      </column>
asier@2586
   232
      <column name="INVOICEGROUPING" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   233
        <default/>
antonio@735
   234
        <onCreateDefault/>
antonio@735
   235
      </column>
antonio@735
   236
      <column name="FIXMONTHDAY" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   237
        <default/>
antonio@735
   238
        <onCreateDefault/>
antonio@735
   239
      </column>
antonio@735
   240
      <column name="FIXMONTHDAY2" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   241
        <default/>
antonio@735
   242
        <onCreateDefault/>
antonio@735
   243
      </column>
antonio@735
   244
      <column name="FIXMONTHDAY3" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   245
        <default/>
antonio@735
   246
        <onCreateDefault/>
antonio@735
   247
      </column>
antonio@735
   248
      <column name="ISWORKER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   249
        <default><![CDATA[N]]></default>
antonio@735
   250
        <onCreateDefault/>
antonio@735
   251
      </column>
antonio@735
   252
      <column name="UPC" primaryKey="false" required="false" type="NVARCHAR" size="30" autoIncrement="false">
antonio@735
   253
        <default/>
antonio@735
   254
        <onCreateDefault/>
antonio@735
   255
      </column>
juanpablo@1605
   256
      <column name="C_SALARY_CATEGORY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   257
        <default/>
antonio@735
   258
        <onCreateDefault/>
antonio@735
   259
      </column>
asier@2586
   260
      <column name="INVOICE_PRINTFORMAT" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   261
        <default/>
antonio@735
   262
        <onCreateDefault/>
antonio@735
   263
      </column>
antonio@735
   264
      <column name="LAST_DAYS" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   265
        <default/>
antonio@735
   266
        <onCreateDefault/>
antonio@735
   267
      </column>
juanpablo@1605
   268
      <column name="PO_BANKACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   269
        <default/>
antonio@735
   270
        <onCreateDefault/>
antonio@735
   271
      </column>
juanpablo@1605
   272
      <column name="PO_BP_TAXCATEGORY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   273
        <default/>
antonio@735
   274
        <onCreateDefault/>
antonio@735
   275
      </column>
antonio@735
   276
      <column name="PO_FIXMONTHDAY" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   277
        <default/>
antonio@735
   278
        <onCreateDefault/>
antonio@735
   279
      </column>
antonio@735
   280
      <column name="PO_FIXMONTHDAY2" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   281
        <default/>
antonio@735
   282
        <onCreateDefault/>
antonio@735
   283
      </column>
antonio@735
   284
      <column name="PO_FIXMONTHDAY3" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   285
        <default/>
antonio@735
   286
        <onCreateDefault/>
antonio@735
   287
      </column>
juanpablo@1605
   288
      <column name="SO_BANKACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   289
        <default/>
antonio@735
   290
        <onCreateDefault/>
antonio@735
   291
      </column>
juanpablo@1605
   292
      <column name="SO_BP_TAXCATEGORY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   293
        <default/>
antonio@735
   294
        <onCreateDefault/>
antonio@735
   295
      </column>
antonio@735
   296
      <column name="FISCALCODE" primaryKey="false" required="false" type="NVARCHAR" size="16" autoIncrement="false">
antonio@735
   297
        <default/>
antonio@735
   298
        <onCreateDefault/>
antonio@735
   299
      </column>
antonio@735
   300
      <column name="ISOFISCALCODE" primaryKey="false" required="false" type="NVARCHAR" size="2" autoIncrement="false">
antonio@735
   301
        <default/>
antonio@735
   302
        <onCreateDefault/>
antonio@735
   303
      </column>
rajagopal@6398
   304
      <column name="PO_C_INCOTERMS_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
rajagopal@6398
   305
        <default/>
rajagopal@6398
   306
        <onCreateDefault/>
rajagopal@6398
   307
      </column>
rajagopal@6398
   308
      <column name="SO_C_INCOTERMS_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
rajagopal@6398
   309
        <default/>
rajagopal@6398
   310
        <onCreateDefault/>
rajagopal@6398
   311
      </column>
gorkaion@6874
   312
      <column name="FIN_PAYMENTMETHOD_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   313
        <default/>
gorkaion@6874
   314
        <onCreateDefault/>
gorkaion@6874
   315
      </column>
gorkaion@6874
   316
      <column name="PO_PAYMENTMETHOD_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   317
        <default/>
gorkaion@6874
   318
        <onCreateDefault/>
gorkaion@6874
   319
      </column>
gorkaion@6874
   320
      <column name="FIN_FINANCIAL_ACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   321
        <default/>
gorkaion@6874
   322
        <onCreateDefault/>
gorkaion@6874
   323
      </column>
gorkaion@6874
   324
      <column name="PO_FINANCIAL_ACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   325
        <default/>
gorkaion@6874
   326
        <onCreateDefault/>
gorkaion@6874
   327
      </column>
antonio@410
   328
      <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_C_BUSPARTNER">
antonio@410
   329
        <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
antonio@410
   330
      </foreign-key>
asier@5551
   331
      <foreign-key foreignTable="AD_CLIENT" name="C_BPARTNER_AD_CLIENT">
carlos@0
   332
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   333
      </foreign-key>
asier@5551
   334
      <foreign-key foreignTable="AD_ORG" name="C_BPARTNER_AD_FORCED_ORG">
asier@5551
   335
        <reference local="AD_FORCED_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   336
      </foreign-key>
asier@5551
   337
      <foreign-key foreignTable="AD_ORG" name="C_BPARTNER_AD_ORG">
gorkaion@238
   338
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
gorkaion@238
   339
      </foreign-key>
asier@5551
   340
      <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_BPARTNER_PARENT">
asier@5551
   341
        <reference local="BPARTNER_PARENT_ID" foreign="C_BPARTNER_ID"/>
carlos@0
   342
      </foreign-key>
asier@5551
   343
      <foreign-key foreignTable="C_BP_GROUP" name="C_BPARTNER_C_BP_GROUP">
asier@5551
   344
        <reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
carlos@0
   345
      </foreign-key>
martin@2771
   346
      <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_C_BPARTNER">
martin@2771
   347
        <reference local="SALESREP_ID" foreign="C_BPARTNER_ID"/>
martin@2771
   348
      </foreign-key>
asier@5551
   349
      <foreign-key foreignTable="C_GREETING" name="C_BPARTNER_C_GREETING">
asier@5551
   350
        <reference local="C_GREETING_ID" foreign="C_GREETING_ID"/>
asier@5551
   351
      </foreign-key>
asier@5551
   352
      <foreign-key foreignTable="C_INVOICESCHEDULE" name="C_BPARTNER_C_INVOICESCHEDULE">
asier@5551
   353
        <reference local="C_INVOICESCHEDULE_ID" foreign="C_INVOICESCHEDULE_ID"/>
asier@5551
   354
      </foreign-key>
asier@5551
   355
      <foreign-key foreignTable="C_PAYMENTTERM" name="C_BPARTNER_C_PAYMENTTERM">
asier@5551
   356
        <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
asier@5551
   357
      </foreign-key>
gorkaion@6874
   358
      <foreign-key foreignTable="FIN_FINANCIAL_ACCOUNT" name="C_BPARTNER_FIN_FINACC">
gorkaion@6874
   359
        <reference local="FIN_FINANCIAL_ACCOUNT_ID" foreign="FIN_FINANCIAL_ACCOUNT_ID"/>
gorkaion@6874
   360
      </foreign-key>
gorkaion@6874
   361
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="C_BPARTNER_FIN_PAYMENTMETHOD">
gorkaion@6874
   362
        <reference local="FIN_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
gorkaion@6874
   363
      </foreign-key>
asier@5551
   364
      <foreign-key foreignTable="M_PRICELIST" name="C_BPARTNER_M_PRICELIST" onDelete="setnull">
asier@5551
   365
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
asier@5551
   366
      </foreign-key>
asier@5551
   367
      <foreign-key foreignTable="C_BANKACCOUNT" name="C_BPARTNER_PO_BANKACCOUNT">
asier@5551
   368
        <reference local="PO_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
asier@5551
   369
      </foreign-key>
asier@5551
   370
      <foreign-key foreignTable="C_BP_TAXCATEGORY" name="C_BPARTNER_PO_BP_TAXCATEGORY">
asier@5551
   371
        <reference local="PO_BP_TAXCATEGORY_ID" foreign="C_BP_TAXCATEGORY_ID"/>
asier@5551
   372
      </foreign-key>
gorkaion@6874
   373
      <foreign-key foreignTable="FIN_FINANCIAL_ACCOUNT" name="C_BPARTNER_PO_FINACC">
gorkaion@6874
   374
        <reference local="PO_FINANCIAL_ACCOUNT_ID" foreign="FIN_FINANCIAL_ACCOUNT_ID"/>
gorkaion@6874
   375
      </foreign-key>
gorkaion@6874
   376
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="C_BPARTNER_PO_PAYMENTMETHOD">
gorkaion@6874
   377
        <reference local="PO_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
gorkaion@6874
   378
      </foreign-key>
asier@5551
   379
      <foreign-key foreignTable="C_PAYMENTTERM" name="C_BPARTNER_PO_PAYMENTTERM">
asier@5551
   380
        <reference local="PO_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
asier@5551
   381
      </foreign-key>
asier@5551
   382
      <foreign-key foreignTable="M_PRICELIST" name="C_BPARTNER_PO_PRICELIST" onDelete="setnull">
asier@5551
   383
        <reference local="PO_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
asier@5551
   384
      </foreign-key>
asier@5551
   385
      <foreign-key foreignTable="C_BANKACCOUNT" name="C_BPARTNER_SO_BANKACCOUNT">
asier@5551
   386
        <reference local="SO_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
asier@5551
   387
      </foreign-key>
asier@5551
   388
      <foreign-key foreignTable="C_BP_TAXCATEGORY" name="C_BPARTNER_SO_BP_TAXCATEGORY">
asier@5551
   389
        <reference local="SO_BP_TAXCATEGORY_ID" foreign="C_BP_TAXCATEGORY_ID"/>
asier@5551
   390
      </foreign-key>
rajagopal@6398
   391
      <foreign-key foreignTable="C_INCOTERMS" name="C_INCOTERMS_CBPARTNER_PO">
rajagopal@6398
   392
        <reference local="PO_C_INCOTERMS_ID" foreign="C_INCOTERMS_ID"/>
rajagopal@6398
   393
      </foreign-key>
rajagopal@6398
   394
      <foreign-key foreignTable="C_INCOTERMS" name="C_INCOTERMS_CBPARTNER_SO">
rajagopal@6398
   395
        <reference local="SO_C_INCOTERMS_ID" foreign="C_INCOTERMS_ID"/>
rajagopal@6398
   396
      </foreign-key>
antonio@410
   397
      <foreign-key foreignTable="C_SALARY_CATEGORY" name="C_SALARY_CATEGORY_CBPARTNER">
antonio@410
   398
        <reference local="C_SALARY_CATEGORY_ID" foreign="C_SALARY_CATEGORY_ID"/>
antonio@410
   399
      </foreign-key>
adrian@94
   400
      <index name="C_BPARTNER_NAME" unique="false">
carlos@0
   401
        <index-column name="NAME"/>
carlos@0
   402
      </index>
adrian@94
   403
      <unique name="C_BPARTNER_VALUE">
adrian@94
   404
        <unique-column name="AD_CLIENT_ID"/>
adrian@94
   405
        <unique-column name="VALUE"/>
adrian@94
   406
      </unique>
carlos@0
   407
    </table>
adrian@94
   408
  </database>