Change InvDocumentSubType internal properties with ObjectTypeEnum return types to new system.
Change InvDocumentTypeEnum from class to enum.  EnumExtensions provides generic 'As<T>' method for moving between wrapper and api enum.