IDEMPIERE-5112 NF8.2 Print Format Item Script not working on Oracle (#1065)
This commit is contained in:
parent
a950ba9f00
commit
a05a81154e
|
@ -423,7 +423,8 @@ public class DataEngine
|
||||||
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("\",");
|
// Warning here: Oracle treats empty strings '' as NULL and the code below checks for wasNull on this column
|
||||||
|
.append("' '").append(" AS \"").append(pfiName).append("\",");
|
||||||
//
|
//
|
||||||
pdc = new PrintDataColumn(AD_PrintFormatItem_ID, -1, pfiName, DisplayType.Text, FieldLength, orderName, isPageBreak);
|
pdc = new PrintDataColumn(AD_PrintFormatItem_ID, -1, pfiName, DisplayType.Text, FieldLength, orderName, isPageBreak);
|
||||||
synonymNext();
|
synonymNext();
|
||||||
|
|
Loading…
Reference in New Issue