IDEMPIERE-2665: Set value of C_AcctSchema_ID in ctx.

This commit is contained in:
Deepak Pansheriya 2015-09-22 18:51:54 +05:30
parent 383c35dc4a
commit 5bf390ecc9
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ implements IFormController, EventListener<Event>, WTableModelListener, ValueChan
fieldAcctSchema.setValue(MClient.get(Env.getCtx()).getAcctSchema().getC_AcctSchema_ID());
fieldAcctSchema.addValueChangeListener(this);
m_C_AcctSchema_ID = (Integer)fieldAcctSchema.getValue();
Env.setContext(Env.getCtx(), form.getWindowNo(), "C_AcctSchema_ID", m_C_AcctSchema_ID);
// Organization
AD_Column_ID = FactReconcile.col_AD_Org_ID; //C_Period.AD_Org_ID (needed to allow org 0)