SOLVED Defaults overridden in data entry by rules when savin

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2450
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

SOLVED Defaults overridden in data entry by rules when savin

Post by Jaymer »

In data entry, I enter an item # and rules set some default values from my product master.
When I save, the manual says that rules fire again when the form is submitted.
Problem is that I see my fields reset to the defaults (cause the rules fire again).

how can I prevent this?

jaymer...
Last edited by Jaymer on Sun Mar 20, 2016 4:26 am, edited 1 time in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Defaults overridden in data entry by rules when saving

Post by weblike »

Try to check the "Do not use rule anywhere else" (advanced tab of a Rule)
Should help
Attachments
Selection_019.png
Selection_019.png (8.93 KiB) Viewed 3749 times
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Jaymer
Posts: 2450
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Defaults overridden in data entry by rules when saving

Post by Jaymer »

Yes,
that did it.
Vlad told me 2 days ago.
I think the wording on that could also be "Execute on client only". that may be confusing to some ppl though. In the user guide, it says that rules are evaluated when the form is submitted - so thats why my defaults were getting set back.

Vlad wrote this:
"Ticking this box makes sure that the rule is ONLY executed on the client and not on the server."

thx
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: SOLVED Defaults overridden in data entry by rules when s

Post by tford »

Vlad wrote this:
"Ticking this box makes sure that the rule is ONLY executed on the client and not on the server."
Thanks for sharing Vladimir's definition of this setting. Will have to keep this in mind as I write new applications.
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply