共用方式為


Upgrading Reports from Earlier Versions

If you want to use reports from earlier versions of Microsoft Dynamics NAV, you must upgrade the reports before you can run or modify them. The report formats that were supported in Microsoft Dynamics NAV 2013 were client report definition (RDLC) 2008. In Microsoft Dynamics NAV 2013 R2, the report formats are replaced with client report definition (RDLC) 2010.

Typically, upgrading reports is part of upgrading the Microsoft Dynamics NAV application. However, you can also import reports from .txt files or .fob files.

Important

You cannot import reports from versions earlier than Microsoft Dynamics NAV 2013 into Microsoft Dynamics NAV 2013 R2. If you want to import a Microsoft Dynamics NAV 2009 report, you must first upgrade the report to Microsoft Dynamics NAV 2013, and then import it into Microsoft Dynamics NAV 2013 R2. For more information, see How to: Upgrade Reports in the MSDN Library for Microsoft Dynamics NAV 2013.

This topic provides an overview of suggested options to upgrade reports from Microsoft Dynamics NAV 2013 to Microsoft Dynamics NAV 2013 R2.

Importing RDLC 2008 Reports

If you import reports that have RDLC 2008 format from Microsoft Dynamics NAV 2013, then you must upgrade the reports to Microsoft Dynamics NAV 2013 R2.

Upgrading reports is part of the Upgrading the Application Code section of the upgrade process. Follow steps 1 through 5d in the Identifying Customized Objects topic to begin the upgrade process. Then export the relevant report objects, and import them into Microsoft Dynamics NAV 2013 R2.

The following illustration shows the upgrade process for the reports.

Upgrade Process for RDLC 2008 Reports

When you import the report, Microsoft Dynamics NAV automatically upgrades it to RDLC 2010. Microsoft SQL Server Report Builder for Microsoft SQL Server 2012 or Microsoft SQL Server 2008 R2 Report Builder 3.0 first validates that the reports have the correct RDLC 2008 format and then upgrades them to RDLC 2010 format.

In Object Designer, when the upgrade is complete, the Modified flag is set to Yes. All other properties for the report are not changed.

After the upgrade, you can open the layout in Visual Studio. For more information, see How to: Integrate Report Dataset Designer and Visual Studio Report Designer. You must compile the imported report before you can run it.

Importing RDLC 2010 Reports

You can import reports that have RDLC 2010 format to Microsoft Dynamics NAV 2013 R2. Upgrading the reports is an automated process. Microsoft SQL Server Report Builder for Microsoft SQL Server 2012 or Microsoft SQL Server 2008 R2 Report Builder 3.0 first validates that the reports have the correct RDLC 2010 format and then imports them.

In Object Designer, no properties for the report are changed.

See Also

Tasks

How to: Integrate Report Dataset Designer and Visual Studio Report Designer
How to: Export Objects

Concepts

Designing, Running, and Printing Reports
Upgrading to Microsoft Dynamics NAV 2013

Other Resources

How to: Create Backups