Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Box::YesNo confirmatio...
Finance forum
Unanswered

Box::YesNo confirmation issue

Posted on by 70
Hello,
 
I have following problem:
When modifying one amount field, I have confirmation dialog box that if you press Yes should calculate and update other amounts.
 
I wrote the logic on form datasource field modified method.
 
The thing is that Box class causes problems.
When NoYes method is called it updates record values even before pressing yes on dialog.
Because that method calls formrun.wait method and wait calls write method and write calls update where record gets updated before confirmation.
And then when I press yes it gets updated with old values.
 
When I remove dialog box everything gets updated correctly.
That can be a solution but this behavior of the system is very weird.
Did anyone encounter similar issue?
 
Thanks
 
 
Categories:

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

Give Back to the Community this Month

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,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans