From dc9f9ef96390df01a3f5259af0a5a78566d2dcf0 Mon Sep 17 00:00:00 2001 From: hieplq Date: Sun, 29 Jun 2014 14:59:23 +0700 Subject: [PATCH] IDEMPIERE-2027:Accounting Fact Reconcilation - Refresh Button Doesn't make sense --- .../adempiere/webui/apps/form/WFactReconcile.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFactReconcile.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFactReconcile.java index a86e3e05d6..be06bff1ef 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFactReconcile.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WFactReconcile.java @@ -292,27 +292,40 @@ implements IFormController, EventListener, WTableModelListener, ValueChan if (Account_ID != 0) m_Account_ID = Account_ID; + else + m_Account_ID = 0; if(fieldOrg.getValue()!=null) m_AD_Org_ID = (Integer)fieldOrg.getValue(); + else + m_AD_Org_ID = 0; if(fieldAcctSchema.getValue()!=null) m_C_AcctSchema_ID = (Integer)fieldAcctSchema.getValue(); + else + m_C_AcctSchema_ID = 0; m_isReconciled = isReconciled.isChecked(); if(fieldBPartner.getValue()!=null) m_C_BPartner_ID = (Integer)fieldBPartner.getValue(); + else + m_C_BPartner_ID = 0; if((Integer)fieldProduct.getValue()!=null) m_M_Product_ID = (Integer)fieldProduct.getValue(); + else + m_M_Product_ID = 0; if(fieldDateAcct.getValue()!=null) m_DateAcct = (Timestamp)fieldDateAcct.getValue(); + else + m_DateAcct = null; if(fieldDateAcct2.getValue()!=null) m_DateAcct2 = (Timestamp)fieldDateAcct2.getValue(); - + else + m_DateAcct2 = null; // Set Model Vector> data = getData(); Vector columnNames = getColumnNames();