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 :
Microsoft Dynamics NAV (Archived)

No. Of copies option in RDLC report - NAV 2016

(0) ShareShare
ReportReport
Posted on by 1,893

Hello Experts, 

I have prepared the rdlc report. i want to show the no. of copies option in this report.
always it is showing the error. Please give some idea to create a report in nav 2016. I am using
the below data items.

6724.uu.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Marcellus Profile Picture
    2,735 on at

    Hi MKY,

    What is your error message?

    Have a look at a standard report where the copy loop is implemented. For example R206 Sales - Invoice.

    Don't forget to check the code in these triggers:

    • CopyLoop - OnPreDataItem()
    • CopyLoop - OnAfterGetRecord()
    • CopyLoop - OnPostDataItem()

    Make sure you indent your data items correctly, based on your screenshot I think your Warehouse receipt lines should be indented to level 2 or 3 but I need more information of the report.

    You can also check out this video: How Do I Build a document report in Microsoft Dynamics NAV 2013

  • manish.yadav Profile Picture
    1,893 on at

    In this part table 'Sales Invoice Header' used.

    I am using the table 'Posted Whse. Receipt Line'. How Can i use it.

    CopyLoop - OnPostDataItem()

    IF NOT CurrReport.PREVIEW THEN

     SalesInvCountPrinted.RUN("Sales Invoice Header");

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Check report no 206 for more understanding

  • manish.yadav Profile Picture
    1,893 on at

    Hello Sir,

    I am talking about report no 206 . here I saw the code  

    CopyLoop - OnPostDataItem()

    IF NOT CurrReport.PREVIEW THEN

    SalesInvCountPrinted.RUN("Sales Invoice Header");

    In my report I am using the table 'Posted Whse. Receipt Line'. How Can i use it this function.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Check the codeunit used for the same .You might need to design the codeunit for your report

  • manish.yadav Profile Picture
    1,893 on at

    It is mandatory to develop the new codeunit. can i use the function in same report.

  • Verified answer
    Marcellus Profile Picture
    2,735 on at

    Hi MKY,

    All that codeunit does is it modified the No. Printed field on the Posted Sales Invoice Header.

    The Posted Whse. Receipt Header doesn't include a field to store this information so I think you can skip that or

    If you would like to implement this logic you can add the field to the table.

  • manish.yadav Profile Picture
    1,893 on at

    thank you sir

  • Marcellus Profile Picture
    2,735 on at

    HI MKY,

    No problem. Did you manage to get your report working? Is it creating copies?

  • manish.yadav Profile Picture
    1,893 on at

    No sir, currently report is not running. there is some i thing technical problem.

    I am using the idea from the below link.

    saurav-nav.blogspot.in/.../multiple-copies-classic-rtc-with-report.html

    I am using the all suggestion given in this link. but it is for nav 2009 version. i am using the nave 2016. I create the report in 50000 series. I am trying to rectify the errors. if it will solve then I will ping you. thank you for guidance.  You have already solve my build version related problems.

    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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans