IDEMPIERE-3810 New IDs display type (AD_Reference) created via 2pack are created as String
This commit is contained in:
parent
faac96eb39
commit
30311f6b0a
|
@ -655,6 +655,9 @@ public final class DisplayType
|
|||
if (!DisplayType.isText(displayType))
|
||||
s_log.severe("Unhandled Data Type = " + displayType);
|
||||
|
||||
if (columnName.endsWith("_ID"))
|
||||
return "NUMBER(10)";
|
||||
|
||||
return "VARCHAR2(" + fieldLength + ")";
|
||||
} // getSQLDataType
|
||||
|
||||
|
|
Loading…
Reference in New Issue