SysQueryForm.modifySortPoisitions Method [AX 2012]
Re-positions the order of the rows that appear in the Sorting grid.
Syntax
private void modifySortPoisitions(TmpSysQuery adjustedSort, TmpSysQuery notAdjustedSort)
Run On
Client
Parameters
- adjustedSort
Type: TmpSysQuery Table
The Sorting grid after repositioning.
- notAdjustedSort
Type: TmpSysQuery Table
The Sorting grid before repositioning.
Remarks
Since the order of OrderBy is important in the query, we must preserve the order of the rows; Therefore, this method is used to re-position the order of the rows that appear in Sorting grid.