# HG changeset patch
# User Asier Lostalé <asier.lostale@openbravo.com>
# Date 1421142629 -3600
#      Tue Jan 13 10:50:29 2015 +0100
# Node ID 32f120ce4c782bc03f56a9d24867769c97eafb4d
# Parent  66dda4d779f9d895344bf074a35d82a3012e0607
fixed bug 28565: not possible to filter by LineNo field in Match LC Cost

  The problem was caused by a reference mistmatch between lineNo property in HQL
  table, which was correctly Integer, and the reference for the M_LC_Cost.lineNo
  which was Number.

  Fixed M_LC_Cost.lineNo to be Integer.

diff -r 66dda4d779f9 -r 32f120ce4c78 src-db/database/sourcedata/AD_COLUMN.xml
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Tue Jan 13 09:58:54 2015 +0100
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Tue Jan 13 10:50:29 2015 +0100
@@ -223744,7 +223744,7 @@
 <!--0227873A968BE6FBE050007F01005124-->  <HELP><![CDATA[Indicates the unique line for a document.  It will also control the display order of the lines within a document.]]></HELP>
 <!--0227873A968BE6FBE050007F01005124-->  <COLUMNNAME><![CDATA[Line]]></COLUMNNAME>
 <!--0227873A968BE6FBE050007F01005124-->  <AD_TABLE_ID><![CDATA[55A984C314FD4C4FB5E7C32DE36BB07B]]></AD_TABLE_ID>
-<!--0227873A968BE6FBE050007F01005124-->  <AD_REFERENCE_ID><![CDATA[22]]></AD_REFERENCE_ID>
+<!--0227873A968BE6FBE050007F01005124-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
 <!--0227873A968BE6FBE050007F01005124-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
 <!--0227873A968BE6FBE050007F01005124-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(LINE),0)+10 AS DefaultValue FROM M_LC_COST
  WHERE (m_landedcost_id is not null and m_landedcost_id =@m_landedcost_id@) 
