Hi,
I have started working on data security policy in AX2012.
The requirement I have is to add the range value of XDS query dynamically.
The requirement is when user logs into AX I need to pickup the position the user is assigned to and show the workers only assigned to the position on workers form.
Hence for the XDS query I need to pass the value dynamically on the runtime.
I have tried writing the code in the init and run method of the query to default the range value, but doesn't seems to be working.
My question is does AX execute the code written in the AOT queries or the range value has to be hardcoded which means static.
Please share your thoughts.
Thanks,
Ismail.