Skip to main content

Notifications

Supply Chain Management forum
Unanswered

get data from edit method in form extension

Posted on by
Hi
 
I created an extension to the PriceDiscAdmSearch Form. It's a checkbox. it is an edit method not bound to a datasource or table so it is a form method.
For the PriceDiscAdmSearch class I created an extension as well and added a parmMethod. This is called from the Formextension closeOK - Method (like the standard is doing it)

the standard field are working fine but the value in the class set by is always false even when I set it to true. 
 
Any ideas where this issue comes from and how to solve it?

 
  • Martin Dráb Profile Picture
    Martin Dráb 229,021 Most Valuable Professional on at
    get data from edit method in form extension
    You can't expect us to find a bug in code that we're never seen or where you're checking the value.
     
    Instead, use the the debugger to see where thing go wrong. For example, check if you're correctly passing the value in closeOK(). It'll tell you whether you need to look for a bug in the logic before this assignment, or this part works and you need to look at later stages.
     
     

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

News and Announcements

Forum Structure Changes Coming Soon!

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,734 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,021 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans