Go to listPageInteraction Class of particular form.
In My case I am using SalesTableListPageInteraction class
Override Method : initializeQuery()
and write below code on that method.
public void initializeQuery(Query _query)
{
QueryBuildDataSource qbds;
qbds = _query.dataSourceTable(tableNum(SalesTable));
qbds.addRange(fieldNum( SalesTable ,SalesStatus)).value(queryValue(SalesStatus::BackOrder));
super(_query);
}
In My case I am using SalesTableListPageInteraction class
Override Method : initializeQuery()
and write below code on that method.
public void initializeQuery(Query _query)
{
QueryBuildDataSource qbds;
qbds = _query.dataSourceTable(tableNum(SalesTable));
qbds.addRange(fieldNum( SalesTable ,SalesStatus)).value(queryValue(SalesStatus::BackOrder));
super(_query);
}
No comments:
Post a Comment