mikeg22 wrote:
I just tried to do it with an LPT template using the relation.UtilizingPropertyName, but that returns an incorrect answer in an entity inheritance scenario (where the related entity is part of a hierarchy)
The end entity (related entity) is always the entity to which the relation is with, so if Customer has a relation with Order, then Order is the end entity, and if Order has a subtype, that's not important, nor do you get that entity.
Though did you loop over HierarchyRelations or Relations ?