Defining a macro to call the forecast engine
You can define a macro that is used to call the supported forecast engines. The macro can be used as a dynamic command to generate forecasts for the current context data or to create a batch call.
To define a macro to call a forecast engine:
- Select Configuration > Cycle > Macros.
-
Click
New. Specify this
information:
- Name
-
Specify a macro name.
- Type
- The type of macro; specify Scenario.
- Specify the Users or Roles.
- On the Details tab, click New.
-
In the
Step
window, specify this information:
- Command
- Specify the CallForecastEngine command and the parameters, based on your
requirements, in this format: Engine Name, [Algorithm], [Spreading Measure
Code], [Item Hierarchy level], [Item Hierarchy selection], [Location
Hierarchy level], [Location Hierarchy selection], [Period level], [SMP
Measure], [Optimize]. For example,
CallForecastEngine("BATS engine","","TUPLE_EXISTS","Brand","Brand A","Region","US","Months")
.Note:- The data security rules for the user executing the macro, are applicable when determining the item and location elements that must be passed to the forecast engine. The access is based on the settings for the location, and also the item and location hierarchy level.
- An error message is displayed, if you are not authorized to access the selected elements in the macro.
- Description
- Specify a description.
- Click Submit.