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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Get all lines in the sales shipment line

(0) ShareShare
ReportReport
Posted on by 95

Hello, 

I have a report called sales shipment. 

I have an issue where it is not previewing all the lines in the sales shipment page. 

For example, I have a sales shipment where it consists of 8 sales shipment lines. But when I click on the print button to preview the report, it is showing me only 5 lines. 

Grateful if someone can share some code how to get all the lines from the sales shipment lines which I can add on the onaftergetrecord trigger in the sales shipment line report. 

Thanks. 

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at

    Is it custom report?

    You can check the standard report for the reference.

  • Beginner Dynamics 365 Business Central Profile Picture
    95 on at

    Yes it is a custom report.

    But not all the line are showing when I try to preview it.

  • Beginner Dynamics 365 Business Central Profile Picture
    95 on at

    I also check the standard sales shipment report. The code is the same.

    I don't know why it is not previewing almost all of the lines in the sales shipment page when I click on the print action button.

    Any idea?

  • Beginner Dynamics 365 Business Central Profile Picture
    95 on at

    I manage to solve it. Actually the layout of the sales shipment line was not properly set up.

    After setting it up properly, all lines appear now.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Thanks for the update.

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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,072 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,129 Super User 2026 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 650 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans