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...
SOLVED Defaults overridden in data entry by rules when savin
SOLVED Defaults overridden in data entry by rules when savin
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
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Defaults overridden in data entry by rules when saving
Try to check the "Do not use rule anywhere else" (advanced tab of a Rule)
Should help
Should help
- Attachments
-
- 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
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Defaults overridden in data entry by rules when saving
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
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
Jaymer
Aware Programming & Consulting - Tampa FL
Re: SOLVED Defaults overridden in data entry by rules when s
Thanks for sharing Vladimir's definition of this setting. Will have to keep this in mind as I write new applications.Vlad wrote this:
"Ticking this box makes sure that the rule is ONLY executed on the client and not on the server."
Tom - V8.8 build 3137 - MySql / PostGres