Dear all
I want to apply a filter on urchase requisitions where each user could see only PRs created by users of his/her department. or by reason (in our case reason = department).
Please advise on how to apply the record level security in the explained cas.
I have tried creating RLS on a role with filter on purchase requisition table, and a filter on the field created by. The result is good on the form all purchase requisition, the user could see only the appropriate PRs but when clicking ''New'' in order to create new PR, we get an error.
Please to give advise on how to set the RLS in purchase requisition on the field ''reason'' .
Best regards.