Notifications
Announcements
No record found.
Dear Friends,
While extend PurchLine table, initValue() method using CoC getting below error.
Wrapping method 'initValue' marked with attribute Hookable set to 'false' is not supported.
Thanks and Regards
Rahul
Hi Rahul.p,
If a method is explicitly marked as [Hookable(false)], the method can't be wrapped in an extension class.
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/extensibility-attributes
Hi,
You can extend method initValue on PurchLineType class as all logic for PurchLine.initValue is stored there.
BR, Sergey
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional