IDEMPIERE-3156 SubAcct not working on Account Combination Dialog / refresh subacct lookup on initial load
This commit is contained in:
parent
a9b9b143bc
commit
dc82ae4f78
|
@ -471,8 +471,16 @@ public final class WAccountDialog extends Window
|
|||
statusBar.setStatusDB("");
|
||||
|
||||
// Initial value
|
||||
if (m_mAccount.C_ValidCombination_ID != 0)
|
||||
if (m_mAccount.C_ValidCombination_ID != 0) {
|
||||
m_mTab.navigate(0);
|
||||
if (f_Account_ID.getValue() instanceof Integer) {
|
||||
Env.setContext(Env.getCtx(), m_WindowNo, "Account_ID", (Integer)f_Account_ID.getValue());
|
||||
Env.setContext(Env.getCtx(), m_WindowNo, 0, "Account_ID", (Integer)f_Account_ID.getValue());
|
||||
if (f_SubAcct_ID != null) {
|
||||
f_SubAcct_ID.dynamicDisplay();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
log.config("fini");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue