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 :
Business Central forum

How to Comment Standard Code.

(0) ShareShare
ReportReport
Posted on by 86

How can we comment standard code via visual studio code.

Categories:
I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    In the SaaS version this is not possible, you can attach to events and change the standard behaviour bot not commenting standard code.

    In on-premise, you can do what you want.

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    hi,

    is not possibile "ByDesign" to comment (or change the standard code directly...), is the philosophy and the DOGMA for the SaaS release; some functions are also not exposed in the SaaS release for security (and are only available as "internals" functions in On-premise).

  • ManishS Profile Picture
    86 on at

    Opps.

    If there is a bug in standard then how can we change the standard behaviour using events in SaaS.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    It depends. If MS has used the Handled pattern in events, you can "block" the standard event (handled := true) and override it in your event subscribers.

    If this was not done by MS (as in many code parts) you simply cannot do that and you must signal the bug.

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