Notifications

148 views

Symptoms


Using the g_form.setValue() method in this particular format does not clear out the value in a currency field:

g_form.setValue("my_currency_field", "") or g_form.setValue("my_currency_field", "", "")

Release


Istanbul and beyond

Cause


The setValue() method is not used properly for currency fields

Resolution


Use one of the following formats to clear a value for currency fields:

1) g_form.setValue("my_currency_field", "NULL")

2) g_form.setValue("my_currency_field", "0.00")

Additional Information


How to use different currencies on an instance

Article Information

Last Updated:2018-06-01 00:57:07
Published:2018-05-22