IDEMPIERE-110 Tree Maintenance is showing inactive trees

http://jira.idempiere.com/browse/IDEMPIERE-110
This commit is contained in:
Carlos Ruiz 2012-01-06 22:23:18 -05:00
parent 94ed271583
commit 30b5264310
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class TreeMaintenance {
public KeyNamePair[] getTreeData()
{
return DB.getKeyNamePairs(MRole.getDefault().addAccessSQL(
"SELECT AD_Tree_ID, Name FROM AD_Tree WHERE TreeType NOT IN ('BB','PC') ORDER BY 2",
"SELECT AD_Tree_ID, Name FROM AD_Tree WHERE IsActive='Y' AND TreeType NOT IN ('BB','PC') ORDER BY 2",
"AD_Tree", MRole.SQL_NOTQUALIFIED, MRole.SQL_RW), false);
}