fixes IDEMPIERE-51 Org Trx on Account Info
http://jira.idempiere.com/browse/IDEMPIERE-51
This commit is contained in:
parent
e7d7a019d5
commit
2959a43ad9
|
@ -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 = "";
|
||||
|
|
|
@ -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 = "";
|
||||
|
||||
|
|
Loading…
Reference in New Issue