IDEMPIERE-4871 Print Format Item Script Data Type Support (fix backward compatibility issue) (#1007)

This commit is contained in:
Carlos Ruiz 2021-12-09 02:39:55 +01:00 committed by GitHub
parent 3530351601
commit 4439765e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ public class DataEngine
{
/** START DEVCOFFEE: script column **/
int displayType = pdc.getDisplayType();
if(rs.getMetaData().getColumnName(displayIndex).contains("SCRIPTCOLUMN")) {
if (display.startsWith("@SCRIPT")) {
Object value = rs.getObject(displayIndex);
int columnType = rs.getMetaData().getColumnType(displayIndex);
// String, Text