let's assume that i have an requirement while opening the list page form. I want to filter the form based on which status is invoiced.
[ExtensionOf(classStr(SalesTableListPageInteraction))]
final class SalestableListpageInteraction_Extension
{
public void initializeQuery(Query _query)
{
next initializeQuery(_query);
var qbds = _query.dataSourceTable(tableNum(SalesTable));
qbds.addRange(fieldNum(SalesTable,SalesStatus)).value(queryValue(SalesStatus::Invoiced));
}
No comments:
Post a Comment