IDEMPIERE-4843 : MInvoice.setBPartner method retrieves inactive contacts (#744)
This commit is contained in:
parent
c94583f0f1
commit
e813d2cca4
|
@ -433,7 +433,7 @@ public class MBPartner extends X_C_BPartner implements ImmutablePOSupport
|
||||||
return m_contacts;
|
return m_contacts;
|
||||||
//
|
//
|
||||||
ArrayList<MUser> list = new ArrayList<MUser>();
|
ArrayList<MUser> list = new ArrayList<MUser>();
|
||||||
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;
|
PreparedStatement pstmt = null;
|
||||||
ResultSet rs = null;
|
ResultSet rs = null;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue