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. 

  • Suggested answer
    Nitin Verma Profile Picture
    21,546 Moderator on at
    RE: Get all lines in the sales shipment line

    Thanks for the update.

  • Beginner Dynamics 365 Business Central Profile Picture
    95 on at
    RE: Get all lines in the sales shipment line

    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.

  • Beginner Dynamics 365 Business Central Profile Picture
    95 on at
    RE: Get all lines in the sales shipment line

    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
    RE: Get all lines in the sales shipment line

    Yes it is a custom report.

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

  • Suggested answer
    Mohana Yadav Profile Picture
    60,226 Super User 2025 Season 1 on at
    RE: Get all lines in the sales shipment line

    Is it custom report?

    You can check the standard report for the reference.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,467 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans