Charts

The Windows client can display a set of predefined charts that use Dynamics NAV data. With Microsoft Dynamics NAV, queries can be used as data sources for those charts.

We will use the query defined earlier on in this chapter as the data source of a chart and we will display it on the home page of the Dynamics NAV Windows client.

To define a query as the data source of a chart, perform the following steps:

  1. Open the Windows client for Microsoft Dynamics NAV.
  2. Navigate to Departments | Administration | Application Setup | RoleTailored Client.
  3. Select Generic Charts.
  4. Click on New on the ribbon bar to add a new chart.
  5. The New-Generic Chart setup page will open as shown in the following screenshot:
    Charts
  6. Give the new chart an ID value and a Name value. For example, set ID to 50000 and Name to My Query Chart.
  7. On the Data Source tab, select Query as Source Type and 50000 as Source ID.
  8. On the Measures (Y-Axis) tab, select Sum_Quantity as Data Column on the Required Measure row.
  9. On the Dimensions (X- and Z-Axes) tab, select Source_No as X-Axis Field.
  10. Click on OK to close the New-Generic Chart setup page.

To display the chart on the home page of the Windows client, perform the following steps:

  1. Go back to the home page of the Windows client for Dynamics NAV.
  2. Click on the Dynamics NAV icon found on the upper left corner of the page and select Customize and then Customize This Page.
  3. Select Chart Part from Available parts.
  4. Click on Add.
  5. A blank chart will appear on the Role Center layout section. Select the blank chart and click on Customize Part.
  6. Select chart 50000 My Query Chart and click on OK.
  7. Click on OK to close the Customize the Role Center page.
  8. Back at the home page of the Windows client, the chart should be displayed as shown in the following screenshot:
    Charts
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.186.92