Hi, I've created an AOT query in AX 2012R3 with a range where the userId is set to (currentuser()).
Let's say I am logged in as User1. This works fine. I get all the records from the table that where created by the User1. All other user can see their own records as expected when using this query.
However, when I use this query as a datasource in a view I need to synchronise the view with the database in order to see the records of User1. At the same time all other users can see the User1 records as the view is synchronised with currentUser = User1. Please advise how I can make sure the view is only showing the records for the currentUser.
*This post is locked for comments