I created this simple condition that pops up a message. However, the message pops up twice. Not sure what is causing this. Thanks for the help.
Is that method firing twice?
It shouldnt be. I wouldnt know where to check for that.
Trace log of whatever transaction this is built on will tell you what methods are firing.
I am not using Method Directives. I’m using data directives.
Ok, so it’s on POHeader.Update I’m guessing? Certain form events will call the Update() method several times, so that’s my guess
if you only want it one time, then you need a “one time event”… such as "The ttPOHeader.Approve field of the Changed Row CHANGED FROM FALSE TO TRUE
In your case… they way you have it programmed, every time the update is run, it will pop the message if the PO is approved and the order is more than 100000.
Here is a slightly different flavor of the same question.
I want a pop-up message to display when value of the Unit Price = 0. Using the “when = 0” condition, I get the double pop-up. However the “changed from any to 0” doesn’t really work, either, because for some of the parts, the default unit price IS 0. I want to ensure that there is a warning if the salesperson neglects to change it.
Any thoughts on this?
Thanks.
