Skip to main content

Notifications

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

Action to open Dimension

Posted on by 5
 area(Navigation)
        {
            action(Dimensions)
            {
                ApplicationArea = All;
                Caption = 'Dimensions';
                Image = Dimensions;
                Promoted = true;
                PromotedCategory = Process;
                PromotedOnly = true;
                RunObject = page "Default Dimensions";
                 RunPageLink = "Table ID" = const(70431537), "No." = field(Code);
                ShortcutKey = 'Alt+D';
                ToolTip = 'View or edit the single set of dimensions that are set up for the selected record.';
            }
        }
I have Created a action to open dimension but it is not working showing error::= Table ID must not be 70431533 in Default Dimension Table ID='70431533',No.='MB',Dimension Code=''.
Please help me.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,411 Super User 2024 Season 2 on at
    RE: Action to open Dimension

    Hi, It seems that 70431537 is your newly created table, and then you added the function of Default Dimension on the table.

    I confirmed the standard code and it looks like you're doing it without a problem. I suspect there is still something wrong with the table customization, you can check the data first.

    pastedimage1677459090907v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Action to open Dimension

    From what entity are you trying to open this page?

    Customer, G/L Account, Vendor, Item, Resource or ??

    You should link from your source table to default dimension.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Action to open Dimension

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    www.dynamicsuser.net/.../14

    I will open this up to the community in case they have something to add.

    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

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans