The following diagnostic is generating:
The year of the spouse's date of death must equal either {CurrentTaxYear} or {NextTaxYear}.
Solution:
This diagnostic is triggered when entering a spouse’s date of death that does not fall within the current or next tax year. For example, if you're preparing a return for 2024, the software expects the spouse’s date of death to be in 2024 or 2025. If the entered year is earlier (e.g., 2022), this diagnostic will appear.