Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Microsoft Dynamics NAV : Business Intelligence - Reporting capabilities in NAV

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
9/16/2011 6:08:22 PM
Designing reports in NAV2009 is divided into the following parts:
  • Defining the data model for the report

  • Defining relationships

  • Designing the layout

  • Matrix design

  • Adding links to external objects or other reports

  • Conditional formatting

Defining the data model

The first step is to define the data model for the report. This is done using the Classic client option in NAV.

To define the data model, perform the following steps:

  1. 1. Open Object Designer from the Classic client by using the function key F12 or from the Tools menu.

  2. 2. In Object Designer, click Report and then click the New button to open the new report.

  3. 3. In the Table field, click the drop-down arrow, and then select the table. In this example, we will design a report that shows the quantity of items sold to a customer. Therefore, choose the location table in the Table List window.

  4. 4. Select the Create a Blank report option. If we are designing a simple list or a form-type report, we can choose the Create using Wizard option. The wizard will guide us through the steps of choosing fields, which will automatically be placed on the report. In this example, we will design the layout using Visual Studio for the report to run using the RTC client, and hence we will go with the option of creating a blank report. Click on OK.

  1. 5. At this point, it is preferable to save the report and assign it an Object ID before designing it further. Close the report. Say Yes to the message for saving the report. The system will ask for an object ID and name for the report.

  1. 6. Assign an object ID and name for the report. This creates and saves the report.

  2. 7. Now go to the saved report by selecting the report from the list in the Object Designer and click on Design.

  3. 8. In the Data Item screen, select two tables in the two rows.

After the tables have been selected, we will now define relationships between these tables.

Defining relationships between tables

As we need to report on items sold by the customer, the items list should be grouped by customer.

  1. 1. Use the arrow buttons at the bottom-right of the screen to define levels of tables. The level for Item table should be 2. Use the right arrow button once to define this level for the Item table.

  1. 2. Pointing the cursor to a new line, select Sections from the View menu.

  1. 3. Use the Field Menu button to see the list of fields. Selecting the section Location, choose the fields Code and Name from the menu and drop them on the Customer section.

  2. 4. Similarly, add a few fields in the Item section. We will select the Quantity on hand and No. fields in this example.

  3. 5. Add a label control with the caption Items by Location on the top-left corner of the Location body.

Defining the relationship between the tables

As we're using two tables in this report and need to report on a common field in the two tables, it's important to define the relationship between the two. To define the relationship, select the data item Item, open its properties and set the property DataItemLink to Location Filter=FIELD(Code).

Now, as we have defined the data model and the relationships between the table, the next step is to define the layout.

Defining the layout

We need to do this in Visual Studio, which can be instantiated from the NAV report by clicking Layout in the View menu.

As shown in the preceding screenshot, the dataset in the report layout in Visual Studio should include all the fields and captions we defined in the classic design.

Selecting the matrix

We need to follow the steps given next to select the matrix:

  1. 1. Click on Toolbox and select a Matrix box for the layout.

  1. 2. Place the Items by Location caption in the top-left cell of the matrix.

  1. 3. To insert a row, add a group in the Rows section of the layout. Right-click the Rows cell and click Insert group. In the expression area, select the field as shown in the following screenshot: Item_No_.Value

  1. 4. To add the Warehouse column above the data (No. of items), add "=Fields!Location_Name.Value" in the Columns area.

  2. 5. To add the data, drag the Item_Inventory field to the data area.

The Sum(Fields!Item_Inventory.Value) is automatically added.


  1. 6. Add the columns in the cells by setting the BorderStyle property to Solid.

  1. 7. Our report should like the following screenshot:

  2. 8. Save and close the report.

Testing the report

Now, as the report design is complete, the next step is to test the newly created report. We will start by saving the report first.

To test the report, we can add the report in the main page or can run it directly using the following command and parameters:

"dynamicsnav:// [machine name] /DynamicsNAV/ [company name] /runreport?report=50030"


Consider the following example:

" dynamicsnav://localhost/DynamicsNAV/CRONUS International Ltd./runreport?report=50030"



The report output should look like this:

Dynamics NAV provides us with powerful tools and features to gain control and give us a crisp insight into our business. Future versions of NAV will see more Business Intelligence enhancements in the product such as stronger integration with SharePoint, PowerPivot integration, and more use of MS Office products with NAV.
Other -----------------
- Microsoft Dynamics NAV and Business Intelligence
- SharePoint 2010 Search : Troubleshooting Crawl Errors & Server Name Mappings
- SharePoint 2010 Search : Setting Up the Crawler - Using Crawl Rules
- Windows Small Business Server 2011 : Set Up Your Internet Address (part 2) - Add a Trusted Certificate
- Windows Small Business Server 2011 : Set Up Your Internet Address (part 1) - Registering a New Domain Name & Using an Existing Domain Name
- Windows Small Business Server 2011 : Connect to the Internet
- Microsoft Dynamics GP 2010 : Automating Dynamics GP - Automating processes with Macros
- Microsoft Dynamics GP 2010 : Automating Dynamics GP - Speeding up month-end close by Reconciling Bank Accounts daily
- Microsoft Dynamics CRM 2011 : Associating a Marketing List to a Campaign Activity
- Microsoft Dynamics CRM 2011 : Creating a Campaign Activity
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Trailers Game
- The Banner Saga 2 [PS4/XOne/PC] PC Launch Trailer
- Welkin Road [PC] Early Access Trailer
- 7th Dragon III Code: VFD [3DS] Character Creation Trailer
- Human: Fall Flat [PS4/XOne/PC] Coming Soon Trailer
- Battlefleet Gothic: Armada [PC] Eldar Trailer
- Neon Chrome [PS4/XOne/PC] PC Release Date Trailer
- Rocketbirds 2: Evolution [Vita/PS4] Launch Trailer
- Battleborn [PS4/XOne/PC] 12 Min Gameplay Trailer
- 7 Days to Die [PS4/XOne/PC] Console Trailer
- Total War: Warhammer [PC] The Empire vs Chaos Warriors Gameplay Trailer
- Umbrella Corps [PS4/PC] Mercenary Customization Trailer
- Niten [PC] Debut Trailer
- Stellaris [PC] Aiming for the Stars - Dev. Diary Trailer #1
- LawBreakers [PC] Dev Diary #4: Concept Art Evolutions
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer