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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How do I hide "No." field and show "Name" instead while keeping the system default lookup?

(0) ShareShare
ReportReport
Posted on by 15

Hello there,

I have extended the Job table with a 1 to many relationship like this:

tableextension 50071 JobExt extends Job
{
    fields
    {
        field(50041; "FooNo."; Integer)
        {
            TableRelation = Foo."No.";
            Caption = 'bla bla';
            ValidateTableRelation = true;
        }
    }
}

pageextension 50171 JobCardExt extends "Job Card"
{
    layout
    {
        addlast(General)
        {
            field("FooNo."; "FooNo.")
            {
                ApplicationArea = All;
                ToolTip = 'bla bla';
            }
        }
    }
}

This creates a field in the page that contains the FooNo. value, if i click on it the system default dropdown appears and I can change the value (not sure if "system default dropdown" is the correct name)

What I need to achieve is to keep this dropdown and display the Foo.Name field instead of the No. field

Is there a way of achieving this without adding Name as a pk in Foo?

Thanks in advance

  • ldiane Profile Picture
    15 on at

    Help

  • Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

  • Suresh Kulla Profile Picture
    50,280 Super User 2026 Season 1 on at

    You need to define FieldGroup for your table Foo, and you can define multiple fields.

    docs.microsoft.com/.../devenv-field-groups

  • ldiane Profile Picture
    15 on at

    Hi Suresh,

    As far as I know the fieldgroup is used to choose what fields are visible inside of the dropdown, I actually need to see the Foo.Name inside of the Job Card page itself instead of the Foo.No. which is the primary key

    Thank you in advance

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 633 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 419 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 236 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans