I have specified 32 fields in keys it is taking but according to documentation it is describes as 16 keys I am attaching the screenshots.
How many fields we can define in a key in business central
Hi, very interesting question, In my memory, the maximum should be 20 fields. And only the first 16 are used.
This is mentioned in the documentation, but I haven't tried more than 30.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-table-keys#primary-keys
Hope this will help.
Thanks.
ZHU
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 3,750
Sumit Singh 2,689
YUN ZHU 1,987 Super User 2025 Season 2