diff --git a/org.adempiere.base/src/org/compiere/model/MBPartner.java b/org.adempiere.base/src/org/compiere/model/MBPartner.java index 93d591d702..95195eb317 100644 --- a/org.adempiere.base/src/org/compiere/model/MBPartner.java +++ b/org.adempiere.base/src/org/compiere/model/MBPartner.java @@ -433,7 +433,7 @@ public class MBPartner extends X_C_BPartner implements ImmutablePOSupport return m_contacts; // ArrayList list = new ArrayList(); - final String sql = "SELECT * FROM AD_User WHERE C_BPartner_ID=? ORDER BY AD_User_ID"; + final String sql = "SELECT * FROM AD_User WHERE C_BPartner_ID=? AND IsActive = 'Y' ORDER BY AD_User_ID"; PreparedStatement pstmt = null; ResultSet rs = null; try