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

Modify the Dimension Set Entry

(0) ShareShare
ReportReport
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.

Categories:
  • Suggested answer
    Steven Renders Profile Picture
    4,967 Moderator 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
    62,477 Moderator 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
    1,535 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
    3,172 Moderator 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans