web
You’re offline. This is a read only version of the page.
close
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.

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

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

    2. What do you mean by Sub options?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    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
    YUN ZHU Profile Picture
    95,763 Super User 2025 Season 2 on at

    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

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

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 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans