src-db/database/model/tables/C_ACCTSCHEMA_DEFAULT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 5551 7a30caea85b5
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_ACCTSCHEMA_DEFAULT">
carlos@0
     3
    <table name="C_ACCTSCHEMA_DEFAULT" primaryKey="C_ACCTSCHEMA_DEFAULT_KEY">
juanpablo@1605
     4
      <column name="C_ACCTSCHEMA_ID" primaryKey="false" 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>
juanpablo@1605
    36
      <column name="W_INVENTORY_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
juanpablo@1605
    40
      <column name="W_INVACTUALADJUST_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
juanpablo@1605
    44
      <column name="W_DIFFERENCES_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
juanpablo@1605
    48
      <column name="W_REVALUATION_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
juanpablo@1605
    52
      <column name="P_REVENUE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
juanpablo@1605
    56
      <column name="P_EXPENSE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
juanpablo@1605
    60
      <column name="P_ASSET_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="P_PURCHASEPRICEVARIANCE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
juanpablo@1605
    68
      <column name="P_INVOICEPRICEVARIANCE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="P_TRADEDISCOUNTREC_ACCT" 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="P_TRADEDISCOUNTGRANT_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
juanpablo@1605
    80
      <column name="P_COGS_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
juanpablo@1605
    84
      <column name="C_RECEIVABLE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
juanpablo@1605
    88
      <column name="C_PREPAYMENT_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
juanpablo@1605
    92
      <column name="V_LIABILITY_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
juanpablo@1605
    96
      <column name="V_LIABILITY_SERVICES_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
juanpablo@1605
   100
      <column name="V_PREPAYMENT_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
juanpablo@1605
   104
      <column name="PAYDISCOUNT_EXP_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
juanpablo@1605
   108
      <column name="WRITEOFF_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
juanpablo@1605
   112
      <column name="PAYDISCOUNT_REV_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
juanpablo@1605
   116
      <column name="UNREALIZEDGAIN_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
juanpablo@1605
   120
      <column name="UNREALIZEDLOSS_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
juanpablo@1605
   124
      <column name="REALIZEDGAIN_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
juanpablo@1605
   128
      <column name="REALIZEDLOSS_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
juanpablo@1605
   132
      <column name="WITHHOLDING_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="E_PREPAYMENT_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
juanpablo@1605
   140
      <column name="E_EXPENSE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
juanpablo@1605
   144
      <column name="PJ_ASSET_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
juanpablo@1605
   148
      <column name="PJ_WIP_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   149
        <default/>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
juanpablo@1605
   152
      <column name="T_EXPENSE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   153
        <default/>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
juanpablo@1605
   156
      <column name="T_LIABILITY_ACCT" 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="T_RECEIVABLES_ACCT" 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="T_DUE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   165
        <default/>
antonio@735
   166
        <onCreateDefault/>
antonio@735
   167
      </column>
juanpablo@1605
   168
      <column name="T_CREDIT_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   169
        <default/>
antonio@735
   170
        <onCreateDefault/>
antonio@735
   171
      </column>
juanpablo@1605
   172
      <column name="B_INTRANSIT_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   173
        <default/>
antonio@735
   174
        <onCreateDefault/>
antonio@735
   175
      </column>
juanpablo@1605
   176
      <column name="B_ASSET_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   177
        <default/>
antonio@735
   178
        <onCreateDefault/>
antonio@735
   179
      </column>
juanpablo@1605
   180
      <column name="B_EXPENSE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   181
        <default/>
antonio@735
   182
        <onCreateDefault/>
antonio@735
   183
      </column>
juanpablo@1605
   184
      <column name="B_INTERESTREV_ACCT" 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="B_INTERESTEXP_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   189
        <default/>
antonio@735
   190
        <onCreateDefault/>
antonio@735
   191
      </column>
juanpablo@1605
   192
      <column name="B_UNIDENTIFIED_ACCT" 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="B_UNALLOCATEDCASH_ACCT" 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="B_PAYMENTSELECT_ACCT" 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="B_SETTLEMENTGAIN_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   205
        <default/>
antonio@735
   206
        <onCreateDefault/>
antonio@735
   207
      </column>
juanpablo@1605
   208
      <column name="B_SETTLEMENTLOSS_ACCT" 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="B_REVALUATIONGAIN_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   213
        <default/>
antonio@735
   214
        <onCreateDefault/>
antonio@735
   215
      </column>
juanpablo@1605
   216
      <column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   217
        <default/>
antonio@735
   218
        <onCreateDefault/>
antonio@735
   219
      </column>
juanpablo@1605
   220
      <column name="CH_EXPENSE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   221
        <default/>
antonio@735
   222
        <onCreateDefault/>
antonio@735
   223
      </column>
juanpablo@1605
   224
      <column name="CH_REVENUE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   225
        <default/>
antonio@735
   226
        <onCreateDefault/>
antonio@735
   227
      </column>
juanpablo@1605
   228
      <column name="UNEARNEDREVENUE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   229
        <default/>
antonio@735
   230
        <onCreateDefault/>
antonio@735
   231
      </column>
juanpablo@1605
   232
      <column name="NOTINVOICEDRECEIVABLES_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   233
        <default/>
antonio@735
   234
        <onCreateDefault/>
antonio@735
   235
      </column>
juanpablo@1605
   236
      <column name="NOTINVOICEDREVENUE_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   237
        <default/>
antonio@735
   238
        <onCreateDefault/>
antonio@735
   239
      </column>
juanpablo@1605
   240
      <column name="NOTINVOICEDRECEIPTS_ACCT" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   241
        <default/>
antonio@735
   242
        <onCreateDefault/>
antonio@735
   243
      </column>
juanpablo@1605
   244
      <column name="CB_ASSET_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   245
        <default/>
antonio@735
   246
        <onCreateDefault/>
antonio@735
   247
      </column>
david@4432
   248
      <column name="CB_CASHTRANSFER_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   249
        <default/>
antonio@735
   250
        <onCreateDefault/>
antonio@735
   251
      </column>
juanpablo@1605
   252
      <column name="CB_DIFFERENCES_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   253
        <default/>
antonio@735
   254
        <onCreateDefault/>
antonio@735
   255
      </column>
juanpablo@1605
   256
      <column name="CB_EXPENSE_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   257
        <default/>
antonio@735
   258
        <onCreateDefault/>
antonio@735
   259
      </column>
juanpablo@1605
   260
      <column name="CB_RECEIPT_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   261
        <default/>
antonio@735
   262
        <onCreateDefault/>
antonio@735
   263
      </column>
antonio@735
   264
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   265
        <default/>
antonio@735
   266
        <onCreateDefault/>
antonio@735
   267
      </column>
juanpablo@1605
   268
      <column name="A_ACCUMDEPRECIATION_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   269
        <default/>
antonio@735
   270
        <onCreateDefault/>
antonio@735
   271
      </column>
juanpablo@1605
   272
      <column name="A_DEPRECIATION_ACCT" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   273
        <default/>
antonio@735
   274
        <onCreateDefault/>
antonio@735
   275
      </column>
juanpablo@1605
   276
      <column name="A_DISPOSAL_GAIN" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   277
        <default/>
antonio@735
   278
        <onCreateDefault/>
antonio@735
   279
      </column>
juanpablo@1605
   280
      <column name="A_DISPOSAL_LOSS" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   281
        <default/>
antonio@735
   282
        <onCreateDefault/>
antonio@735
   283
      </column>
juanpablo@1605
   284
      <column name="C_ACCTSCHEMA_DEFAULT_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   285
        <default/>
antonio@735
   286
        <onCreateDefault/>
antonio@735
   287
      </column>
asier@5551
   288
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_A_ACCUMDE">
adrian@170
   289
        <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   290
      </foreign-key>
asier@5551
   291
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_A_DEPRECI">
asier@5551
   292
        <reference local="A_DEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   293
      </foreign-key>
asier@5551
   294
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_A_DISPOS1">
asier@5551
   295
        <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   296
      </foreign-key>
asier@5551
   297
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_A_DISPOSA">
asier@5551
   298
        <reference local="A_DISPOSAL_LOSS" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   299
      </foreign-key>
asier@5551
   300
      <foreign-key foreignTable="AD_CLIENT" name="C_ACCTSCHEMA_DEFAULT_AD_CLIENT">
carlos@0
   301
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   302
      </foreign-key>
asier@5551
   303
      <foreign-key foreignTable="AD_ORG" name="C_ACCTSCHEMA_DEFAULT_AD_ORG">
carlos@0
   304
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
   305
      </foreign-key>
asier@5551
   306
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_ASSET_A">
asier@5551
   307
        <reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   308
      </foreign-key>
asier@5551
   309
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_EXPENSE">
asier@5551
   310
        <reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   311
      </foreign-key>
asier@5551
   312
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_INTERE1">
asier@5551
   313
        <reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   314
      </foreign-key>
asier@5551
   315
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_INTERES">
asier@5551
   316
        <reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   317
      </foreign-key>
asier@5551
   318
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_INTRANS">
asier@5551
   319
        <reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   320
      </foreign-key>
asier@5551
   321
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_PAYMENT">
asier@5551
   322
        <reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   323
      </foreign-key>
asier@5551
   324
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_REVALU1">
asier@5551
   325
        <reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   326
      </foreign-key>
asier@5551
   327
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_REVALUA">
asier@5551
   328
        <reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   329
      </foreign-key>
asier@5551
   330
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_SETTLE1">
asier@5551
   331
        <reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   332
      </foreign-key>
asier@5551
   333
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_SETTLEM">
asier@5551
   334
        <reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   335
      </foreign-key>
asier@5551
   336
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_UNALLOC">
asier@5551
   337
        <reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   338
      </foreign-key>
asier@5551
   339
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_B_UNIDENT">
asier@5551
   340
        <reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   341
      </foreign-key>
asier@5551
   342
      <foreign-key foreignTable="C_ACCTSCHEMA" name="C_ACCTSCHEMA_DEFAULT_C_ACCTSCH" onDelete="cascade">
carlos@0
   343
        <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
carlos@0
   344
      </foreign-key>
asier@5551
   345
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_C_PREPAYM">
asier@5551
   346
        <reference local="C_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   347
      </foreign-key>
asier@5551
   348
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_C_RECEIVA">
asier@5551
   349
        <reference local="C_RECEIVABLE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   350
      </foreign-key>
asier@5551
   351
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CB_ASSET_">
carlos@0
   352
        <reference local="CB_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   353
      </foreign-key>
asier@5551
   354
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CB_CASHTR">
adrian@170
   355
        <reference local="CB_CASHTRANSFER_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   356
      </foreign-key>
asier@5551
   357
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CB_DIFFER">
adrian@170
   358
        <reference local="CB_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   359
      </foreign-key>
asier@5551
   360
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CB_EXPENS">
adrian@170
   361
        <reference local="CB_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   362
      </foreign-key>
asier@5551
   363
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CB_RECEIP">
carlos@0
   364
        <reference local="CB_RECEIPT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   365
      </foreign-key>
asier@5551
   366
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CH_EXPENS">
carlos@0
   367
        <reference local="CH_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   368
      </foreign-key>
asier@5551
   369
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_CH_REVENU">
carlos@0
   370
        <reference local="CH_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   371
      </foreign-key>
asier@5551
   372
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_E_EXPENSE">
carlos@0
   373
        <reference local="E_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   374
      </foreign-key>
asier@5551
   375
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_E_PREPAYM">
carlos@0
   376
        <reference local="E_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   377
      </foreign-key>
asier@5551
   378
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_NOTINVOI1">
asier@5551
   379
        <reference local="NOTINVOICEDRECEIPTS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   380
      </foreign-key>
asier@5551
   381
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_NOTINVOI2">
asier@5551
   382
        <reference local="NOTINVOICEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   383
      </foreign-key>
asier@5551
   384
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_NOTINVOIC">
antonio@410
   385
        <reference local="NOTINVOICEDRECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
antonio@410
   386
      </foreign-key>
asier@5551
   387
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_ASSET_A">
carlos@0
   388
        <reference local="P_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   389
      </foreign-key>
asier@5551
   390
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_COGS_AC">
asier@5551
   391
        <reference local="P_COGS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   392
      </foreign-key>
asier@5551
   393
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_EXPENSE">
asier@5551
   394
        <reference local="P_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   395
      </foreign-key>
asier@5551
   396
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_INVOICE">
asier@5551
   397
        <reference local="P_INVOICEPRICEVARIANCE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   398
      </foreign-key>
