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...
Answered

Table Relation Columns

(1) ShareShare
ReportReport
Posted on by 201
Good day,
I have this field below with table relation to Dimension 4.
 
 
I would like to modify the selection behavior in the "Proyecto" field on my page. Specifically, when a user selects a dimension value, I want the field name to be displayed instead of field code(PK).
 
I understand that this may seem as simple as changing the value of code for same letters i have on field name, but I need that field code remains numeric. This is necessary for indexing the dimension values as letters are not acceped.

Is there any way to achieve this?

Thank you for your assistance.

I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,206 Super User 2026 Season 1 on at
    Yes, Its possible and verry simple.
     
    add code in the onvalidate trigger of the field as below.
     
      field(50000; "Payment Process Profile Code"; Code[50])
            {
                DataClassification = ToBeClassified;
                TableRelation = "Payment Process Profile";
                Caption = 'Payment Process Profile';
                Trigger OnValidate()
                var
                    PPP: Record "Payment Process Profile";
                begin
     
                    if PPP.Get(Rec."Payment Process Profile Code") then begin
                        Rec."Payment Process Profile Code" := PPP.Name;
                    end;
                end;
            }
     
    Final op.
     
  • Verified answer
    YUN ZHU Profile Picture
    99,322 Super User 2026 Season 1 on at
    This is very simple, just add the following property.
     
    Thanks.
    ZHU
  • LM-26090852-0 Profile Picture
    201 on at
    Thank you so much for your answers!! It works!
     
    PS: Yun Zhu, thanks for always make everything easier. If you had a course, I will step forward without hesitating. 

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,947 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,120 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 628 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans