Validation and execution

The copy of the existing Planning Engine is created on successful validation and execution of the macro. The name specified in the Planning Engine parameter is considered as the name of the new Planning Engine.

The macro can be configured to ensure that the master planning engine of cycle is copied, without specifying the source planning engines name.

The Planning Engine name and Planning Engine Display name parameters may use variables which assist in determining the Planning Engine name and display name. Typical parameter variables used are:

  • %date%: UTC date at run-time in ‘yyyymmdd’ format
  • %time%: UTC time at run-time in ‘hhmiss’ format (24-hour clock)
  • %datetime%: UTC date and time at run-time in ‘yyyymmdd hhmiss’ format
  • %planningengine%: The planning engine specified in the job scheduler that is used when the CopyPlanningEngine macro is executed through job scheduler. However, this parameter variable is derived from the context of the planning engine when the macro is executed on the Planning Engine Details screen in the Process menu
  • %PlanningEngineCycle%: The name of the Planning Engine cycle specified in the job scheduler that is used when the CopyPlanningEngine macro is executed through the job scheduler. When executed from the Planning Engine Details screen in the Process menu the planning engine cycle is derived from the context of the selected planning engine.
  • %pesource%: The planning engine name of the source planning engine to be copied
  • Application variables can be used and are substituted at run time.
  • For additional parameter variable. See, Analysis Cycle parameter variables.

The Planning Engine includes all the information from the source Planning Engine and can be modified. The value of Category is overwritten with the value specified in the Category parameter, if defined. Else, the Category of the source Planning Engine is considered.

The value of Display Name is overwritten with the value specified for the Display Name parameter. Else, the Display Name is not populated.