Navision Reports

Hello everyone… This is my first post ever… Coming straight to the point… I have been dumped wth a set of reports that have already been developed. I’ve been asked to study them and develop a report for one of the customizations done for our organization. The problem here is, I donot know the basics of navision. I tried refering the manuals, they straight away talk about the triggers. I need to know from the scratch, how to declare variables to be used in reports that can be used at design time, what the ‘DataItemIndentation’ does and all that. I’m a complete newbie and donot know where exactly to look for regarding navision help. Hope this is the right place. Looking forward to some help from you all out there…

quote:

I need to know from the scratch, how to declare variables to be used in reports that can be used at design time, what the ‘DataItemIndentation’ does and all that.
Originally posted by prognewbie - 2005 Dec 26 : 02:19:29

Welcome! When you’re in Report Designer, take a look at the options in the menu “View”. You’ll find there C/AL Globals (to declare variables), C/AL Symbol Menu ( to use variables). DataItemIndent: (from C/SIDE Reference Guide (F1)): When a report is run, the data items are processed in the following way. The first data item is processed. If there is an indented data item, it will be processed each time a record has been retrieved and processed in the first data item. Really the best way to find out how a report works, is to take a look at an existing report. Use shift+F4 to take a look at properties. Use F9 to take a look at C/AL code. And you can search this forum to solve your problems when designing reports. Good luck!

Hello once again, Thank you for the prompt reply. I could manage to generate a report. The report lists all the Invoives for the selected range of Purchase Orders(PO) which have a variance in the quantity received. I want each PO to be printed on a new page. In the Section Header of the base table, in the OnPostSection() Trigger, whenever my condition is true, i’m going to a new page, using CurrReport.NEWPAGE; The problem is, only those POs with Invoices showing variance in quanties are being shown, but before every New PO i’m getting a blank page with just the header. Can you please suggest how i can get rid of the blank pages. Thanks in advance.

I would use the property NewPagePerRecord on dataitem “Purchase Orders”. Delete the CurrReport.NEWPAGE in the OnPostSection() Trigger.