CopyPlanningEngine macro
The CopyPlanningEngine macro is used to create a copy of the existing Planning Engine. This macro is executed at system levell.
This table lists the parameters used to execute the CopyPlanningEngine macro:
Parameter | Description |
---|---|
Source Planning Engine name |
The source Planning Engine based on which the new Planning Engine is to be created. |
Planning Engine name |
The name of the Planning Engine to be created. Allows variables such as %source%, %date%, %time%, %datetime%, %PlanningEngineCycle% and application variables. For Example Weekly Supply_%date%, can be used.create Planning Engine "Weekly Supply_20200327". Note:
To view the list of available parameter variables, See Parameter variable. |
Planning Engine Display name |
The display name of the Planning Engine to be created. Allows variables such as %source%, %date%, %time%, %datetime%, %PlanningEngineCycle% and application variables. For example Weekly Supply_%date%, can create Planning Engine "Weekly Supply_20200327". Note:
To view the list of available parameter variables, See Parameter variable. |
Category |
The category name of the Planning Engine to be created. Note: If this value is not specified, the category defined for the source Planning
Engine is used.
|
Stop on End Status |
Stop on End Status decides the status of the macro which cause the macro to stop. Stop on End Status can be set as specified:
|
The value of the Command field must be specified in this format:
CopyPlanningEngine(Source Planning Engine name, Planning Engine Name, [Planning Engine Display Name], [Category],[Stop on End Status]).