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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Print management override for WMSBillOfLading report

(1) ShareShare
ReportReport
Posted on by 6,609
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!
I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    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
  • bankk Profile Picture
    6,609 on at
    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
    GirishS Profile Picture
    27,827 Moderator on at
    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.
     
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    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.
     
     
  • bankk Profile Picture
    6,609 on at
    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. 
  • bankk Profile Picture
    6,609 on at
    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!
  • Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, You can try creating post event handler of newFromArgs method in WmsBillOfLadingController class and change the report name.
  • bankk Profile Picture
    6,609 on at
    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. 

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans