Data Directive Field has been changed from any to True

I added a ud field to the RcvDtl table and have a Data Directive (in-transaction) with the condition:
“The ttRcvDtl.TestField_c field has been changed from any to True”

After the condition some custom code is executed.

Problem is it is executing every time I do a save or delete.
I epibinded to a checkbox the field ttRcvDtl_TestField_c but and haven’t even touch the checkbox yet. It’s always triggering. Any idea on this one?

Did you also add a condition to only process Changed Rows? Because Epicor will also send “Unchanged” Rows also known as the “Original Row”.

1 Like

hasokeric-
Thanks for your reply.
I was able to get it working by adding to the condition. Now it has:
the x field has been changed from x to x
AND the x field of the updated row is equal to the x expression
OR the x field of the added row is equal to the x expression
OR the x field of the deleted row is equal to the x expression

It works perfectly now. I appreciate your help!