Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Risk event Entries and Risk event Currency convention

Arun_Manoj
Mega Sage

Hi ,

 

In Risk event , Risk event entry added in EUR and Net loss calculated in $ USD,

 

glide.i18n.single_currency= false

glide.i18n.single_currency.code=USD
 
are two properties in global, But when the property glide.i18n.single_currency.code changes then Net loss calculation changes.
 
there is Script include -GRCRiskEventBase
protected certain Function in this script determine the currency code and currency
 
getSingleCurrencyCode: function() {
        return this._getSingleCurrencyCode();
    },
 
return function can't override due to private .
 
how I can override the OOB Script include?
 
0 REPLIES 0