IDEMPIERE-3704 View Validate does not take into account IsActive ViewColumn

This commit is contained in:
Diego Ruiz 2018-05-03 22:06:14 +02:00
parent b693e00195
commit 95546018ed
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public class MViewComponent extends X_AD_ViewComponent {
Query query = new Query(getCtx(), MViewColumn.Table_Name, MViewColumn.COLUMNNAME_AD_ViewComponent_ID + "=?", get_TrxName());
query.setParameters(getAD_ViewComponent_ID());
query.setOnlyActiveRecords(true);
query.setOrderBy("SeqNo, AD_ViewColumn_ID");
List<MViewColumn> list = query.<MViewColumn>list();