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 80

How can we comment standard code via visual studio code.

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: How to Comment Standard Code.

    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.

  • ManishS Profile Picture
    80 on at
    RE: How to Comment Standard Code.

    Opps.

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

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at
    RE: How to Comment Standard Code.

    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).

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: How to Comment Standard Code.

    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.

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,961 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans