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:
parent
de705067d1
commit
031ca7ee0e
|
@ -320,7 +320,7 @@ public class POInfo implements Serializable
|
||||||
{
|
{
|
||||||
for (int i = 0; i < m_columns.length; i++)
|
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 m_columns[i].AD_Column_ID;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue