Dear All,
Anybody can help on what is the function that gets called when you do a filter on the Filter Box in any list in NAV Client? I mean i am trying to write a code that is triggered when a user do a filter in the list page but i am not getting where is this function?
appreciate your help.
Best
HAYAN
0
Answers
it's not possible to access the filterbox in the upper right from a code-perspective.
Best
HAYAN
That's not the normal approach in how to work with NAV.
Normally, when you filter for a customer and the result is 0, the user should be able to push "New" on Customer-list.
But, I know requests from clients
You could do something like this in OnAfterGetRecord:
I've inserted "AlreadySuggested" to avoid a loop in case the user doesn't want to create a customer using a template.
Nevertheless, try to convince your client to stick to the standard approach.
Cheers,
Thank you for your advice, i will try to manage with the Above code.
Best
HAYAN