web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

How to stop the user to updating the line dimensions when the header dimensions changed.

(0) ShareShare
ReportReport
Posted on by 97

Hi All,

as everyone knows that if we change dimension values on sales header level the system will give confirmation dialog to the user for updating line dimensions.

we have a requirement that user should not update header dimensions to lines. so we can tell the user to click on "NO" on the confirmation dialog. but this is not ensuring the user every time.

I could not find any event on standard function(UpdateAllLineDim) to skip confirmation and not updating line dimensions.


please suggest any logic in AL Coding because we don't want to modify standard code.

Categories:
I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    In BC 14.0 they removed that, if you want to do that in your version, then you have to create an Event in UpdateAllLineDim and then subscribe to that event.

    Or check in the latest CU

  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,300 Super User 2026 Season 1 on at

    There is no standard event for that. Even if you try to skip the confirmation by HideValidationDialog, it will just go to 'YES' (instead of NO).

    Probably you can create new fields for user to fill in the dimension values, and use that to fill in the original dimension fields.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans