You need to sign in to do that
Don't have an account?

Custom object child - Can only retrieve business account name
We use Person Accounts
A new custom object which is a child of opportunity exists (Receipts)
Within Receipts I have defined a new formula field to return Account Name (using opportunity__r.Account.Name)
This works when the account is a business account. For a person account no value is returned.
Can anyone cast light on this please ?
Anthony
Not sure why your formula isn't returning data. Opportunity__r.Account.Name works in my org. You could try getting the first and last names individually, and then concatenating them if needed.
i.e. Opportunity__r.Account.FirstName + Opportunity__r.Account.LastName
All Answers
Not sure why your formula isn't returning data. Opportunity__r.Account.Name works in my org. You could try getting the first and last names individually, and then concatenating them if needed.
i.e. Opportunity__r.Account.FirstName + Opportunity__r.Account.LastName
Thanks for the suggestion which worked out well. Still no idea why in my org my original code doesn't work. As usual with SF bugs no time to check and play.... :-)
This is some relevant info about this topic:
http://boards.developerforce.com/t5/Formulas-Validation-Rules/Cross-object-formula-not-returning-Person-Account-Name-just/m-p/589801/thread-id/17952#M17974