IDEMPIERE-5565 Cannot create report with virtual column where reference is table with display column = ID (#1662)
This commit is contained in:
parent
946730f1be
commit
801d1fb898
|
@ -482,14 +482,16 @@ public class DataEngine
|
|||
|| (AD_Reference_ID == DisplayType.Search && AD_Reference_Value_ID != 0)
|
||||
)
|
||||
{
|
||||
String eSql;
|
||||
if (ColumnSQL.length() > 0)
|
||||
{
|
||||
lookupSQL = ColumnSQL;
|
||||
eSql = MLookupFactory.getLookup_TableEmbed(m_language, ColumnSQL, tableName, AD_Reference_Value_ID);
|
||||
}
|
||||
else
|
||||
{
|
||||
eSql = MLookupFactory.getLookup_TableEmbed(m_language, ColumnName, tableName, AD_Reference_Value_ID);
|
||||
}
|
||||
|
||||
String eSql;
|
||||
|
||||
eSql = MLookupFactory.getLookup_TableEmbed(m_language, ColumnName, tableName, AD_Reference_Value_ID);
|
||||
|
||||
// DisplayColumn
|
||||
String display = ColumnName;
|
||||
|
|
Loading…
Reference in New Issue