IDEMPIERE-4979 ModelGenerator class generates entries for inactive ref lists (#898)
This commit is contained in:
parent
164e6d15b6
commit
80ed239ac2
|
@ -624,7 +624,7 @@ public class ModelClassGenerator
|
|||
.append(AD_Reference_ID);
|
||||
StringBuilder statement = new StringBuilder();
|
||||
//
|
||||
String sql = "SELECT Value, Name FROM AD_Ref_List WHERE AD_Reference_ID=? ORDER BY Value";
|
||||
String sql = "SELECT Value, Name FROM AD_Ref_List WHERE AD_Reference_ID=? AND IsActive='Y' ORDER BY Value";
|
||||
PreparedStatement pstmt = null;
|
||||
ResultSet rs = null;
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue