In stored procedure Procedure SP_FlagTests_CY, there is a reference to a column BaseSolvencyBuffer_CYMinus1, and that column cannot be found in the context of the query.
If you show us the content of the proc, we may be able to offer more assistance.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin