From d75cc4774649574fc3e0629732482edfd6592831 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 12 Jun 2008 05:29:02 +0000 Subject: [PATCH] Fix [ 1991514 ] ProductInfo empty after called from BOM --- client/src/org/eevolution/form/VTreeBOM.java | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/client/src/org/eevolution/form/VTreeBOM.java b/client/src/org/eevolution/form/VTreeBOM.java index e730d53476..7f904535b4 100644 --- a/client/src/org/eevolution/form/VTreeBOM.java +++ b/client/src/org/eevolution/form/VTreeBOM.java @@ -183,19 +183,19 @@ public class VTreeBOM extends CPanel Properties ctx = Env.getCtx(); Language language = Language.getLoginLanguage(); // Base Language MLookup m_fieldProduct = MLookupFactory.get(ctx, m_WindowNo, - MColumn.getColumn_ID(MProduct.Table_Name, "M_Product_ID"), - DisplayType.Search, language, MProduct.COLUMNNAME_M_Product_ID, 0, false, - " IsSummary = 'N'"); + MColumn.getColumn_ID(MProduct.Table_Name, "M_Product_ID"), + DisplayType.Search, language, MProduct.COLUMNNAME_M_Product_ID, 0, false, + " M_Product.IsSummary = 'N'"); fieldProduct = new VLookup ("M_Product_ID", false, false, true, m_fieldProduct); - fieldProduct.addActionListener(this); - - loadTableBOM(); - splitPane.add (new JScrollPane(dataPane), JSplitPane.RIGHT); - dataPane.getViewport().add(tableBOM , null); - - DefaultMutableTreeNode parent = new DefaultMutableTreeNode(Msg.translate(Env.getCtx(), "BOM")); - m_tree = new JTree(parent); - splitPane.add (m_tree, JSplitPane.LEFT); + fieldProduct.addActionListener(this); + + loadTableBOM(); + splitPane.add (new JScrollPane(dataPane), JSplitPane.RIGHT); + dataPane.getViewport().add(tableBOM , null); + + DefaultMutableTreeNode parent = new DefaultMutableTreeNode(Msg.translate(Env.getCtx(), "BOM")); + m_tree = new JTree(parent); + splitPane.add (m_tree, JSplitPane.LEFT); } // preInit