I am trying to build a case/if statement in a JOIN ON clause.
JOIN ON
LEFT JOIN [CTSTRC] [Statuses] ON RIGHT([Statuses].[STRID], 3) = [CTE].[F61]
You can try to create an expression column in the Statuses table that converts the right 3 characters to a number and then try to join on the expression column.