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

How to add code in a FORM which is an extension from Microsoft feature ?

(0) ShareShare
ReportReport
Posted on by 596
Hi all,
 
I'm activate Subscription Billing feature, and in that regards there are few form on this model.
Question is how to add code to that form ? for example in SalesTable form there is a button Deferrals which only exist in that Subscription Billing model.
And I already have an extension to this SalesTable form long time ago, before this Subscription billing model exist, and as far as I know, we only extend from the original form.
 
Thanks
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,738 Most Valuable Professional on at
    It's not clear to me what you need from us, so let me give you a few different answers:
    • You model needs a reference to Subscription Billing model if you want to work with elements from there, e.g. the extension of SalesTable form.
    • To extend forms, you have several options, depending on what you're doing. You can create extension classes (for forms, data sources, controls), subscribe to events, extend objects called by buttons and so on.
    • If you want to extend the logic of Deferrals button and you mean SubBillDeferralsButton control, notice that it's a menu item button. Usually, you should extend the object called by the menu item and not the form containing the button. In this case, the button opens SubBillDeferralTransactionDeferral form.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    If your question is as stated in your title, then, here are the articles for you to review:
    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/customization-overlayering-extensions#form-extensions
    Dynamics Community Blog Post Details
    Best Regards,
    Hana
  • Suggested answer
    Arunraj Rajasekar Profile Picture
    1,743 on at
    Hi Voltes,
     
    If i understand your question correct, you want to utilize the elements from new subscription billing. Add new model as one of the reference model to your custom model. Make sure you have condition to check if the feature is active or not before executing the code related to features elements.
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans