Fix [1619179] Consistence: POInfo.getColumnIndex not working correct

Found inconsistent behavior in POInfo.getColumnIndex and POInfo.getAD_Column_ID
Integrating the same change to ignore case in getAD_Column_ID.
https://sourceforge.net/tracker2/index.php?func=detail&aid=1619179&group_id=176962&atid=879332
This commit is contained in:
Carlos Ruiz 2009-03-12 07:23:18 +00:00
parent de705067d1
commit 031ca7ee0e
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ public class POInfo implements Serializable
{
for (int i = 0; i < m_columns.length; i++)
{
if (m_columns[i].ColumnName.equals(columnName))
if (columnName.equalsIgnoreCase(m_columns[i].ColumnName)) // globalqss : modified to compare ignoring case [ 1619179 ]
return m_columns[i].AD_Column_ID;
}
return -1;