Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Risk event Entries and Risk event Currency convention

armanoj
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