IDEMPIERE-6190 TabCreateFields.doIt postgresql exception found in log (#2419)
This commit is contained in:
parent
58c1aa5904
commit
bcc6bd5684
|
@ -100,11 +100,11 @@ public class TabCreateFields extends SvrProcess
|
|||
+ " AND IsActive='Y' ";
|
||||
|
||||
if(!Util.isEmpty(p_EntityType))
|
||||
sql += " AND c.entitytype = ?";
|
||||
sql += " AND c.entitytype = ? ";
|
||||
if(p_CreatedSince != null)
|
||||
sql += " AND c.created >= ? ";
|
||||
|
||||
sql += "ORDER BY CASE "
|
||||
sql += " ORDER BY CASE "
|
||||
+ " WHEN c.ColumnName = 'AD_Client_ID' THEN -100 "
|
||||
+ " WHEN c.ColumnName = 'AD_Org_ID' THEN -90 "
|
||||
+ " WHEN c.IsParent = 'Y' THEN -85 "
|
||||
|
|
Loading…
Reference in New Issue