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 :
Business Central forum

Tablerelation and dropdowns (change dropdown caption)

(0) ShareShare
ReportReport
Posted on by 487

Hi All,

I have a dropdown field in my quotes/order documents that link to the items page. Right now, I have this bellow.

But this means, the dropdown shows a GUID. I would like to display the item description instead, even if it stores the GUID.

Is there any way to do that please?

If I link on Item.Description, it will require to add Item.description as a key in the item db and will store the description instead of the guid. I prefer not to do that.

   field(50101; Fieldname; Code[36])
        {
            TableRelation = Item.Id where (condition);
        }
Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    TableRelation should be the real primary key, so Item."No.". Then, Item is a standard table where a DropDown fieldgroup is defined natively, so the fields that you can see on the dropdown are the fields defined in the DropDown fieldgroup.

  • Hedi Daneels Profile Picture
    487 on at

    The fields in the dropdown are perfect. The value written in the form (the No.) is not. I would love to see the description of the selected article.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans