public void MultiSelectLookup(FormStringControl _control)
{
Query query = new query();
QueryBuildDataSource qbds;
Container cont;
qbds = query.addDataSource(tableNum(PRO_ZPayrollStaging));
qbds.addSelectionField(fieldNum(PRO_ZPayrollStaging, JournalBatchnumber));
qbds.orderMode(ordermode::GroupBy); //skip for duplicate values
qbds.addSortField(FieldNum(PRO_ZPayrollStaging,JournalBatchnumber));
SysLookupMultiSelectGrid::lookup(query, _control, _control, _control, cont);
}
/// <summary>
///
/// </summary>
public void lookup()
{
super();
this.MultiSelectLookup(this);
}
......................................
Output :
No comments:
Post a Comment