IDEMPIERE-3704 View Validate does not take into account IsActive ViewColumn
This commit is contained in:
parent
b693e00195
commit
95546018ed
|
@ -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 query = new Query(getCtx(), MViewColumn.Table_Name, MViewColumn.COLUMNNAME_AD_ViewComponent_ID + "=?", get_TrxName());
|
||||||
query.setParameters(getAD_ViewComponent_ID());
|
query.setParameters(getAD_ViewComponent_ID());
|
||||||
|
query.setOnlyActiveRecords(true);
|
||||||
query.setOrderBy("SeqNo, AD_ViewColumn_ID");
|
query.setOrderBy("SeqNo, AD_ViewColumn_ID");
|
||||||
List<MViewColumn> list = query.<MViewColumn>list();
|
List<MViewColumn> list = query.<MViewColumn>list();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue