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

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    Can you tell me what app you are using?

    Regards,

    Leah Ju

  • ldiane Profile Picture
    15 on at

    Hi Leah,

    I am not sure if this is what you needed to know but it is a Business Central v16 On-premise installation

  • prt33k Profile Picture
    6,907 on at

    Can you please post it here :

    community.dynamics.com/.../dynamics-365-business-central-forum

  • ldiane Profile Picture
    15 on at

    Sure, i apologize for the mistake

    For future reference here is the link to the new post:

    community.dynamics.com/.../how-do-i-hide-no-field-and-show-name-instead-while-keeping-the-system-default-lookup

    I can't find a delete post button

    For the mods feel free to delete this

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,821 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,122 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans