Typecode alias conversion in templates

As you write integration code in Gosu templates, you may also want to use PolicyCenter typelist mapping tools. PolicyCenter provides access to these tools by using the $typecode object.

typecode.getAliasByInternalCode("LossType", "ns1", policy.PolicyType)

This $typecode API works only within Gosu templates, not Gosu in general.

In addition, you can use the TypecodeMapperUtil Gosu utility class.