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 :
Finance | Project Operations, Human Resources, ...
Answered

Hookable, Wrappable, Replaceable

(0) ShareShare
ReportReport
Posted on by 32

HI please tell me difference between hookable(true),hookable(false),wrappable(true),wrappable(false),replaceable.

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    First of all, please read the explanation that Microsoft provided in F&O documentation: Attributes that make methods extensible. It'll likely answer all your questions. If not, please ask about details here.

    By the way, I moved your question from Hookable attribute in D365FO because the thread isn't about exactly the same topic and the question there is already answered.

  • Rohit Profile Picture
    32 on at

    replaceble ==  extenders can wrap it by using CoC, but they don't have to unconditionally call next.

    hookable(true) == extenders can subscribe to pre-events and post-events.

    hookable(false)==?

    wrappable(true) == extenders can wrap it by using Chain of Command (CoC). Extenders must call next,

    wrappable(false) =?  

    I got to understand from the document  and thanks for answer but i have some doubt  which i put Question mark

    please give me the details explanation if possible

    thanks  again.

  • Verified answer
    Martin Dráb Profile Picture
    237,892 Most Valuable Professional on at

    When the value is false, look the definition with true and replace can with can't. For example: "extenders can't subscribe to pre-events and post-events".

    You use that if you want to explicitly disable something that would otherwise be allowed.

  • Joris dG Profile Picture
    17,775 on at

    Also: docs.microsoft.com/.../method-wrapping-coc

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans