Validation and error messages
This table lists the Source Cycle Period and Scenario 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 and Scenario 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 | 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 CopyMIEvent 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 |
---|---|
Validation checks on destination node when "Use Destination Hierarchies" is True. | destination {0} hierarchy node "{1}" cannot be found. |
Validation checks on source node when "Use Destination Hierarchies" is False. | Source {0} hierarchy node "{1}" cannot be found. |
Validation checks on destination period label when "Use Destination Hierarchies" is True. | destination period label "{0}" cannot be found. |
Validation checks on source period label when "Use Destination Hierarchies" is False. | Source period label "{0}" cannot be found. |
Check the source cycle period is available. Else, the execution of macro steps fails with a warning message. | Source cycle period "{0}"-"{1}" is not available (Archived). |
Ensure that the specified source measure is valid for this cycle period and Enabled. | Source measure "{0}" cannot be found. |
Ensure that the specified destination measure is valid for this cycle period and Enabled. | Destination measure "{0}" cannot be found. |
Ensure that, if source measure is Null, the destination measure is also Null. Null implies copying all measures. |
Destination measure must be null when Source measure is null. |
Ensure that the source and destination measure are of Market Intelligence type (if specified). | Measure {0} must be of type Market Intelligence. |
If specified, ensure that the source module is valid and defined for the current cycle period. | module "{0}" cannot be found. |
Ensure that the MI Event Item exists at the destination. | MI Event contains data for Item {0} which does not exist at destination. |
Ensure that the MI Event Location exists at the destination. | MI Event contains data for Location {0} which does not exist at destination. |
Ensure that the MI Event Period (and its base periods) exists at the destination. | MI Event contains data for Period {0} which does not exist at destination. |