web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Security policy on Inventory Transactions prevents user from shipping/receiving Transfer order!

(3) ShareShare
ReportReport
Posted on by 440
I created a security policy(role based) that shows the transactions from specific warehouses to the user... here's the implementation of the query used and the security policy.
 
Query:
 
 
Policy:
 
And it works fine and the Transactions form is filtered but it gives me an error somewhere else.. in the Transfer orders form!
 
When the user try to ship or receive an transfer order he gets this error: 
 
 
when I remove the role related to the security policy from the user and try to ship/receive again it works fine!
Categories:
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at
    Hi AbdullahAhmad,
     
    Can you tell what the values J1 and J3 are related to? Is warehouse TYF visible to the user? In this case there is a combination of a site, warehouse and batch number. What InventDimId is created for this combination? Is that related to J1 or J3 that is set on the policy query?
     
    Note that I created an example for warehouse restriction using XDS where you can configure which warehouses are visible to an user. You can read my blog and download the example and change it to your requirements: Extensible Data Security examples - Secure by warehouse - Dynamicspedia
  • AbdullahAhmed_ Profile Picture
    440 on at
    Hi Andre,
     
    Sorry for the cofusion.. I looked again in my query and the error and updated them in my post.
     
    J1,J3 are warehouses not InventDimId so, the I'm filtering Transactions by warehouse.
    When the user opens The transactions form he only sees transations from "J1,J3".
     
    When he opens the transfer orders form he can see all transfer orders and all warehouses.
     
    I just want to restrict the transactions form for now but it seems to affect other forms as well!
  • Verified answer
    AbdullahAhmed_ Profile Picture
    440 on at
    I figured it out..
     
    When making a transfer order from X warehouse to Y warehouse and shipping, the system doesn't take items from X to Y directly.. Instead the items are moved from X to transit warehouse and when the Y warehouse manager or supervisor click receive, now the system moves the items from transit warehouse to Y warehouse.
     
    I solved this by adding the transit warehouse to the query range and It works fine.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans