diff --git a/client/src/org/compiere/grid/ed/VBPartner.java b/client/src/org/compiere/grid/ed/VBPartner.java index 269423d8e3..edf6a4c755 100644 --- a/client/src/org/compiere/grid/ed/VBPartner.java +++ b/client/src/org/compiere/grid/ed/VBPartner.java @@ -380,7 +380,7 @@ public final class VBPartner extends CDialog implements ActionListener if (value == null || value.length() == 0) { // get Table Documet No - value = DB.getDocumentNo (Env.getAD_Client_ID(Env.getCtx()), "C_BPartner", null); + value = DB.getDocumentNo (Env.getAD_Client_ID(Env.getCtx()), "C_BPartner", null, m_partner); fValue.setText(value); } m_partner.setValue(fValue.getText());