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("");
|
statusBar.setStatusDB("");
|
||||||
|
|
||||||
// Initial value
|
// Initial value
|
||||||
if (m_mAccount.C_ValidCombination_ID != 0)
|
if (m_mAccount.C_ValidCombination_ID != 0) {
|
||||||
m_mTab.navigate(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");
|
log.config("fini");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue