How can I dissable List columns from being dynamically sortable on a certain page?

Dynamics NAV 2013 R2

The ability to sort by column in a list in NAV 2013 R2 is great.

However, when entering purchase orders, accidentally clicking one of the column titles causes the purchase order lines to mess up due to sorting by that column.

Is there a way to prevent a particular list from sorting when the column title is clicked?
(We do not require dynamic sorting for this page anyway).

Perhaps there is a change I can make to the C/AL code for the page?


Dave K


Never tried but what about adding a SETCURRENTKEY statement in OnAfterGetCurrRecord trigger?