Skip to main content

Notifications

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

Modify the Dimension Set Entry

Posted on by 44

Hi,

I have a Dimension Set Entry table for which I need to add, edit and delete options made available via coding without using any extensions.

Please confirm how to achieve the functionality using coding logic.

  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,051 Super User 2024 Season 1 on at
    RE: Modify the Dimension Set Entry

    Anything you want to do in code in Business Central requires you to write an extension (app).

    If you don't want that, then check out the APIs:

    learn.microsoft.com/.../

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,296 Super User 2024 Season 2 on at
    RE: Modify the Dimension Set Entry

    It is not recommended that you modify Dimension Set Entry table directly, because the data in this table is managed by group. If you directly modify the options in it, it will affect all the data using this Dimension Set ID.

    Dimension Set Entries Overview

    https://learn.microsoft.com/en-us/dynamics365/business-central/design-details-dimension-set-entries-overview

    If you really want to try to modify, check out the codeunit below.

    codeunit 408 DimensionManagement

    pastedimage1683771342772v1.png

    pastedimage1683771356319v2.png

    pastedimage1683771366151v3.png

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    tanya07 Profile Picture
    tanya07 1,554 on at
    RE: Modify the Dimension Set Entry

    Hi ,

    Dimension set entry table holds multiple dimension sets with their respective dimension set IDs.

    We do can achieve this via coding where you can add/delete/edit but behind the scene, there are multiple validations and checks which the system does.

    What would be purpose of doing the same, if I may ask ??

    Regards,

    Tanya Kharbanda

    Don't forget to help the community by verifying the answer if your question has been answered. It will let others know that the topic has a verified answer.

  • KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,924 Super User 2024 Season 2 on at
    RE: Modify the Dimension Set Entry

    1. I doubt You can make any changes to the standard table/codeunit without using extension

    2. I would not recommend addin/editing or deleting anything from the Dimension Set Entry (only if You delete all )

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!

Community AMA December 12th

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

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans