fix bug [ 1665769 ] ID foreign columns created from DB wrongly
This commit is contained in:
parent
0ab66bd9e5
commit
2c67c9ee50
|
@ -260,7 +260,7 @@ public class TableCreateColumns extends SvrProcess
|
||||||
column.setAD_Reference_Value_ID (190);
|
column.setAD_Reference_Value_ID (190);
|
||||||
}
|
}
|
||||||
// ID
|
// ID
|
||||||
else if (columnName.endsWith ("_ID"))
|
else if (columnName.toUpperCase().endsWith ("_ID"))
|
||||||
column.setAD_Reference_ID (DisplayType.TableDir);
|
column.setAD_Reference_ID (DisplayType.TableDir);
|
||||||
// Date
|
// Date
|
||||||
else if (dataType == Types.DATE || dataType == Types.TIME
|
else if (dataType == Types.DATE || dataType == Types.TIME
|
||||||
|
|
Loading…
Reference in New Issue