AnsweredAssumed Answered

An issue with Custom Dialog Entrey Fields not storing value

Question asked by bobjtls on May 24, 2016
Latest reply on May 24, 2016 by Mike_Mitchell

I have written a script to calculate a foreign currency amount based on an exchange rate. I store the exchange rate as a global field.


I allow the user to specify whether to do the calculation to all records in the found set or only the current record.


Screen Shot 2016-05-24 at 5.30.25 PM.png

If I specify current record only and add a value for exchange rate, everything works fine.


However, if I specify all records in the found set and specify a value for the exchange rate, the value used is the value stored in the field prior to invoking the script and the new value is not stored. Adding a commit step after the calculation does nothing. I have also tried Set Field instead of Insert Calculated Result and that does not work either.


The script above has the custom dialog with TLSA_ExchangeRate as the Input Field.