Validation and error messages

Validation is performed when you execute the CompleteCyclePeriod macro. If the validation fails, the macro execution is aborted, and the related error message is reported in the audit log and job manager.

This table lists the error messages for various validation failures:

Validation Condition Error Message
Check that the scenario passed exists and the scenario exists in the appropriate "publish module". This is the last module in the sequence (Finance, Demand, Supply, Integrated) with a location hierarchy and scenario defined for this Cycle. Else, an error is displayed. Scenario {0} cannot be found for module {1}.
If the scenario is not passed and there is no Approved scenario for the publish module and the scenario count for this module > 1, the macro command fails to execute with an error. Cannot determine scenario to publish. Approve a scenario for module {0} or specify the scenario to Publish.
If the specified cycle period or scenarios are unavailable (in processing) and the specified time out period reached, the macro command fails to execute with an error.

Time out of {0} seconds was reached before completion of macro step. {0}.

Where {0} = error reason for time out.

If specified, check the cycle period exists. Cycle period "{0}"-"{1}" cannot be found.
If the cycle period is not specified and the running cycle period does not exist for the specified cycle, an error occurs. Cycle "{0}" has no running cycle period.
Complete is possible where the specified cycle period has status = Running. Cannot complete cycle period {0} because the status is not Running.