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)

How to give multiple heading names in report header while printing the report?

(0) ShareShare
ReportReport
Posted on by 1,893

Dear Experts,

In my posted sales invoice, I want to print the invoice in 5 copies with different heading. 1st invoice is "Original", 2nd invoice is "Duplicate", 3rd invoice is "Triplicate", 4th invoice is "Quadruplicate" and 5th invoice is "Extra Copy"  will come on report header.

Is there any possible in report design.? Please give me idea to develop it.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    please have a look at the report 206 "Sales Invoice". Here is a DataItem CopyLoop (Integer). This will be done with every copy.  

    I would create an array with the different headings. Every time the DataItem (OnAfterGetRecord) is run through, get the header from the array.

  • manish.yadav Profile Picture
    1,893 on at

    Thank you for your fast reply. As per your suggestion I have changed my my code like:

    IF Number > 1 THEN BEGIN

     CopyText := ' Original Copy';

     OutputNo += 1;

    END;

    IF Number > 2 THEN BEGIN

     CopyText := ' Duplicate Copy';

     OutputNo += 1;

    END;

    IF Number > 3 THEN BEGIN

     CopyText := ' Triplicate Copy';

     OutputNo += 1

    END;

    IF Number > 4 THEN BEGIN

     CopyText := ' Quadruplicate';

     OutputNo += 1

    END;

    IF Number > 5 THEN BEGIN

     CopyText := ' Extra Copy';

     OutputNo += 1

    END;

    My query is resolved. Thank you. Please close this thread.

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