Fix a NPE problem found with [2877111] - See identifiers columns when delete records
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2877111&group_id=176962 latest changes broke the Aging report - fixing the casting of ID type
This commit is contained in:
parent
d5285dc795
commit
99f97f488c
|
@ -863,6 +863,11 @@ public class MLookupFactory
|
|||
String embeddedSQL = getLookup_TableEmbed (language, ldc.ColumnName, TableName, ldc.AD_Reference_ID);
|
||||
embedSQL.append("NVL((").append(embeddedSQL).append("),'')");
|
||||
}
|
||||
// ID
|
||||
else if (DisplayType.isID(ldc.DisplayType))
|
||||
{
|
||||
embedSQL.append("NVL(" + DB.TO_CHAR(TableName + "." + ldc.ColumnName, ldc.DisplayType, language.getAD_Language()) + ",'')");
|
||||
}
|
||||
// String
|
||||
else
|
||||
embedSQL.append("NVL(").append(TableName).append(".").append(ldc.ColumnName).append(",'')");
|
||||
|
|
Loading…
Reference in New Issue