IDEMPIERE-2583 Can't zoom to a sub tab from HTML Report - apply same solution than Info Windows

This commit is contained in:
Carlos Ruiz 2015-05-27 15:15:14 -05:00
parent 66b75a91fb
commit a09aabcff8
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ public class ZoomCommand implements AuService {
MQuery query = new MQuery(tableName);
query.addRestriction(columnName, MQuery.EQUAL, code);
query.setRecordCount(1);
query.setZoomTableName(tableName);
query.setZoomColumnName(columnName);
query.setZoomValue(code);
Events.postEvent(new ZoomEvent(comp, query));