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

Notifications

Announcements

No record found.

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,005 Super User 2025 Season 2 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,708 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

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 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans