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, ...
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
    237,722 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

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 687 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 403 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans