+ Start a Discussion
Kathleen IvanoffKathleen Ivanoff 

We have a custom text field on account called Ultimate_parentid__c that contains the SF ID of the account at the top of the hierarchy. Is there a way to get the owner of that ultimate (highest) account using an account SF ID from within the hierarchy?

Alain CabonAlain Cabon
Ultimate_parentid__c must be a lookup field.

Label: Ultimate parentid = Name: Ultimate_parentid__c = Type: Lookup(Account)

Ultimate_parentid__r.Owner.FirstName + ' ' + Ultimate_parentid__r.Owner.LastName

should work given that : Parent.Owner.FirstName + ' ' + Parent.Owner.LastName is correct.