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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Vaildatewrite and Checkbox

(0) ShareShare
ReportReport
Posted on by

good day all,
So my problem is….  my code ofc runs but runs whether the checkbox remains at false or its been turned false it runs always

i'll drop a pseudocode 
 

ttsbegin;
if (this field is no)

{

deletefrom this table where thisfield is this…..
}

if (this field2 is no)

{

deletefrom this table where thisfield is this…..
}

 

is there a way to let this condtion run only when it detects the field has been modified?
please help

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    240,216 Most Valuable Professional on at

    If it's an update, you can use orig() method on the table buffer to get previous values. For example:

    if (this.Field1 != this.orig().Field1)

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

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 98 Super User 2026 Season 1

#2
Sagar Suman Profile Picture

Sagar Suman 72 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 71 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans