Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Adding Dimension value in Customer page

(0) ShareShare
ReportReport
Posted on by 130

Hi All,

I have created table and page with name Dimension2 and DimensionList and added two fields. In that one field will have the Dimension value

And added a  new field in customer Card page with name of short cut dimensions.

when you select one option from the dimensions then the customer field name should be update based on selected option from the page DimensionList.

in the customer field after that it must show the Sub options that is related to the selected option(dimension).

How can we do this? can anybody help me.

  • Suggested answer
    YUN ZHU Profile Picture
    85,674 Super User 2025 Season 1 on at
    RE: Adding Dimension value in Customer page

    Hi, I'm sorry I don't quite understand your needs.

    But I answered a similar question yesterday, hope it helps.

    ( ) I would like to get the dimension values. - Dynamics 365 Business Central Forum Community Forum

    Keypoint:

    tableextension 50100 MyExtension extends Customer
    {
        fields
        {
            field(50103; "ZY ShortcutDim3Code"; Code[20])
            {
                Caption = 'Shortcut Dimension 3 Code';
                CaptionClass = '1,2,3';
                TableRelation = "Dimension Value".Code where("Global Dimension No." = const(3));
                DataClassification = CustomerContent;
            }
        }
    }
    
    pageextension 50100 MyExtension extends "Customer Card"
    {
        layout
        {
            addafter(Name)
            {
                field("ZY ShortcutDim3Code"; Rec."ZY ShortcutDim3Code")
                {
                    ApplicationArea = All;
                }
            }
        }
    }

    pastedimage1652140063553v1.png

    pastedimage1652140073418v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Adding Dimension value in Customer page

    Are you talking about the field caption or the lookup values for the dimension values?

    For field caption you can look at how it is done in standard BC pages.

    For lookup values look at how it is done in the standard BC tables. F.ex. the general journal lines.

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: Adding Dimension value in Customer page

    1. Are you seeing the shortcut dimension options is the desired fields

    2. What do you mean by Sub options?

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans