Each column has a lookup name. For a custom column, it will start with a "#". You don't enter this when creating a custom column, but, all references to it need it. Once you have the lookup name correct, it is used in the same way as an inbuilt column.
For example, if you created the column as "od_holds", then simplest template with it would be: