src-db/database/model/tables/C_BPARTNER.xml
author Aaron Calero <aaron.calero@openbravo.com>
Thu, 22 Oct 2015 16:04:57 +0200
changeset 28628 c0c71c2626d6
parent 28627 46c65da90714
parent 27631 42a25d9e7504
child 28629 d677d6d0d6a5
permissions -rw-r--r--
[Product Services] Merged Services branch
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>
david@19193
   328
      <column name="CUSTOMER_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   329
        <default><![CDATA[N]]></default>
david@19193
   330
        <onCreateDefault/>
david@19193
   331
      </column>
david@19193
   332
      <column name="VENDOR_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   333
        <default><![CDATA[N]]></default>
david@19193
   334
        <onCreateDefault/>
david@19193
   335
      </column>
david@19193
   336
      <column name="SO_PAYMENT_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   337
        <default><![CDATA[N]]></default>
david@19193
   338
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
david@19193
   339
      </column>
david@19193
   340
      <column name="PO_PAYMENT_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   341
        <default><![CDATA[Y]]></default>
david@19193
   342
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   343
      </column>
david@19193
   344
      <column name="SO_INVOICE_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   345
        <default><![CDATA[Y]]></default>
david@19193
   346
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   347
      </column>
david@19193
   348
      <column name="PO_INVOICE_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   349
        <default><![CDATA[Y]]></default>
david@19193
   350
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   351
      </column>
david@19193
   352
      <column name="SO_ORDER_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   353
        <default><![CDATA[Y]]></default>
david@19193
   354
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   355
      </column>
david@19193
   356
      <column name="PO_ORDER_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   357
        <default><![CDATA[Y]]></default>
david@19193
   358
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   359
      </column>
david@19193
   360
      <column name="SO_GOODS_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   361
        <default><![CDATA[Y]]></default>
david@19193
   362
        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
david@19193
   363
      </column>
david@19193
   364
      <column name="PO_GOODS_BLOCKING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@19193
   365
        <default><![CDATA[N]]></default>
david@19193
   366
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
david@19193
   367
      </column>
victor@21513
   368
      <column name="ISCASHVAT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
victor@21513
   369
        <default><![CDATA[N]]></default>
victor@21513
   370
        <onCreateDefault/>
victor@21513
   371
      </column>
miguel@23951
   372
      <column name="UPDATE_CURRENCY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
miguel@23951
   373
        <default><![CDATA[N]]></default>
miguel@23951
   374
        <onCreateDefault/>
miguel@23951
   375
      </column>
miguel@23951
   376
      <column name="BP_CURRENCY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
miguel@23951
   377
        <default/>
miguel@23951
   378
        <onCreateDefault/>
miguel@23951
   379
      </column>
antonio@410
   380
      <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_C_BUSPARTNER">
antonio@410
   381
        <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
antonio@410
   382
      </foreign-key>
asier@5551
   383
      <foreign-key foreignTable="AD_CLIENT" name="C_BPARTNER_AD_CLIENT">
carlos@0
   384
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   385
      </foreign-key>
asier@5551
   386
      <foreign-key foreignTable="AD_ORG" name="C_BPARTNER_AD_FORCED_ORG">
asier@5551
   387
        <reference local="AD_FORCED_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   388
      </foreign-key>
asier@5551
   389
      <foreign-key foreignTable="AD_ORG" name="C_BPARTNER_AD_ORG">
gorkaion@238
   390
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
gorkaion@238
   391
      </foreign-key>
asier@5551
   392
      <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_BPARTNER_PARENT">
asier@5551
   393
        <reference local="BPARTNER_PARENT_ID" foreign="C_BPARTNER_ID"/>
carlos@0
   394
      </foreign-key>
asier@5551
   395
      <foreign-key foreignTable="C_BP_GROUP" name="C_BPARTNER_C_BP_GROUP">
asier@5551
   396
        <reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
carlos@0
   397
      </foreign-key>
martin@2771
   398
      <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_C_BPARTNER">
martin@2771
   399
        <reference local="SALESREP_ID" foreign="C_BPARTNER_ID"/>
