fixes IDEMPIERE-51 Org Trx on Account Info

http://jira.idempiere.com/browse/IDEMPIERE-51
This commit is contained in:
Carlos Ruiz 2011-08-04 21:10:48 -05:00
parent e7d7a019d5
commit 2959a43ad9
2 changed files with 8 additions and 0 deletions

View File

@ -716,6 +716,10 @@ public class AcctViewer extends CFrame
if (ase != null)
whereClause += " AND C_Element_ID=" + ase.getC_Element_ID();
}
else if (keyColumn.equals("AD_OrgTrx_ID"))
{
lookupColumn = "AD_Org_ID";
}
else if (keyColumn.equals("M_Product_ID"))
{
whereClause = "";

View File

@ -1147,6 +1147,10 @@ public class WAcctViewer extends Window implements EventListener
if (ase != null)
whereClause += " AND C_Element_ID=" + ase.getC_Element_ID();
}
else if (keyColumn.equals("AD_OrgTrx_ID"))
{
lookupColumn = "AD_Org_ID";
}
else if (selDocument.isChecked())
whereClause = "";