web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

How to define the number of copies to be printed automatically registering a Sales Shipment.

(0) ShareShare
ReportReport
Posted on by 10

Dear Sirs,

I need to increase the number of copies of Sales shipment report printed automatically registering a warehouse shipment.

I try to find the solution around forums and web but did not find any relevant way to do it.

Basically I need that behavior below:

If an user print a posted sales shipment it must print just on copie at time.

if I'm registering a shipment It must print 2 copies of sales shipment report.

Where I can declare the number of copies that function must use while registering?

Thanks for your help,

Leandro

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,376 on at
    RE: How to define the number of copies to be printed automatically registering a Sales Shipment.

    hi

    In Dynamics NAV, you can set the number of copies of a report to print for each document type in the "Document Sending Profile" setup. Here's how to do it:

    Go to "Sales & Receivables Setup" and select "Document Sending Profiles".

    Select the document type for which you want to set the number of copies (in your case, "Warehouse Shipment").

    Click on "Report Selection" and select the Sales Shipment report.

    In the "Copies to Print" field, enter the number of copies you want to print.

    Save the changes.

    This should now automatically print the number of copies you specified when registering a warehouse shipment. Note that this setup applies to all users, so it will affect the number of copies printed for all users. If you need to set a different number of copies for specific users or scenarios, you may need to customize the report or create a custom function to handle this.

    DAniele

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: How to define the number of copies to be printed automatically registering a Sales Shipment.

    If you run your report through a code, you need to check the Report ID - 208 and have to below function before run the report, see the NoofCopies paramter in that

    procedure InitializeRequest(NewNoOfCopies: Integer; NewShowInternalInfo: Boolean; NewLogInteraction: Boolean; NewShowCorrectionLines: Boolean; NewShowLotSN: Boolean; DisplayAsmInfo: Boolean)

       begin

           NoOfCopies := NewNoOfCopies;

           ShowInternalInfo := NewShowInternalInfo;

           LogInteraction := NewLogInteraction;

           ShowCorrectionLines := NewShowCorrectionLines;

           ShowLotSN := NewShowLotSN;

           DisplayAssemblyInformation := DisplayAsmInfo;

       end;

  • Suggested answer
    YUN ZHU Profile Picture
    92,770 Super User 2025 Season 2 on at
    RE: How to define the number of copies to be printed automatically registering a Sales Shipment.

    Hi, Nitin is correct, you can modify the standard code below to do it. But please note that this requires customization. You need a development license.

    pastedimage1679960404592v1.png

    Hope this helps as well.

    Thanks.

    ZHU

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,330

#2
Sumit Singh Profile Picture

Sumit Singh 2,738

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,546

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans