Options

Printing multiple page report. Diff page, diff header...how?

AMBPIAMBPI Member Posts: 8
Hi guys, how do I do this in Navision's Report Builder.

Everytime we print a Sales Invoice, it will print 3 identical pages. The only difference being:

First page header will say : Customer Copy
2nd page header will say : Admin Copy
3rd page header will say : Warehouse Copy

I know you can do this in Crystal Reports by having 3 sections in the page header element, and then having a conditional formula that determines which section will appear for which page number.

Is it done the same way in Navision's Report Builder?

Thanks all.

Comments

  • krikikriki Member, Moderator Posts: 9,121
    Yes, it can be done.
    You must also create 3 sections.
    In the "OnBeforeSection"-trigger of the section, you can decide to print it or not in this way:
    CurrReport.SHOWOUTPUT(blnShowSection);
    
    If blnShowSection is true, the section will print otherwise it will be skipped.
    BTW:you better use the copy and not the pagenumber to decide to print or not (an invoice can contain multiple pages).
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • nunomaianunomaia Member Posts: 1,153
    For example in report 406 - Purchase - Invoice you have a sample code of what you are asking. Check the copyloop DataItem
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
Sign In or Register to comment.