IDEMPIERE-1649:Reference of User1_id, User2_id in new table is create incorrect

This commit is contained in:
hieplq 2014-05-08 09:54:09 -05:00
parent 10da987cff
commit a12919dd2f
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class Callout_AD_Column extends CalloutEngine
column.setIsIdentifier(false);
column.setIsUpdateable(false);
column.setIsAlwaysUpdateable(false);
column.setIsKey(true);
column.setIsKey(false);
} else if (column.getAD_Table().getTableName().concat("_ID").equals(column.getColumnName())) {
// ID key column
column.setAD_Reference_ID(DisplayType.ID);
@ -61,6 +61,7 @@ public class Callout_AD_Column extends CalloutEngine
column.setIsIdentifier(false);
column.setIsUpdateable(false);
column.setIsAlwaysUpdateable(false);
column.setIsKey(true);
} else {
// get defaults from most used case
String sql = ""