web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Call form data source method in extension x++

(0) ShareShare
ReportReport
Posted on by 163
I need to call EditMarkTrans method that's exist in (VendOpenTrans) form and (VendTransOpen) data source in extension of formcontrol (when I click on mark trans control call this method )
how can I do this ?
I have the same question (0)
  • Martin Dráb Profile Picture
    236,879 Most Valuable Professional on at
    Call form data source method in extension x++
    How to call it depends on where you want to call it from. Please add this information.
     
    It will help if you start by explain your business scenario.
  • Menna Allah Ahmed Profile Picture
    163 on at
    Call form data source method in extension x++
     
    I got an error on line 42 so How can I call it ?
    This code to mark all transaction related to invoice number so I need to call this method .
    or if There is any another method also can you tell me ?
  • Martin Dráb Profile Picture
    236,879 Most Valuable Professional on at
    Call form data source method in extension x++
    You're extending clicked() method of MarkupTrans checkbox and you want to call editMarkTrans() method, but the method will be called automatically, because it's the data source of the checkbox. If you want to change the behavior, why don't you simply extend editMarkTrans() itself?
  • Menna Allah Ahmed Profile Picture
    163 on at
    Call form data source method in extension x++
    this method called on click on check box I need when I click on one loop on all line and mark them by this method 

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 620

#3
Martin Dráb Profile Picture

Martin Dráb 563 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans