src-db/database/sourcedata/AD_TABLE.xml
changeset 25036 7d9c64b8e40c
parent 24995 2ecc4eb58cc3
child 25064 8e150ca07c2f
--- a/src-db/database/sourcedata/AD_TABLE.xml	Fri Oct 10 12:59:19 2014 +0200
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Fri Oct 10 13:28:52 2014 +0200
@@ -11405,7 +11405,7 @@
   join lcc.landedCostType as lct
   left join lcc.landedCostMatchedList as lcm with lcm.invoiceLine.id = :invlineid,
   InvoiceLine as il
-where (lcc.isMatchingAdjusted = false or lcm is not null)
+where (lcc.matched = false or lcm is not null)
   and @additional_filters@
   and @insertion_point_0@
 group by  coalesce(lcm.id, lcc.id), lcc, lct.name, lcc.amount, lcc.currency.iSOCode, lcm.amount, case when lcm is not null then true else false end, lc.referenceDate, lcc.matched, lcc.isMatchingAdjusted, lcm.id, lcc.id, il, lc.documentNo, lcc.lineNo, lcm.amountInInvoiceCurrency]]></HQLQUERY>