Name

sn_risk.RiskUtils

Description

Unprotected Script Include for client modification.

Script

var RiskUtils = Class.create();
RiskUtils.prototype = Object.extendsObject(RiskUtilsBase, {
  /** Override base class functions here. For example:
   
  //Override Calculated score to ensure incraments of 25%
  getCalculatedScore : function(grInherentScore, grResidualScore, percent_pass, total_tests) {
  	var pct = [0, 25, 50, 75, 100];
  	var i = Math.round(4 * percent_pass / 100);
  	return this._getCalculatedScore(grInherentScore, grResidualScore, pct[i], total_tests);
  },
    
  ***/
  
  type: 'RiskUtils'
});

Sys ID

8dcdbe21cb200200829cf865734c9cab

Offical Documentation

Official Docs: