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 :
Microsoft Dynamics CRM (Archived)

Alternate keys

(0) ShareShare
ReportReport
Posted on by 4,930

Hi.

I am thinking of defining alternate keys for my CRM entities, where I import data from our DWH to prevent creation of potential duplicates in CRM.

But for some entities I have imported data, where such an alternate key would exist, but also have records entered by users where the alternate key would be null.

I didn't find in the documentation, weither alternate keys are allowed to be null and weither multiple records with an alternate key of null can be created.

Any feedback would be appreciated.

thx Thomas

*This post is locked for comments

I have the same question (0)
  • Verified answer
    jlattimer Profile Picture
    24,562 on at

    Yes, alternate keys can be null and there can be multiple with null values. You'd only see an error if the value that was entered was duplicated.

  • tpeschat Profile Picture
    4,930 on at

    thx a lot

  • Community Member Profile Picture
    on at

    Hi Jason,

    Does this mean Dynamics 365 ignore NULL value as alternate key?

    How about if I have a custom entity and 3 attributes.

    The entity name is "Bank Account"

    attribute 1 = "Bank Account ID" --> as Primary Field

    attribute 2 = "Dimension 1"

    attribute 3 = "Dimension 2"

    Then I set "Dimension 1" and "Dimension 2" as alternate key.

    What if, "Dimension 1" and "Dimension 2" is not mandatory but I want to keep these two attributes as unique.

    Because at this time, if "Dimension 1" or "Dimension 2" fill in with blank value, we can save it

    Thanks

    Dafid Margetha

  • rath.amit38@gmail.com Profile Picture
    2 on at

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans