Leslie continues here look at SQL 2012 with T-SQL 2012: CHOOSE and IIF.
Dynamics Confessions Blogspot: T-SQL 2012: CHOOSE and IIF
Archived post from 2013. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.