CUSTOM_FORECAST_CALCULATOR

Description:

This parameter allows project teams to implement a custom forecast calculator by extending the com.workbrain.app.modules.retailSchedule. model.ForecastCalculator class to provide a custom implementation.

You must implement the generateForecastDetails() method, where you can use any custom algorithm, as long as you return a list of ForecastDetail objects containing the forecast details. You must also implement the getSpecialDaysInForecastCurrentWeek() method, where you return the set of special days that fall within the forecast range, keyed by a string representation of the date.

For more information, see the JavaDoc within the ForecastCalculator class.

To use the custom calculator for a forecast, select custom in the Forecast Method drop-down list when defining the forecast for a location (SCHEDULING/SCHEDULE Optimization/Location and click Forecast). Then, set the CUSTOM_FORECAST_CALCULATOR parameter to the fully-qualified class name representing the new forecasting algorithm.

Valid Values:

a fully-qualified classname

Default Value:

blank

Location:

SYSTEM/MODULES/SCHEDULEOPTIMIZATION

Effective:

n/a