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

How to change an item dimension after a sales invoice has been posted and paid (so closed)

(0) ShareShare
ReportReport
Posted on by 52

We need to change an item dimension in some posted sales invoices that are already paid also,  so basically in the system they are closed.

However, since we pay royalty on some of our sold items, we need to code each item ordered via dimension with a correct designer code (this is how we called the dimension).

For several invoices we have done this incorrectly (when we just started with BC).  So these invoices keep on showing up as posted items where were need to pay royalty over, when in fact we should not.

So the only way to change this, is to remove/change the dimension value.  But how do I do that after the invoice had been closed????

Can someone help me?

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    For this Call create dimension value function and set the Dimension Set Id in Posted Sales invoice table.

    Regards

    Amit Sharma

    www.erpconsultors.com

    linkedin.com/in/amit-sharma-94542440/

    Press Yes if info is useful.

  • AmberPFC Profile Picture
    52 on at

    Hi Amit,  thank you.  Can you explain that a little bit more if you have time? We are still searching our way around in BC and I am not sure what you mean.

    Thanks, Amber

  • Alfredo_Iorio Profile Picture
    1,264 on at

    You can correct the dimensions in the GL.

    Search Dimension Corrections in BC, find the entries with incorrect dimensions and change the value.

    More info here Troubleshooting and Correcting Dimensions - Business Central | Microsoft Docs

  • Suggested answer
    Catharsis Profile Picture
    65 on at
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Refer the below code. Pls change code as per the requirement. But this is tested code for getting "Dimension Set Id" 

    DimensionManagement.GetDimensionSet(TempDimSetEntry,InsertGenJournalLine."Dimension Set ID");

      TempDimSetEntry.INIT;

      TempDimSetEntry.VALIDATE("Dimension Code",GLSetup."Shortcut Dimension 3 Code");

      TempDimSetEntry.VALIDATE("Dimension Value Code",TypeOfExpense);

      TempDimSetEntry.INSERT(TRUE);

      NewDimSetID := DimensionManagement.GetDimensionSetID(TempDimSetEntry);

      IF NewDimSetID <> 0 THEN BEGIN

        InsertGenJournalLine."Dimension Set ID" := NewDimSetID;

      END;

      InsertGenJournalLine.MODIFY;

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, I recommend using General Journal or Sales Journal to adjust the amount of the dimension, rather than directly modifying the dimension of Posted Sales Invoice, which is very risky.

    And, You can customize a tool by referring to the standard functions below.

    New Features for Dynamics 365 Business Central 2021 release wave 1 (BC18): Dimension corrections (for G/L Entries)

    https://yzhums.com/10655/

    Hope this helps as well.

    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,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans