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, ...
Unanswered

Call form data source method in extension x++

(0) ShareShare
ReportReport
Posted on by 169
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 ?
  • Martin Dráb Profile Picture
    241,515 Most Valuable Professional on at
    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
    169 on at
     
    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
    241,515 Most Valuable Professional on at
    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
    169 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Martin Dráb Profile Picture

Martin Dráb 445 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 309 Super User 2026 Season 2

#3
CU29091230-0 Profile Picture

CU29091230-0 192

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans