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

Notifications

Announcements

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#3
YUN ZHU Profile Picture

YUN ZHU 748 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans