Skip to main content

Notifications

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 ?
  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 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 
  • Martin Dráb Profile Picture
    Martin Dráb 230,900 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
    Menna Allah Ahmed 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
    Martin Dráb 230,900 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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans