Validation and execution
The specified Cycle Period is completed for the selected Cycle and the status of the
Cycle Period is set to Completed on successful execution and validation
of the macro.
These are the execution rules:
- All editable scenario within the Cycle Period must be saved (revert to read-only) before executing the macro.
- On completion, the running workflows for the Cycle Period or Scenario are stopped.
- If the Cycle Period parameter is defined, the selected cycle period is completed. Note: The status of the Cycle Period must be Running.
- If the Cycle Period parameter is not defined, the currently running Cycle Period for the specified Cycle is completed.
- If the Cycle Period parameter is not defined and the Cycle Period with status Running is not available for the selected Cycle, the macro fails to execute.
- If the Scenario to Publish parameter is defined, the scenario which can have any status is published.
- If the Scenario to Publish parameter is not defined, and the Publish module contains a single scenario, then this scenario is published regardless of the current status.
Note: The Publish Module is the last module in the sequence Finance,
Demand, Supply, Integrated with location hierarchy and scenario defined for the Cycle.