MAccount: FR 2214883 - minor improvement
This commit is contained in:
parent
83a4714ba4
commit
f62c418c53
|
@ -183,13 +183,12 @@ public class MAccount extends X_C_ValidCombination
|
|||
whereClause.append(" AND UserElement2_ID=?");
|
||||
params.add(UserElement2_ID);
|
||||
}
|
||||
whereClause.append(" AND IsActive='Y'");
|
||||
// whereClause.append(" ORDER BY IsFullyQualified DESC");
|
||||
|
||||
|
||||
|
||||
MAccount existingAccount = new Query(ctx,MAccount.Table_Name,whereClause.toString(),null)
|
||||
.setParameters(params).first();
|
||||
MAccount existingAccount = new Query(ctx, MAccount.Table_Name, whereClause.toString(), null)
|
||||
.setParameters(params)
|
||||
.setOnlyActiveRecords(true)
|
||||
.first();
|
||||
|
||||
// Existing
|
||||
if (existingAccount != null)
|
||||
|
|
Loading…
Reference in New Issue