Record tooltip has new primary key indicator

Important

This content is archived and is not being updated. For the latest documentation, go to What's new and planned for Dynamics 365 Business Central. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Sep 1, 2022 Oct 1, 2022

Business value

For some time, the Record data type tooltip has shown primary key fields with an asterisk indicator. Not having the order makes it impossible to figure out the exact primary key for tables—for example, when writing Record.GET statements. To provide contextual information, and avoid tedious steps on navigating to table definitions, the primary key members are now marked with a (PKx) in the Record tooltip list, where x is the order of the field in the key.

Feature details

When hovering on records in code, the tooltip now shows the primary key members with a (PKx) decorator after the type information, where x is a number indicating the order of the field in the key. This makes it easier to identify the table fields and order that makes up the primary key.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Thank you for your idea

Thank you for submitting this idea. We listened to your idea, along with comments and votes, to help us decide what to add to our product roadmap.