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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

XDS - Constrained Table

(0) ShareShare
ReportReport
Posted on by 135

Hi all, 

I have a problem with constrained table.

I want to constrained table InventSite, but the problem is InventSite is my primary table at security policy. 

the goal is I want to restrict the lookup data from site. example, if I want to create new PO there's a site lookup, I want to restrict the site from create PO with security policy.

any suggestion?

I appreciated any help you provided,

thank you

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sefa Duman Profile Picture
    1,167 on at

    Hi,

    You can also restrict primary table in security policy.

    Select "Yes" on "ConstrainedTable" property in security policy you have created. So that, the policy restricts the data values in records that are returned from the primary table.

    Kind regards,

    Sefa Duman.

  • JoshuaRamaditya Profile Picture
    135 on at

    Hi Sefa,

    I already select Yes on Constrained table property in security policy. the result is same, the primary table data is not affected security policy.

    any another suggestions?

    thanks

  • Suggested answer
    Khurshid Wali Profile Picture
    928 on at

    Hi JoshuaRamaditya,

    Check if you have removed System Adminstrator Role!

    Also check you have enabled the policy.

    if problem still persist check and share your query.

  • JoshuaRamaditya Profile Picture
    135 on at

    Hi Khurshid,

    yes I already removed system admin role. also enabled the policy

  • Khurshid Wali Profile Picture
    928 on at

    then please share your "AOT Query" screenshots. Make Sure all  Data sources and Ranges are visible.

    regards,

    Khurshid Wali

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,988 Super User 2026 Season 1 on at

    Hi Joshua,

    You may also find some information in my blog related to securing warehouses (and related tables). kaya-consulting.com/extensible-data-security-examples-secure-by-warehouse

    You can find an example for download, so you can also compare your efforts with it.

    If the policy is not working, it might be caused to the query or possibly another overlapping policy. Also check if the lookup form is actually presenting data using the InventSite as datasource or if another table name from e.g. a view is used.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans