IDEMPIERE-4709 Print Format Item: implement script column (expression) (#664)
Fix issue when using spaces on the name of the print format item
This commit is contained in:
parent
713aa09a46
commit
91a9314a96
|
@ -421,8 +421,8 @@ public class DataEngine
|
||||||
if (ColumnName == null && script.isEmpty())
|
if (ColumnName == null && script.isEmpty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
sqlSELECT.append(script).append(" AS ").append(m_synonym).append(pfiName).append(",")
|
sqlSELECT.append(script).append(" AS \"").append(m_synonym).append(pfiName).append("\",")
|
||||||
.append("''").append(" AS ").append(pfiName).append(",");
|
.append("''").append(" AS \"").append(pfiName).append("\",");
|
||||||
//
|
//
|
||||||
pdc = new PrintDataColumn(-1, pfiName, DisplayType.Text, FieldLength, orderName, isPageBreak);
|
pdc = new PrintDataColumn(-1, pfiName, DisplayType.Text, FieldLength, orderName, isPageBreak);
|
||||||
synonymNext();
|
synonymNext();
|
||||||
|
|
Loading…
Reference in New Issue