Skip to main content



No record found.

Business Central forum
Suggested answer

Display Header and Lines comments on Warehouse shipment report

Posted on by 4
I need to display sales order line & header comments on warehouse shipment report.
So basically, the report would fetch the Sales Line No. from the warehouse shipment lines and go to the respective sales line, print the line comments for each line, and at the end of the report it would print Sales Order header comments as a whole.
I can print the sales line comments but when i try printing the sales order header comments, the comments gets repeated if there are more than 1 line/ sales order printed on the warehouse shipment report.
Any idea how to handle this? 
  • CU23050415-0 Profile Picture
    CU23050415-0 6 on at
    Display Header and Lines comments on Warehouse shipment report
    Convenience is now easily seen to provide suitable access. Enjoy having different experiences. Besides, learn appropriate methods.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 63,857 Super User on at
    Display Header and Lines comments on Warehouse shipment report
    Sorry for the rough answer, add a new dataitem (line comments) one layer below the warehouse shipment line and put them in a group in the layout.
    As for Source Document Header Comments, it seems that you can use a variable and merge it in OnPostReport (Report) Trigger or OnPostDataItem Trigger.
    Hopefully other experts can give you better advice.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans