Hello,
I have been trying to set my currency values to default to blank, but they keep defaulting back to $0.00. Any way I can work around this? I'm using Sugar On-Demand Enterprise, version 7.11.1.0.
Thanks in advance,
Raul
Hello,
I have been trying to set my currency values to default to blank, but they keep defaulting back to $0.00. Any way I can work around this? I'm using Sugar On-Demand Enterprise, version 7.11.1.0.
Thanks in advance,
Raul
Hi Raul Munoz
The default currency value is defined at clients/base/fields/currency/currency.js by the method format the way whenever the currency field value is null or empty it is set to 0, which is format to "0.00".
If you want to globally set it as blank/empty then you need to extend the BaseCurrencyField (custom/clients/base/fields/currency/currency.js) and override the method format accordingly.
But if you want to make this change to a specific set of currency fields so you can do that through SugarLogic formula at Studio.
Regards
Hi Raul Munoz
I am having the same issue while updating a currency field from REST API. Have you checked this issue has been fixed in next releases or do you have any work around for this?
Regards,
Selva
Hi Raul Munoz
I am having the same issue while updating a currency field from REST API. Have you checked this issue has been fixed in next releases or do you have any work around for this?
Regards,
Selva