From 8a58e7fde8cd99eb67a96dd2671c8125c0132ecc Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Thu, 2 May 2013 15:37:59 +0800 Subject: [PATCH] IDEMPIERE-869 Not working , the form Bank Statement Create From Batch --- .../webui/apps/form/WStatementCreateFromBatch.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WStatementCreateFromBatch.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WStatementCreateFromBatch.java index f4488f157e..4eaecd5031 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WStatementCreateFromBatch.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WStatementCreateFromBatch.java @@ -68,13 +68,17 @@ public class WStatementCreateFromBatch extends StatementCreateFromBatch implemen public WStatementCreateFromBatch() { form = new WCreateFromForm(this); - p_WindowNo = form.getWindowNo(); } public void initForm() { try { + if (form.getGridTab() != null) + p_WindowNo = form.getGridTab().getWindowNo(); + else + p_WindowNo = form.getWindowNo(); + if (!dynInit()) return; zkInit();