Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Create entity with Rec...
Finance forum
Suggested answer

Create entity with Recid as primary key in D365 FO

Posted on by 462

Hi all,

I have a requirement to create a table with Recid as primary key and this table will be further exposed as a entity.

Q: Is it possible to create an entity with recid as the primary key. ? and use it for DMf an odata operations.

Will it have any issue if i just add an extra key to the index eg. Recid + field1.

Thanks,

VK

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 225,610 Super User on at
    RE: Create entity with Recid as primary key in D365 FO

    Yes, it is possible, but you can't use the wizard and such an entity should be read-only, because RecIds can't be set from outside.

    Adding an extra field to the key doesn't look useful, because RecId already is unique.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans