[ 2006668 ] Selection of Product in the Accounting Viewer

No products ever appeared.
This commit is contained in:
croo 2008-07-01 09:30:27 +00:00
parent 86553f3279
commit 7afddb75ff
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,8 @@ import org.compiere.util.*;
*
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
* BF [ 1778534 ] Info Account: can't find product
* @author Colin Rooney (croo)
* BF [ 2006668 ] Selection of Product in the Accounting Viewer
*/
public class AcctViewer extends CFrame
implements ActionListener, ChangeListener
@ -678,6 +680,10 @@ public class AcctViewer extends CFrame
if (ase != null)
whereClause += " AND C_Element_ID=" + ase.getC_Element_ID();
}
else if (keyColumn.equals("M_Product_ID"))
{
whereClause = "";
}
else if (selDocument.isSelected())
whereClause = "";
String tableName = lookupColumn.substring(0, lookupColumn.length()-3);