CDISP0438E

Only the static type definitions can be accessed with dot notation, but the type name type is not static.

A reference to a type that uses a [namespace::]composite.typeName definition is valid only if the typeName is defined as a static type.
Ensure that the typename is static.