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

Announcements

News and Announcements icon
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.

I have the same question (0)
  • Suggested answer
    RahulBansode Profile Picture
    177 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans