IDEMPIERE-6190 TabCreateFields.doIt postgresql exception found in log (#2419)

This commit is contained in:
Carlos Ruiz 2024-07-12 16:42:08 +02:00
parent 58c1aa5904
commit bcc6bd5684
1 changed files with 2 additions and 2 deletions

View File

@ -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 "