Hello
is there a way to sort either ways ascending and descending on different fields of course..
here is an example.
i have this key:
ILE.SETCURRENTKEY("Entry Type","Document Type","Posting Date",Quantity);
I d like to sort all Ascending.
so ILE.ASCENDING(TRUE) would be ok. BUT!
For the Quantity i would like to sort in descending order..
Is this possible or otherwise achieveable?
Best regards
0
Answers
You might be able to achieve it by programming (changing filters and keys as needed in each situation).
It is probably best to create a field with manipulated data that causes your records to be sorted as needed, and create a key on that manipulated field. For descending quantity, you would use the negated quantity to populate the field.