Calc group migration validations
Additional validations are enforced during calc group migration. These validations are performed during the Compare and Import phases.
During export, the value specified on the CALC_GROUP_EFFECTIVE_DATING registry parameter is added to the migration XML and validated against the target environment.
| Scenario | Type | Message | Condition |
|---|---|---|---|
| Registry value missing from migration XML | ERROR | Unable to find '{regName}' in migration XML. Please create a new migration. | Can occur if the migration was created before the upgrade |
| Invalid registry value in migration XML | ERROR | Error parsing '{regName}' registry from migration XML. Expected boolean but got '{value}' instead. Please make sure the registry is set correctly in the source environment and create a new migration. | Safeguard only |
| Invalid registry value in target environment | ERROR | Error parsing '{regName}' registry. Expected boolean but got '{value}' instead. Please make sure the registry is set correctly. | Safeguard only |
| Registry value is TRUE in XML and FALSE in target | ERROR | There is a mismatch in '{regName}' registry value between source and target. Source: '{src}'. Target: '{tgt}'. This migration cannot be applied. Please make sure the registries match between source and target environments and create a new migration. | Migration is blocked |
| Registry value is FALSE in XML and TRUE in target | WARNING | There is a mismatch in '{regName}' registry value between source and target. Source: '{src}'. Target: '{tgt}'. Proceeding with migration might overwrite existing calc group histories. Please verify the operations to be performed before scheduling the migration. | Migration proceeds with warning |
When migrating a calc group that does not exist in the target environment, the Data Migration tool validates that the exported effective-dated histories fully cover the required date range: 1900-01-01 through 3000-01-01
This validation applies only to new calc groups. It does not apply when migrating calc groups that already exist in the target environment.
If gaps are detected in the effective-dated histories, the comparison fails and the following error message is displayed:The migration of Calcgroup(s) {X} is invalid because the histories do not cover the full required period (1900-01-01 to 3000-01-01). When inserting a new calc group, the histories must span the entire date range without gaps.