IDEMPIERE-1649:Reference of User1_id, User2_id in new table is create incorrect
This commit is contained in:
parent
10da987cff
commit
a12919dd2f
|
@ -48,7 +48,7 @@ public class Callout_AD_Column extends CalloutEngine
|
||||||
column.setIsIdentifier(false);
|
column.setIsIdentifier(false);
|
||||||
column.setIsUpdateable(false);
|
column.setIsUpdateable(false);
|
||||||
column.setIsAlwaysUpdateable(false);
|
column.setIsAlwaysUpdateable(false);
|
||||||
column.setIsKey(true);
|
column.setIsKey(false);
|
||||||
} else if (column.getAD_Table().getTableName().concat("_ID").equals(column.getColumnName())) {
|
} else if (column.getAD_Table().getTableName().concat("_ID").equals(column.getColumnName())) {
|
||||||
// ID key column
|
// ID key column
|
||||||
column.setAD_Reference_ID(DisplayType.ID);
|
column.setAD_Reference_ID(DisplayType.ID);
|
||||||
|
@ -61,6 +61,7 @@ public class Callout_AD_Column extends CalloutEngine
|
||||||
column.setIsIdentifier(false);
|
column.setIsIdentifier(false);
|
||||||
column.setIsUpdateable(false);
|
column.setIsUpdateable(false);
|
||||||
column.setIsAlwaysUpdateable(false);
|
column.setIsAlwaysUpdateable(false);
|
||||||
|
column.setIsKey(true);
|
||||||
} else {
|
} else {
|
||||||
// get defaults from most used case
|
// get defaults from most used case
|
||||||
String sql = ""
|
String sql = ""
|
||||||
|
|
Loading…
Reference in New Issue