The ability to use fields from related objects within a mail merge template is available although it does have some restrictions. Currently the mail merge functionality will allow use of fields from a related object, but only if this record has a relationship through a lookup field with the object being merged. If this record is displayed through a related list then the fields on the primary object will populate correctly but those of the related object will not.
This article explains why fields from related objects sometimes populate successfully in a mail merge, and why they don't in other scenarios, based on the type of relationship between the objects involved.
Related lists associate the record with multiple associated records. Because of this "many" association (regardless of the actual associated record count), the mail merge is unable to specify which record to pull values from, and will not populate any fields for the related object.
When working with a custom object, there needs to be a Master-Detail (Parent-Child) relationship between the objects. If this relationship is set as a lookup instead, the values from the secondary object will not be included in the merged document.
When running a merge from a Contact record, you can include fields from the related Account record. The relationship from the Contact to the Account allows only one Account, so the merge completes successfully.
Attempting the same merge from an Account record results in a multiple-record relationship, since there can be several Contacts on a single Account. This causes the merge to populate the Account data, but none of the Contact information will display.
There is one exception to this behavior. When using Contact details within an Opportunity mail merge, a specific Contact can be selected to merge the details from.
000384840

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.