Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

XDS Policy - Restrict operations on Purch Line based on PurchTable Data

$
0
0

Hi all!

Currently I'm having trouble with setting up an XDS Policy correctly.

I want to achieve the following:

Grant Users the right to insert, update or delete PurchLine records when a field in the PurchTable has a certain value.

In Detail I want to achieve that Users are able to add and update new lines in a purch order when the purchpoolid (field in PurchTable, not in PurchLine) has the value "80" or "08".

With my current setup the policy works correct when it comes to update existing purch lines. But when the user wants to create a new line, the system doesn't recognize any restriction by the XDS policy. Users can create new purch lines in every purch order - no matter which value the purchpoolid has. I already tried to set it up using a NoExistJoin for testing reasons. But the behaviour is the same: when it comes to updating records, the policy works fine but inserting new lines is not limited, unfortunately. I added the PurchLine in the policy's constrained tables, though. What did I miss to do here? Or is there maybe the necessity to work with two different policies for covering that requirement?

Thank you in advance!!


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>