Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Printing

Posted on by 389

Hi,

Is it possible to stop printing sales shipments for a single company only when using the POST (Ship&Invoice) function? Our company does not require a delivery docket and we only need the invoice to print.

*This post is locked for comments

  • Suggested answer
    Prtham Profile Picture
    Prtham 171 on at
    RE: Printing

    A Simple customization is required for this could be put a check on COMPANY NAME.

    1.
    IF CompanyName = 'CRONUS' THEN ERROR('Error message you wish to display');


     Put this code in the onAction trigger of the Print in Sales Shipment Page.

    2.

    You can make this more flexible by adding a Boolean field in the 'Company Information' table and put a check in that field and the code would look like this.

    IF CompanyInfo."Skip Shipment Doc" THEN
      ERROR('Error message you wish to display');

    3.
    or else hide the button of printing based in the company information setup.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Printing

    You need to customize it based on company.take help of developer

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans