Typecode maximum length and trimmed typecodes

If the length of a product model typecode in PolicyCenter exceeds 50 characters, PolicyCenter trims the code before sending the code to the claim system in a policy search. To perform this trimming, PolicyCenter uses the static method getCCTypeCodeForPMType in the CCProductModelCodeMappingUtil class. PolicyCenter trims the public ID of the item to create the typecode for both generating the typelist and later mapping values during policy retrieval.

If possible, avoid having codes that exceed the maximum length because you cannot guarantee that a trimmed code is unique. If you must use longer codes, customize the logic of getCCTypeCodeForPMType to use a different approach, or add special cases to generate unique values.