merge fix from BF [ 1830531 ]
This commit is contained in:
parent
3d5f101627
commit
d5b93419a2
|
@ -84,6 +84,11 @@ public class WAccountEditor extends WEditor
|
||||||
public void cmd_button()
|
public void cmd_button()
|
||||||
{
|
{
|
||||||
int C_AcctSchema_ID = Env.getContextAsInt(Env.getCtx(), gridField.getWindowNo(), "C_AcctSchema_ID");
|
int C_AcctSchema_ID = Env.getContextAsInt(Env.getCtx(), gridField.getWindowNo(), "C_AcctSchema_ID");
|
||||||
|
// Try to get C_AcctSchema_ID from global context - teo_sarca BF [ 1830531 ]
|
||||||
|
if (C_AcctSchema_ID <= 0)
|
||||||
|
{
|
||||||
|
C_AcctSchema_ID = Env.getContextAsInt(Env.getCtx(), "$C_AcctSchema_ID");
|
||||||
|
}
|
||||||
WAccountDialog ad = new WAccountDialog (gridField.getHeader(), m_mAccount, C_AcctSchema_ID);
|
WAccountDialog ad = new WAccountDialog (gridField.getHeader(), m_mAccount, C_AcctSchema_ID);
|
||||||
//
|
//
|
||||||
Integer newValue = ad.getValue();
|
Integer newValue = ad.getValue();
|
||||||
|
|
Loading…
Reference in New Issue