web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Word templates - How to use "Sales Line" as related entity?

(0) ShareShare
ReportReport
Posted on by 397 User Group Leader

Hello, does anyone have experience about how to get data from a related entity?

I set everything - see blow - but didn't get any data from the Sales Line - Sales Header is working!

btw -  is it possible to repeat merge fields? would be necessary for the sales lines...

Just found that: https://kb.realpage.com/articles/Instructional/Adding-a-Repeater-Merge-Field-to-a-Word-Document - 

Have a nice day! Thank you.

Tom

Sales Header as main entity:

pastedimage1659524345534v1.png

Set related entity:

pastedimage1659524397482v2.png

Choose "No." as entity relation: (also tried "Sell-to Customer No.")

pastedimage1659524433932v3.png

pastedimage1659524465785v4.png

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    Hello,

    If you don't get further responses to this issue, you may want to raise a support request to Microsoft support via your CSP / Partner.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    I doubt this is possible in the current format of the feature. The primary key of the tables involved is more than 1 field and the current entity relation relies on a single field relationship. Are you able to achieve what you need with a custom report layout for a sales document? That will already have the relationship between the two figured out. If the need to have the user make a selection on which layout to use this may help: www.youtube.com/watch

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,810

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 810 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 676 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans