官术网_书友最值得收藏!

What is a report?

Reports have several purposes in Dynamics NAV. The purpose of a report is to print or visualize information from a database in an intuitive and structured way. For example, a report could be a list of customers, vendors or items, or a combination of customers and items sold.

Some reports are used to communicate with third parties. These reports are called document reports. Examples of document reports are sales invoices, credit memos, and so on. For every document in the application, a document report is also created.

Apart from printing information, some reports have no layout and are used only to process information. These reports are considered batch jobs or processing-only reports. You can compare them to code units but with the advantages of the report dataset designer and request page options.

Note

There are many different types of reports in standard NAV. For a more comprehensive listing of the standard reports, please have a look at:

https://msdn.microsoft.com/en-us/library/hh174014(v=nav.80).aspx

From the users' point of view, everything starts with the Dynamics NAV application and their experience will vary depending on the Role Center they are assigned to. Dynamics NAV is all about the RoleTailored Client and the RoleTailored Client always opens with a Role Center page. A Role Center is like a dashboard. It is the starting page in Dynamics NAV and on it you will find the links to all the information you need.

This is an example of the Role Center for the Order Processor role:

What is a report?

Depending on the Role Center you are on, the ribbon will contain different reports. You can also access reports on other pages. For example, you can access reports in the menu at the top of the window on the Customer Card page:

What is a report?

When you go to Departments in the RTC, you can go to any department, for example, Sales & Marketing. When you click on Department, different categories appear in the content window:

What is a report?

Click on Reports and Analysis and you get an overview of all the reports that are related to Sales & Marketing. As you can see, the reports are divided into different groups.

These groups correspond to the groups defined in the menu item as defined in the MenuSuite designer for the Sales and Marketing menu. In each group, you will find links to reports:

What is a report?

This kind of classification of reports is available in every section of the Departments suite in the RTC.

The request page

The first thing you see when you run a report, for example the Customer Top 10 List, is the request page:

The request page

The request page allows you to decide how you would like to view the report. At the top, there's a choice of Options. This contains options to change the type of visualization, or the way that the report behaves. Not all reports have an Options tab. The request page contains a tab where you can apply filters. In this example, you can apply a filter on specific fields, or on any other field from the underlying table of the report. If the table contains FlowFields, then you also have the option to limit the totals of the FlowFields. In other words, limiting totals means applying FlowFilters to the FlowFields.

To summarize, a request page allows the user to specify options and filters before generating the report layout.

You can then print or export the report to a specific format such as Word, PDF, or Excel with the buttons at the bottom of the request page, or you can schedule the report for it to run later.

The report viewer

When you preview a report from a client computer, the report is displayed using the report viewer:

The report viewer

Note

The report viewer is launched from the report request page, but this is explained in a later section.

The report viewer allows reports to be embedded in Microsoft Dynamics NAV client applications. The report viewer control is installed automatically on:

  • Any client computer, for viewing reports from the Microsoft Dynamics NAV client
  • The Microsoft Dynamics NAV Server, for using the SAVEASEXCEL, SAVEASWORD, and SAVEASPDF functions
  • The computer running the development environment, for compiling reports

The report viewer is used when you preview the report if you are running a report from the Windows client. The report viewer supports user interaction and renders a report as an HTML page behind the scenes.

At the top of the report viewer there's a toolbar that provides navigation, search, export, and print functionality:

The report viewer

You can save a report as an Excel, PDF or Word file. The same report can have a different appearance and functionality, depending on the rendering format that you select. For example, reports that have links, document maps, and bookmarks might not work properly if the report is saved to a file. A report layout in a different file format might include additional pages or white space, depending on how items are aligned.

Tip

It's best to test the development with all render extensions (Preview, Print, PDF, Excel, and Word)

At runtime, users can use the print commands on the ReportViewer toolbar to open a Print dialog box, preview the report in print layout, and configure the page setup, prior to printing.

Note

You can also print a report from within the report viewer but note that, if the function CurrReport.PREVIEW is used in the code, the Print button will not be available in preview mode.

Print support varies depending on whether you are using the Web server control or Windows Forms control.

Note

For more information about print support, refer to the following link:

https://msdn.microsoft.com/en-us/library/ms251693.aspx

主站蜘蛛池模板: 甘泉县| 克山县| 隆子县| 贵州省| 顺平县| 敦煌市| 哈巴河县| 钟山县| 郯城县| 咸宁市| 金溪县| 基隆市| 广平县| 英德市| 霍山县| 巴青县| 军事| 哈密市| 噶尔县| 鄂托克前旗| 洛隆县| 慈溪市| 深州市| 寻乌县| 元阳县| 仪征市| 敦化市| 二连浩特市| 扶绥县| 全椒县| 泸溪县| 古丈县| 香河县| 晋江市| 临西县| 大同市| 吉木乃县| 多伦县| 内黄县| 平潭县| 卢龙县|