martin@2771
   400
      </foreign-key>
asier@5551
   401
      <foreign-key foreignTable="C_GREETING" name="C_BPARTNER_C_GREETING">
asier@5551
   402
        <reference local="C_GREETING_ID" foreign="C_GREETING_ID"/>
asier@5551
   403
      </foreign-key>
asier@5551
   404
      <foreign-key foreignTable="C_INVOICESCHEDULE" name="C_BPARTNER_C_INVOICESCHEDULE">
asier@5551
   405
        <reference local="C_INVOICESCHEDULE_ID" foreign="C_INVOICESCHEDULE_ID"/>
asier@5551
   406
      </foreign-key>
asier@5551
   407
      <foreign-key foreignTable="C_PAYMENTTERM" name="C_BPARTNER_C_PAYMENTTERM">
asier@5551
   408
        <reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
asier@5551
   409
      </foreign-key>
miguel@23951
   410
      <foreign-key foreignTable="C_CURRENCY" name="C_BPARTNER_CURRENCY">
miguel@23951
   411
        <reference local="BP_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
miguel@23951
   412
      </foreign-key>
gorkaion@6874
   413
      <foreign-key foreignTable="FIN_FINANCIAL_ACCOUNT" name="C_BPARTNER_FIN_FINACC">
gorkaion@6874
   414
        <reference local="FIN_FINANCIAL_ACCOUNT_ID" foreign="FIN_FINANCIAL_ACCOUNT_ID"/>
gorkaion@6874
   415
      </foreign-key>
gorkaion@6874
   416
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="C_BPARTNER_FIN_PAYMENTMETHOD">
gorkaion@6874
   417
        <reference local="FIN_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
gorkaion@6874
   418
      </foreign-key>
asier@5551
   419
      <foreign-key foreignTable="M_PRICELIST" name="C_BPARTNER_M_PRICELIST" onDelete="setnull">
asier@5551
   420
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
asier@5551
   421
      </foreign-key>
asier@5551
   422
      <foreign-key foreignTable="C_BANKACCOUNT" name="C_BPARTNER_PO_BANKACCOUNT">
asier@5551
   423
        <reference local="PO_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
asier@5551
   424
      </foreign-key>
asier@5551
   425
      <foreign-key foreignTable="C_BP_TAXCATEGORY" name="C_BPARTNER_PO_BP_TAXCATEGORY">
asier@5551
   426
        <reference local="PO_BP_TAXCATEGORY_ID" foreign="C_BP_TAXCATEGORY_ID"/>
asier@5551
   427
      </foreign-key>
gorkaion@6874
   428
      <foreign-key foreignTable="FIN_FINANCIAL_ACCOUNT" name="C_BPARTNER_PO_FINACC">
gorkaion@6874
   429
        <reference local="PO_FINANCIAL_ACCOUNT_ID" foreign="FIN_FINANCIAL_ACCOUNT_ID"/>
gorkaion@6874
   430
      </foreign-key>
gorkaion@6874
   431
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="C_BPARTNER_PO_PAYMENTMETHOD">
gorkaion@6874
   432
        <reference local="PO_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
gorkaion@6874
   433
      </foreign-key>
asier@5551
   434
      <foreign-key foreignTable="C_PAYMENTTERM" name="C_BPARTNER_PO_PAYMENTTERM">
asier@5551
   435
        <reference local="PO_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
asier@5551
   436
      </foreign-key>
asier@5551
   437
      <foreign-key foreignTable="M_PRICELIST" name="C_BPARTNER_PO_PRICELIST" onDelete="setnull">
asier@5551
   438
        <reference local="PO_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
asier@5551
   439
      </foreign-key>
asier@5551
   440
      <foreign-key foreignTable="C_BANKACCOUNT" name="C_BPARTNER_SO_BANKACCOUNT">
asier@5551
   441
        <reference local="SO_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
asier@5551
   442
      </foreign-key>
asier@5551
   443
      <foreign-key foreignTable="C_BP_TAXCATEGORY" name="C_BPARTNER_SO_BP_TAXCATEGORY">
