src-db/database/model/tables/C_INVOICELINE.xml
author RM packaging bot <staff.rm@openbravo.com>
Tue, 20 Feb 2018 05:47:07 +0000
changeset 33488 688fcca7af57
parent 33477 9b96ff21af72
child 33489 f1d8751dcbf9
permissions -rw-r--r--
Merge temporary head for 3.0PR17Q4.1
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE C_INVOICELINE">
carlos@0
     3
    <table name="C_INVOICELINE" primaryKey="C_INVOICELINE_KEY">
juanpablo@1605
     4
      <column name="C_INVOICELINE_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>
juanpablo@1605
    36
      <column name="C_INVOICE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
juanpablo@1605
    40
      <column name="C_ORDERLINE_ID" 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="M_INOUTLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="LINE" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
sathiyan@7459
    56
      <column name="FINANCIAL_INVOICE_LINE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
sathiyan@7459
    57
        <default><![CDATA[N]]></default>
david@7467
    58
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
sathiyan@7459
    59
      </column>
sathiyan@7459
    60
      <column name="ACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
sathiyan@7459
    61
        <default/>
sathiyan@7459
    62
        <onCreateDefault/>
sathiyan@7459
    63
      </column>
juanpablo@1605
    64
      <column name="M_PRODUCT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="QTYINVOICED" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    69
        <default><![CDATA[0]]></default>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="PRICELIST" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    73
        <default><![CDATA[0]]></default>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="PRICEACTUAL" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    77
        <default><![CDATA[0]]></default>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="PRICELIMIT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[0]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="LINENETAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    85
        <default><![CDATA[0]]></default>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
juanpablo@1605
    88
      <column name="C_CHARGE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="CHARGEAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    93
        <default><![CDATA[0]]></default>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
juanpablo@1605
    96
      <column name="C_UOM_ID" 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="C_TAX_ID" 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="S_RESOURCEASSIGNMENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="TAXAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   109
        <default><![CDATA[0]]></default>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
juanpablo@1605
   112
      <column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="ISDESCRIPTION" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   117
        <default><![CDATA[N]]></default>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="QUANTITYORDER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
juanpablo@1605
   124
      <column name="M_PRODUCT_UOM_ID" 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="C_INVOICE_DISCOUNT_ID" 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="C_PROJECTLINE_ID" 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="M_OFFER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
antonio@735
   140
      <column name="PRICESTD" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
   141
        <default><![CDATA[0]]></default>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="EXCLUDEFORWITHHOLDING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
balamurugan@5969
   148
      <column name="ISEDITLINENETAMT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
balamurugan@5969
   149
        <default><![CDATA[N]]></default>
balamurugan@5969
   150
        <onCreateDefault/>
balamurugan@5969
   151
      </column>
eduardo@6017
   152
      <column name="TAXBASEAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
eduardo@6017
   153
        <default/>
eduardo@6017
   154
        <onCreateDefault><![CDATA[LINENETAMT]]></onCreateDefault>
eduardo@6017
   155
      </column>
hari@17318
   156
      <column name="LINE_GROSS_AMOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
hari@17318
   157
        <default><![CDATA[0]]></default>
hari@17318
   158
        <onCreateDefault/>
hari@17318
   159
      </column>
hari@17318
   160
      <column name="GROSS_UNIT_PRICE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
hari@17318
   161
        <default><![CDATA[0]]></default>
hari@17318
   162
        <onCreateDefault/>
hari@17318
   163
      </column>
pandeeswari@18809
   164
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   165
        <default/>
pandeeswari@18809
   166
        <onCreateDefault/>
pandeeswari@18809
   167
      </column>
naiara@18266
   168
      <column name="PERIODNUMBER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
naiara@18266
   169
        <default/>
naiara@18266
   170
        <onCreateDefault/>
naiara@18266
   171
      </column>
david@18201
   172
      <column name="GROSSPRICESTD" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
david@18197
   173
        <default><![CDATA[0]]></default>
david@18197
   174
        <onCreateDefault/>
david@18197
   175
      </column>
pandeeswari@18809
   176
      <column name="A_ASSET_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   177
        <default/>
pandeeswari@18809
   178
        <onCreateDefault/>
pandeeswari@18809
   179
      </column>
eduardo@18445
   180
      <column name="DEFPLANTYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
naiara@18266
   181
        <default/>
naiara@18266
   182
        <onCreateDefault/>
naiara@18266
   183
      </column>
david@18197
   184
      <column name="GROSSPRICELIST" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
david@18197
   185
        <default><![CDATA[0]]></default>
david@18197
   186
        <onCreateDefault/>
david@18197
   187
      </column>
pandeeswari@18809
   188
      <column name="C_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   189
        <default/>
pandeeswari@18809
   190
        <onCreateDefault/>
pandeeswari@18809
   191
      </column>
eduardo@18445
   192
      <column name="ISDEFERRED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
naiara@18266
   193
        <default><![CDATA[N]]></default>
naiara@18266
   194
        <onCreateDefault/>
naiara@18266
   195
      </column>
naiara@18266
   196
      <column name="C_PERIOD_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
naiara@18266
   197
        <default/>
naiara@18266
   198
        <onCreateDefault/>
naiara@18266
   199
      </column>
pandeeswari@18809
   200
      <column name="C_COSTCENTER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   201
        <default/>
pandeeswari@18809
   202
        <onCreateDefault/>
pandeeswari@18809
   203
      </column>
eduardo@18847
   204
      <column name="USER1_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   205
        <default/>
pandeeswari@18809
   206
        <onCreateDefault/>
pandeeswari@18809
   207
      </column>
eduardo@18848
   208
      <column name="USER2_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
pandeeswari@18809
   209
        <default/>
pandeeswari@18809
   210
        <onCreateDefault/>
pandeeswari@18809
   211
      </column>
naiara@19828
   212
      <column name="EXPLODE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
naiara@19828
   213
        <default><![CDATA[N]]></default>
naiara@19828
   214
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
naiara@19828
   215
      </column>
naiara@19828
   216
      <column name="BOM_PARENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
naiara@19828
   217
        <default/>
naiara@19828
   218
        <onCreateDefault/>
naiara@19828
   219
      </column>
gorkaion@24852
   220
      <column name="MATCH_LCCOSTS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
gorkaion@24852
   221
        <default/>
gorkaion@24852
   222
        <onCreateDefault/>
gorkaion@24852
   223
      </column>
david@30720
   224
      <column name="C_AUM" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
david@30720
   225
        <default/>
david@30720
   226
        <onCreateDefault/>
david@30720
   227
      </column>
david@30720
   228
      <column name="AUMQTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
david@30720
   229
        <default/>
david@30720
   230
        <onCreateDefault/>
david@30720
   231
      </column>
asier@5551
   232
      <foreign-key foreignTable="AD_CLIENT" name="C_INVOICELINE_AD_CLIENT">
carlos@0
   233
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   234
      </foreign-key>
asier@5551
   235
      <foreign-key foreignTable="AD_ORG" name="C_INVOICELINE_AD_ORG">
carlos@0
   236
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
   237
      </foreign-key>
pandeeswari@18809
   238
      <foreign-key foreignTable="A_ASSET" name="C_INVOICELINE_ASSET">
pandeeswari@18809
   239
        <reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
pandeeswari@18809
   240
      </foreign-key>
naiara@19828
   241
      <foreign-key foreignTable="C_INVOICELINE" name="C_INVOICELINE_BOMPARENTID">
naiara@19828
   242
        <reference local="BOM_PARENT_ID" foreign="C_INVOICELINE_ID"/>
naiara@19828
   243
      </foreign-key>
david@30720
   244
      <foreign-key foreignTable="C_UOM" name="C_INVOICELINE_C_AUM">
david@30720
   245
        <reference local="C_AUM" foreign="C_UOM_ID"/>
david@30720
   246
      </foreign-key>
pandeeswari@18809
   247
      <foreign-key foreignTable="C_BPARTNER" name="C_INVOICELINE_C_BPARTNER">
pandeeswari@18809
   248
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
pandeeswari@18809
   249
      </foreign-key>
asier@5551
   250
      <foreign-key foreignTable="C_CHARGE" name="C_INVOICELINE_C_CHARGE">
carlos@0
   251
        <reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
carlos@0
   252
      </foreign-key>
sathiyan@7459
   253
      <foreign-key foreignTable="C_GLITEM" name="C_INVOICELINE_C_GLITEM">
sathiyan@7459
   254
        <reference local="ACCOUNT_ID" foreign="C_GLITEM_ID"/>
sathiyan@7459
   255
      </foreign-key>
asier@5551
   256
      <foreign-key foreignTable="C_INVOICE" name="C_INVOICELINE_C_INVOICE">
antonio@410
   257
        <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
antonio@410
   258
      </foreign-key>
asier@5551
   259
      <foreign-key foreignTable="C_INVOICE_DISCOUNT" name="C_INVOICELINE_C_INVOICE_DISCOU">
gorkaion@238
   260
        <reference local="C_INVOICE_DISCOUNT_ID" foreign="C_INVOICE_DISCOUNT_ID"/>
gorkaion@238
   261
      </foreign-key>
asier@5551
   262
      <foreign-key foreignTable="C_ORDERLINE" name="C_INVOICELINE_C_ORDERLINE">
carlos@0
   263
        <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
carlos@0
   264
      </foreign-key>
naiara@18266
   265
      <foreign-key foreignTable="C_PERIOD" name="C_INVOICELINE_C_PERIOD">
naiara@18266
   266
        <reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
naiara@18266
   267
      </foreign-key>
asier@5551
   268
      <foreign-key foreignTable="C_PROJECTLINE" name="C_INVOICELINE_C_PROJECTLINE">
asier@5551
   269
        <reference local="C_PROJECTLINE_ID" foreign="C_PROJECTLINE_ID"/>
asier@5551
   270
      </foreign-key>
asier@5551
   271
      <foreign-key foreignTable="C_TAX" name="C_INVOICELINE_C_TAX">
carlos@0
   272
        <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
carlos@0
   273
      </foreign-key>
asier@5551
   274
      <foreign-key foreignTable="C_UOM" name="C_INVOICELINE_C_UOM">
carlos@0
   275
        <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
carlos@0
   276
      </foreign-key>
pandeeswari@18809
   277
      <foreign-key foreignTable="C_COSTCENTER" name="C_INVOICELINE_COSTCENTER">
pandeeswari@18809
   278
        <reference local="C_COSTCENTER_ID" foreign="C_COSTCENTER_ID"/>
pandeeswari@18809
   279
      </foreign-key>
asier@5551
   280
      <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="C_INVOICELINE_M_ATTRIBUTESETIN">
carlos@0
   281
        <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
carlos@0
   282
      </foreign-key>
asier@5551
   283
      <foreign-key foreignTable="M_INOUTLINE" name="C_INVOICELINE_M_INOUTLINE" onDelete="setnull">
carlos@0
   284
        <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
carlos@0
   285
      </foreign-key>
asier@5551
   286
      <foreign-key foreignTable="M_OFFER" name="C_INVOICELINE_M_OFFER">
carlos@0
   287
        <reference local="M_OFFER_ID" foreign="M_OFFER_ID"/>
carlos@0
   288
      </foreign-key>
asier@5551
   289
      <foreign-key foreignTable="M_PRODUCT" name="C_INVOICELINE_M_PRODUCT">
antonio@410
   290
        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
antonio@410
   291
      </foreign-key>
asier@5551
   292
      <foreign-key foreignTable="M_PRODUCT_UOM" name="C_INVOICELINE_M_PRODUCT_UOM">
gorkaion@238
   293
        <reference local="M_PRODUCT_UOM_ID" foreign="M_PRODUCT_UOM_ID"/>
gorkaion@238
   294
      </foreign-key>
pandeeswari@18809
   295
      <foreign-key foreignTable="C_PROJECT" name="C_INVOICELINE_PROJECT">
pandeeswari@18809
   296
        <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
pandeeswari@18809
   297
      </foreign-key>
asier@5551
   298
      <foreign-key foreignTable="S_RESOURCEASSIGNMENT" name="C_INVOICELINE_S_RESOURCEASSIGN">
carlos@0
   299
        <reference local="S_RESOURCEASSIGNMENT_ID" foreign="S_RESOURCEASSIGNMENT_ID"/>
carlos@0
   300
      </foreign-key>
eduardo@18847
   301
      <foreign-key foreignTable="USER1" name="C_INVOICELINE_USER1">
eduardo@18847
   302
        <reference local="USER1_ID" foreign="USER1_ID"/>
pandeeswari@18809
   303
      </foreign-key>
eduardo@18848
   304
      <foreign-key foreignTable="USER2" name="C_INVOICELINE_USER2">
eduardo@18848
   305
        <reference local="USER2_ID" foreign="USER2_ID"/>
pandeeswari@18809
   306
      </foreign-key>
adrian@170
   307
      <index name="C_INVOICELINE_INOUTLINE" unique="false">
adrian@170
   308
        <index-column name="M_INOUTLINE_ID"/>
victor@31556
   309
        <whereClause><![CDATA[M_INOUTLINE_ID IS NOT NULL]]></whereClause>
adrian@170
   310
      </index>
adrian@94
   311
      <index name="C_INVOICELINE_INVOICE" unique="false">
carlos@0
   312
        <index-column name="C_INVOICE_ID"/>
carlos@0
   313
      </index>
adrian@170
   314
      <index name="C_INVOICELINE_ORDERLINE" unique="false">
adrian@170
   315
        <index-column name="C_ORDERLINE_ID"/>
victor@31556
   316
        <whereClause><![CDATA[C_ORDERLINE_ID IS NOT NULL]]></whereClause>
adrian@170
   317
      </index>
adrian@94
   318
      <index name="C_INVOICELINE_PRODUCT" unique="false">
carlos@0
   319
        <index-column name="M_PRODUCT_ID"/>
carlos@0
   320
      </index>
eduardo@18445
   321
      <check name="C_INVLINE_ISDEFERRED_CHK"><![CDATA[ISDEFERRED IN ('Y', 'N')]]></check>
asier@27289
   322
      <check name="C_INVLINE_PERIODNUMBER_CHK"><![CDATA[ISDEFERRED = 'Y' AND PERIODNUMBER > 0 OR ISDEFERRED = 'N']]></check>
asier@27289
   323
      <check name="C_INVOICELINE_CHECK1"><![CDATA[QUANTITYORDER IS NULL AND M_PRODUCT_UOM_ID IS NULL OR QUANTITYORDER IS NOT NULL AND M_PRODUCT_UOM_ID IS NOT NULL]]></check>
asier@27289
   324
      <check name="C_INVOICELINE_CHECK2"><![CDATA[LINENETAMT = 0 OR C_TAX_ID IS NOT NULL]]></check>
asier@27289
   325
      <check name="C_INVOICELINE_CHECK3"><![CDATA[ISDEFERRED = 'Y' AND C_PERIOD_ID IS NOT NULL AND DEFPLANTYPE IS NOT NULL AND M_PRODUCT_ID IS NOT NULL AND PERIODNUMBER IS NOT NULL OR ISDEFERRED = 'N']]></check>
naiara@19828
   326
      <check name="C_INVOICELINE_EXPLODE_CHECK"><![CDATA[EXPLODE IN ('Y', 'N')]]></check>
stefan@8505
   327
      <check name="C_INVOICELINE_FIN_INVLINE_CHK"><![CDATA[FINANCIAL_INVOICE_LINE IN ('Y', 'N')]]></check>
asier@27289
   328
      <check name="C_INVOICELINE_FINACCT_CHK"><![CDATA[FINANCIAL_INVOICE_LINE = 'Y' AND ACCOUNT_ID IS NOT NULL OR FINANCIAL_INVOICE_LINE = 'N' AND ACCOUNT_ID IS NULL]]></check>
stefan@8505
   329
      <check name="C_INVOICELINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
asier@27289
   330
      <check name="C_INVOICELINE_PRODACCT_CHK"><![CDATA[ACCOUNT_ID IS NOT NULL AND M_PRODUCT_ID IS NULL OR ACCOUNT_ID IS NULL]]></check>
carlos@0
   331
    </table>
adrian@94
   332
  </database>