asier@5551
   399
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_PURCHAS">
asier@5551
   400
        <reference local="P_PURCHASEPRICEVARIANCE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   401
      </foreign-key>
asier@5551
   402
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_REVENUE">
asier@5551
   403
        <reference local="P_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   404
      </foreign-key>
asier@5551
   405
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_TRADED1">
asier@5551
   406
        <reference local="P_TRADEDISCOUNTREC_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   407
      </foreign-key>
asier@5551
   408
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_P_TRADEDI">
asier@5551
   409
        <reference local="P_TRADEDISCOUNTGRANT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   410
      </foreign-key>
asier@5551
   411
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_PAYDISCO1">
asier@5551
   412
        <reference local="PAYDISCOUNT_REV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   413
      </foreign-key>
asier@5551
   414
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_PAYDISCOU">
adrian@170
   415
        <reference local="PAYDISCOUNT_EXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   416
      </foreign-key>
asier@5551
   417
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_PJ_ASSET_">
adrian@170
   418
        <reference local="PJ_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   419
      </foreign-key>
asier@5551
   420
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_PJ_WIP_AC">
adrian@170
   421
        <reference local="PJ_WIP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   422
      </foreign-key>
asier@5551
   423
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_REALIZEDG">
adrian@170
   424
        <reference local="REALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   425
      </foreign-key>
asier@5551
   426
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_REALIZEDL">
carlos@0
   427
        <reference local="REALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
carlos@0
   428
      </foreign-key>
asier@5551
   429
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_T_CREDIT_">
adrian@170
   430
        <reference local="T_CREDIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   431
      </foreign-key>
asier@5551
   432
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_T_DUE_ACC">
adrian@170
   433
        <reference local="T_DUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   434
      </foreign-key>
asier@5551
   435
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_T_EXPENSE">
adrian@170
   436
        <reference local="T_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   437
      </foreign-key>
asier@5551
   438
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_T_LIABILI">
adrian@170
   439
        <reference local="T_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   440
      </foreign-key>
asier@5551
   441
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_T_RECEIVA">
adrian@170
   442
        <reference local="T_RECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   443
      </foreign-key>
asier@5551
   444
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_UNEARNEDR">
adrian@170
   445
        <reference local="UNEARNEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   446
      </foreign-key>
asier@5551
   447
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_UNREALIZ1">
asier@5551
   448
        <reference local="UNREALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   449
      </foreign-key>
asier@5551
   450
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_UNREALIZE">
adrian@170
   451
        <reference local="UNREALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   452
      </foreign-key>
asier@5551
   453
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_V_LIABIL1">
asier@5551
   454
        <reference local="V_LIABILITY_SERVICES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   455
      </foreign-key>
asier@5551
   456
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_V_LIABILI">
antonio@410
   457
        <reference local="V_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
antonio@410
   458
      </foreign-key>
asier@5551
   459
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_V_PREPAYM">
adrian@170
   460
        <reference local="V_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   461
      </foreign-key>
asier@5551
   462
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_W_DIFFERE">
adrian@170
   463
        <reference local="W_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   464
      </foreign-key>
asier@5551
   465
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_W_INVACTU">
adrian@170
   466
        <reference local="W_INVACTUALADJUST_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   467
      </foreign-key>
asier@5551
   468
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_W_INVENTO">
adrian@170
   469
        <reference local="W_INVENTORY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   470
      </foreign-key>
asier@5551
   471
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_W_REVALUA">
asier@5551
   472
        <reference local="W_REVALUATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
asier@5551
   473
      </foreign-key>
asier@5551
   474
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_WITHHOLDI">
adrian@170
   475
        <reference local="WITHHOLDING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   476
      </foreign-key>
asier@5551
   477
      <foreign-key foreignTable="C_VALIDCOMBINATION" name="C_ACCTSCHEMA_DEFAULT_WRITEOFF_">
adrian@170
   478
        <reference local="WRITEOFF_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
adrian@170
   479
      </foreign-key>
eduardo@3277
   480
      <unique name="C_ACCTSCHEMA_DE_UN_C_ACCTSCH">
eduardo@3267
   481
        <unique-column name="C_ACCTSCHEMA_ID"/>
eduardo@3267
   482
      </unique>
carlos@0
   483
    </table>
adrian@94
   484
  </database>