asier@5551
   444
        <reference local="SO_BP_TAXCATEGORY_ID" foreign="C_BP_TAXCATEGORY_ID"/>
asier@5551
   445
      </foreign-key>
rajagopal@6398
   446
      <foreign-key foreignTable="C_INCOTERMS" name="C_INCOTERMS_CBPARTNER_PO">
rajagopal@6398
   447
        <reference local="PO_C_INCOTERMS_ID" foreign="C_INCOTERMS_ID"/>
rajagopal@6398
   448
      </foreign-key>
rajagopal@6398
   449
      <foreign-key foreignTable="C_INCOTERMS" name="C_INCOTERMS_CBPARTNER_SO">
rajagopal@6398
   450
        <reference local="SO_C_INCOTERMS_ID" foreign="C_INCOTERMS_ID"/>
rajagopal@6398
   451
      </foreign-key>
antonio@410
   452
      <foreign-key foreignTable="C_SALARY_CATEGORY" name="C_SALARY_CATEGORY_CBPARTNER">
antonio@410
   453
        <reference local="C_SALARY_CATEGORY_ID" foreign="C_SALARY_CATEGORY_ID"/>
antonio@410
   454
      </foreign-key>
egoitz@16056
   455
      <index name="C_BPARTNER_IDSALESREP" unique="false">
egoitz@16056
   456
        <index-column name="C_BPARTNER_ID"/>
egoitz@16056
   457
        <index-column name="ISSALESREP"/>
egoitz@16056
   458
      </index>
sandra@27808
   459
      <index name="C_BPARTNER_NAME_ID" unique="false">
carlos@0
   460
        <index-column name="NAME"/>
sandra@27808
   461
        <index-column name="C_BPARTNER_ID"/>
sandra@27808
   462
      </index>
sandra@27808
   463
      <index name="C_BPARTNER_REFNO_ID" unique="false">
sandra@27808
   464
        <index-column name="REFERENCENO"/>
sandra@27808
   465
        <index-column name="C_BPARTNER_ID"/>
sandra@27808
   466
      </index>
sandra@27808
   467
      <index name="C_BPARTNER_VALUE_ID" unique="false">
sandra@27808
   468
        <index-column name="VALUE"/>
sandra@27808
   469
        <index-column name="C_BPARTNER_ID"/>
sandra@26298
   470
      </index>
sandra@26298
   471
      <index name="C_BPARTNER_NAME_ID" unique="false">
sandra@26298
   472
        <index-column name="NAME"/>
sandra@26298
   473
        <index-column name="C_BPARTNER_ID"/>
sandra@26298
   474
      </index>
sandra@26298
   475
      <index name="C_BPARTNER_REFERENCENO_ID" unique="false">
sandra@26298
   476
        <index-column name="REFERENCENO"/>
sandra@26298
   477
        <index-column name="C_BPARTNER_ID"/>
sandra@26298
   478
      </index>
sandra@26298
   479
      <index name="C_BPARTNER_VALUE_ID" unique="false">
sandra@26298
   480
        <index-column name="VALUE"/>
sandra@26298
   481
        <index-column name="C_BPARTNER_ID"/>
carlos@0
   482
      </index>
adrian@94
   483
      <unique name="C_BPARTNER_VALUE">
adrian@94
   484
        <unique-column name="AD_CLIENT_ID"/>
atul@24118
   485
        <unique-column name="AD_ORG_ID"/>
adrian@94
   486
        <unique-column name="VALUE"/>
adrian@94
   487
      </unique>
david@19193
   488
      <check name="C_BPARTNER_CBLOCKING_CHK"><![CDATA[CUSTOMER_BLOCKING IN ('Y', 'N')]]></check>
asier@27496
   489
      <check name="C_BPARTNER_CUSBLOCKING_CHK"><![CDATA[CUSTOMER_BLOCKING = 'N' OR SO_ORDER_BLOCKING = 'Y' OR SO_GOODS_BLOCKING = 'Y' OR SO_INVOICE_BLOCKING = 'Y' OR SO_PAYMENT_BLOCKING = 'Y']]></check>
asier@27496
   490
      <check name="C_BPARTNER_INVOICERULE_CHK"><![CDATA[INVOICERULE <> 'S' OR C_INVOICESCHEDULE_ID IS NOT NULL]]></check>
stefan@8505
   491
      <check name="C_BPARTNER_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
victor@21513
   492
      <check name="C_BPARTNER_ISCASHVAT_CH"><![CDATA[ISCASHVAT IN ('Y', 'N')]]></check>
stefan@8505
   493
      <check name="C_BPARTNER_ISCUSTOMER_CHK"><![CDATA[ISCUSTOMER IN ('Y', 'N')]]></check>
stefan@8505
   494
      <check name="C_BPARTNER_ISDISCOUNTPRINT_CHK"><![CDATA[ISDISCOUNTPRINTED IN ('Y', 'N')]]></check>
stefan@8505
   495
      <check name="C_BPARTNER_ISEMPLOYEE_CHK"><![CDATA[ISEMPLOYEE IN ('Y', 'N')]]></check>
stefan@8505
   496
      <check name="C_BPARTNER_ISONETIME_CHK"><![CDATA[ISONETIME IN ('Y', 'N')]]></check>
stefan@8505
   497
      <check name="C_BPARTNER_ISPROSPECT_CHK"><![CDATA[ISPROSPECT IN ('Y', 'N')]]></check>
stefan@8505
   498
      <check name="C_BPARTNER_ISSALESREP_CHK"><![CDATA[ISSALESREP IN ('Y', 'N')]]></check>
stefan@8505
   499
      <check name="C_BPARTNER_ISSUMMARY_CHK"><![CDATA[ISSUMMARY IN ('Y', 'N')]]></check>
stefan@8505
   500
      <check name="C_BPARTNER_ISTAXEXEMPT_CHK"><![CDATA[ISTAXEXEMPT IN ('Y', 'N')]]></check>
stefan@8505
   501
      <check name="C_BPARTNER_ISVENDOR_CHK"><![CDATA[ISVENDOR IN ('Y', 'N')]]></check>
david@19197
   502
      <check name="C_BPARTNER_PGBLOCKING_CHK"><![CDATA[PO_GOODS_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   503
      <check name="C_BPARTNER_PIBLOCKING_CHK"><![CDATA[PO_INVOICE_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   504
      <check name="C_BPARTNER_POBLOCKING_CHK"><![CDATA[PO_ORDER_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   505
      <check name="C_BPARTNER_PPBLOCKING_CHK"><![CDATA[PO_PAYMENT_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   506
      <check name="C_BPARTNER_SGBLOCKING_CHK"><![CDATA[SO_GOODS_BLOCKING IN ('Y', 'N')]]></check>
stefan@8505
   507
      <check name="C_BPARTNER_SHOWPRICEINORDE_CHK"><![CDATA[SHOWPRICEINORDER IN ('Y', 'N')]]></check>
david@19193
   508
      <check name="C_BPARTNER_SIBLOCKING_CHK"><![CDATA[SO_INVOICE_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   509
      <check name="C_BPARTNER_SOBLOCKING_CHK"><![CDATA[SO_ORDER_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   510
      <check name="C_BPARTNER_SPBLOCKING_CHK"><![CDATA[SO_PAYMENT_BLOCKING IN ('Y', 'N')]]></check>
david@19193
   511
      <check name="C_BPARTNER_VBLOCKING_CHK"><![CDATA[VENDOR_BLOCKING IN ('Y', 'N')]]></check>
asier@27496
   512
      <check name="C_BPARTNER_VENBLOCKING_CHK"><![CDATA[VENDOR_BLOCKING = 'N' OR PO_ORDER_BLOCKING = 'Y' OR PO_GOODS_BLOCKING = 'Y' OR PO_INVOICE_BLOCKING = 'Y' OR PO_PAYMENT_BLOCKING = 'Y']]></check>
carlos@0
   513
    </table>
adrian@94
   514
  </database>