Validation and execution

The selected planning engine is deleted on successful validation and execution of the macro. These are the validation rules:

  • User must have access to the specified Planning Engine to be deleted.
  • One of these parameters must be specified:
    • Planning Engine name
    • Category
  • The ‘Stop on end Status’ parameter decides whether the macro step can be ignored or whether it will force the entire macro to stop, if a validation fails. There are 3 levels of validations as specified:
    • None = Macro step is ignored if any validation fails.
    • Warning = Macro step fails if validation at levels Warning or Error are encountered.
    • Error = Macro step fails only if validation of level Error is encountered.
  • Upon successful validation the Planning Engine is deleted and any notes associated with the Planning Engine will also be deleted.

Examples

Requirement Parameters
Delete all planning engines DeletePlanningEngine("","","")
Delete the planning engine "Weekly Supply Plan FY19 W29" DeletePlanningEngine("Weekly Supply Plan FY19 W29","","")
Delete all planning engines with the Category "Weekly Supply" DeletePlanningEngine("","Weekly Supply","")