Validation and error messages

This table lists the Source Cycle Period status and the related validation messages:

Source Cycle Period Status Source Scenario Status Can Execute? Validation Message
Pending N/A No Cannot run macro {0} because Cycle Period has status "Pending".
Running Any Yes N/A
Paused Any Yes N/A
Completed Any Yes N/A
Aborted Stopped Yes N/A
Archived Any No Cannot run macro {0} because Cycle Period has status "Archived”

This table lists the Destination Cycle Period status and the related validation messages:

Destination Cycle Period Status Destination Scenario Status Can Execute Validation Message
Pending N/A No Cannot run macro {0} because Cycle Period has status "Pending"
Running WIP Yes N/A
Running Review, Rejected, Stopped, Approved, Published No Cannot run macro {0} because Scenario has status {1}
Paused Any No Cannot run macro {0} because Cycle Period has status "Paused"
Completed Any No Cannot run macro {0} because Cycle Period has status "Completed"
Aborted Stopped No Cannot run macro {0} because Cycle Period has status "Aborted"
Archived Any No Cannot run macro {0} because Cycle Period has status "Archived”

Validation is performed when you execute the CopyScenarioData macro. If validation fails, the macro is aborted, and the related error message is displayed.

This table lists the error messages displayed for various validation failures:

Validation Condition Error Message
Ensure that the source measure is valid, editable for this cycle period (Internal, Published or Subscribe) and Enabled. Source measure "{0}" cannot be found.
Ensure that the destination measure is valid, editable for this cycle period (Internal or Published) and Enabled. Destination measure "{0}" cannot be found.
If specified, ensure that the item nodes are valid. item {0} cannot be found.
If specified, ensure that the location nodes are valid. location {0} cannot be found.
If specified, ensure that the period nodes are valid. period label {0} cannot be found.
When source scenario is same as current scenario ensure that the source and destination measures are different, and the destination measure is not Null (this implies that the source and destination measures are the same). Destination measure must be different to source measure when copying within the current scenario.

Ensure that if the source measure is Null, the destination measure is also Null. Null implies copying all measures.

Destination measure must be null when copying all measures.
If specified, ensure that the Overwrite flag is valid. The value must be True or False. Invalid parameter value {0}. Must be true or false.
If the "Destination measure" is of Transactional Data/Order type, the "Source measure" must also be of Transactional data type. Cannot copy from a non-Transactional Data/Order Measure to a Transactional Data/Order Measure.
If the "Destination measure" is of Market Intelligence type, the "Source measure" must also be of Market Intelligence type. Cannot copy from a non-Market Intelligence Measure to a Market Intelligence Measure.