IDEMPIERE-4979 ModelGenerator class generates entries for inactive ref lists (#898)

This commit is contained in:
Carlos Ruiz 2021-09-23 16:58:21 +02:00 committed by GitHub
parent 164e6d15b6
commit 80ed239ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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