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)

How to Set a check on Duplication of any field in Dynamics AX 2012

(0) ShareShare
ReportReport
Posted on by 1,371

I want to know how can we Set a check on Duplication of any field in Dynamics AX 2012? In my case, I have to set CNIC number field unique for each worker.

6560.Untitled.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rohin Profile Picture
    4,624 on at

    what about if you set it  Primary key of table??

    have a look on this:

    https://dynamics-ax-prasankumar.blogspot.in/2012/07/creating-single-field-as-primary-key-in.html

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You use a unique index for that defined on the table for the field, or combination of fields which you would like to avoid duplication for.

  • Raheel-Khan Profile Picture
    1,371 on at

    Got the following error while changing AllowDuplication value to "No", Please guide6558.Capture.PNG

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Follow what the error message told you. Why do you have AOSAuthorization set on the field? Is this a field you have created, or Standard AX. If the latter, what table and field is it?

    Some of the details are covered in this FAQ: https://mfmujahidmim.wordpress.com/2012/12/21/174/

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
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans