Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

OData key Fields API page

(0) ShareShare
ReportReport
Posted on by 185

Hello,

am workjing on API pages.

I ahve a case where i want to update customer API using No field instead of system id.

I did one change for customer API.

mad a copy existing Customer API to 50000 and changed odata key field to "No." from "system id"

it is woking fine in all CRUD Cases.

Blow link has limited information.

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-odatakeyfields-property 

Will there be any issues later by doing this.?

Thank you.

  • Suggested answer
    RahulBansode Profile Picture
    171 on at
    RE: OData key Fields API page

    Hi Raju,

    Using No. field as your Odatakey can cause issues if the Users are making changes to the Primary Key and the same changes are not reflected in the System which is consuming the API.

    Other than that, I do not foresee any issues.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,281 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans