Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Print management override for WMSBillOfLading report

(1) ShareShare
ReportReport
Posted on by 6,603
Hello:
I'm looking to override the default WMSBillOfLading report with a custom one. There doesn't appear to be an existing PrintMgmtDocumentType for the Sales order BOL which I can override in a delegate. Any suggestion on how I could get around this? Thank you!
  • bankk Profile Picture
    6,603 on at
    Print management override for WMSBillOfLading report
    Hi Mohit,
    I'm not sure how I would be able to override the report name as it's not CoC. Would you have an example of your recommendation? 
    Thank you. 
  • Mohit Rampal Profile Picture
    12,556 Moderator on at
    Print management override for WMSBillOfLading report
    Hi, You can try creating post event handler of newFromArgs method in WmsBillOfLadingController class and change the report name.
  • bankk Profile Picture
    6,603 on at
    Print management override for WMSBillOfLading report
    Hello all,
     
    I seem to be missing a piece of this puzzle. Overall I understand I need to add a new print management option to allow me to configure my report. I've done that, and it all works as detailed in the posts. 
     
    The Sales order WMSBillOfLading report is called from form WMSBillOfLading. The form 'Print' button ultimately calls WMSBillOfLadingController.main(). The main method hardcodes, at least for non-RU, the SSRS report and report name. I'm not sure if there's a step or link missing. 
     
    Thank you!
  • bankk Profile Picture
    6,603 on at
    Print management override for WMSBillOfLading report
    Hi Mohit,
    As it turns out, there are two "Bill of lading" reports. Print management in the warehouse module refers to a different SSRS report. The report I'm modifying is in the Sales orders flow. Thank you. 
  • Suggested answer
    Mohit Rampal Profile Picture
    12,556 Moderator on at
    Print management override for WMSBillOfLading report
    Hi KBanh, I believe you are trying to add custom design in 'Bill of Landing' report. There is an existing Print Management Document Type 'WHSBOL' (PrintMgmtDocumentType::WHSBOL) which should be used to add custom design for selection in print management lookup.
     
     
  • Suggested answer
    GirishS Profile Picture
    27,823 Moderator on at
    Print management override for WMSBillOfLading report
    Hi KBanh,
     
    Yes, you need to override the print management class to point out your custom class instead of the standard report class and make it as default.
    You can follow the suggestion given by Mohit or refer to the additional below links.
     
    Thanks,
    Girish S.
     
  • bankk Profile Picture
    6,603 on at
    Print management override for WMSBillOfLading report
    Hi Mohit,
    Thank you for the reference.
    I wanted to be clear. I'm modifying the out of the box WMSBillOfLading SSRS report, and want to use it as the default. Does this change your suggestion?
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Print management override for WMSBillOfLading report
    Hi,
    Here are similar question and discussions as yours, and it has been verified, please check it for reference:
    Dynamics Community Forum Thread Details
    Best Regards,
    Hana
  • Suggested answer
    Mohit Rampal Profile Picture
    12,556 Moderator on at
    Print management override for WMSBillOfLading report

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans