Found this on epicweb. Looks like it might address what you are talking about below:
Summary:
PC Tabbing through a field does not execute onleave expression.
Detail:
Page: 14756MPS
Product Configurator functionality change in 9.05.607
Tabbing through a field does not execute onleave expression.
For performance reasons a change was made in the behavior of runtime configurator screen in Epicor 9.05.607. Tabbing through an input without changing the value does no longer trigger its onleave expression. Users were complaining that onleave expressions we executed while no changes were made causing significant performance issues.
For example prior to 9.05,607 if two or more fields are necessary for a calculation and users are expected to always tab through that last field to recalculate the expression value then the onleave expression only needed to be added that last input field. After 9.05.607, this will no longer work but there is a better alternative solution.
Prior to 9.05.607:
- Three input fields: - iLength, iWidth, iHeight
- Disabled result input: iVolume
- Expression of input field iHeight: iVolume = (iLength * iWidth * iHeight).
If users are changing values of iLength or iWidth no calculation of iVolume occurs. The calculation only occurs when changing the value or tabbing through iHeight.
Starting with 9.05.607 tabbing through iHeight will no longer recalculate iVolume which might be undesirable as iHeight does not necessarily to change.
Recommended solution for 9.05.607 and beyond:
Put the onleave expression in each of the three input fields by using an include file. The use of the include file provides a single location for the code.
- Create a text file in the ..\server\ud folder: in this example it is named calcVolume.i
- The content of the text file is: iVolume = (iLength * iWidth * iHeight).
- The line must end with a carriage return or a line feed after the dot.
The onleave expression of the three inputs iLength, iWidth and iHeight should reference the included file as follows: {ud\calcVolume.i}
With this solution, any change of iLength, iWidth, iHeight will recalculate the value of iVolume immediately.
Thanks,
Jeff Purvis
J&T Distributing
859-745-7956
www.jtfoc.com
Summary:
PC Tabbing through a field does not execute onleave expression.
Detail:
Page: 14756MPS
Product Configurator functionality change in 9.05.607
Tabbing through a field does not execute onleave expression.
For performance reasons a change was made in the behavior of runtime configurator screen in Epicor 9.05.607. Tabbing through an input without changing the value does no longer trigger its onleave expression. Users were complaining that onleave expressions we executed while no changes were made causing significant performance issues.
For example prior to 9.05,607 if two or more fields are necessary for a calculation and users are expected to always tab through that last field to recalculate the expression value then the onleave expression only needed to be added that last input field. After 9.05.607, this will no longer work but there is a better alternative solution.
Prior to 9.05.607:
- Three input fields: - iLength, iWidth, iHeight
- Disabled result input: iVolume
- Expression of input field iHeight: iVolume = (iLength * iWidth * iHeight).
If users are changing values of iLength or iWidth no calculation of iVolume occurs. The calculation only occurs when changing the value or tabbing through iHeight.
Starting with 9.05.607 tabbing through iHeight will no longer recalculate iVolume which might be undesirable as iHeight does not necessarily to change.
Recommended solution for 9.05.607 and beyond:
Put the onleave expression in each of the three input fields by using an include file. The use of the include file provides a single location for the code.
- Create a text file in the ..\server\ud folder: in this example it is named calcVolume.i
- The content of the text file is: iVolume = (iLength * iWidth * iHeight).
- The line must end with a carriage return or a line feed after the dot.
The onleave expression of the three inputs iLength, iWidth and iHeight should reference the included file as follows: {ud\calcVolume.i}
With this solution, any change of iLength, iWidth, iHeight will recalculate the value of iVolume immediately.
Thanks,
Jeff Purvis
J&T Distributing
859-745-7956
www.jtfoc.com
----- Original Message -----
From: gmack110256
To: vantage@yahoogroups.com
Sent: Tuesday, November 06, 2012 12:23 PM
Subject: [Vantage] E9 Configurator
I am going to put this out here again and see if anyone has ran into the same thing. It appears that the OnLeave set up in E9 does not trigger the same as it did in Vantage 8.
This simple rule is in the decTW OnLeave Field.
decTW = dec128w + dec64w + decHR128w.
In Vantage 8.03 this would trigger by simply tabbing out of the decTW field without any input.
In E9 the only way to trigger the rule is to input any positive value in the decTW field then tab out.
It appears that the OnLeave is acting more like a OnChange then simply an OnLeave rule.
Any Comments would be greatly apperciated.
Thank you
Gene
[Non-text portions of this message have been removed]