Dynamics NAV 5.0 SP1 and export to Excel

Published 11 November 08 11:44 AM | jvukovic 

A number of issues previously reported when running with Dynamics NAV 5.0 and using send-to Excel functionality, are now corrected.  These issues include (among others): decimals exported as text, Item/Customer numbers exported as decimals, dates exported as decimals.

To implement correction, update with 5.0 SP1, update 1 (KB 956161, build 27191), use default style sheets included in SP1, and make the following change to default style sheet NavisionExportToExcel.xslt:

Open the style sheet file in notepad, default file is NavisionFormToExcel, placed in Stylesheet folder of the Client folder.

Browse to the following line :   

<xsl:when test="@subtype != 'number'">

and replace the line with

<xsl:when test="@datatype != 'Decimal'">

 

Then locate the following line :   

<xsl:when test="@subtype = 'number'">

and replace the line with

<xsl:when test="@datatype = 'Decimal'">

 

Jasminka Vukovic

Microsoft Dynamics NO


Microsoft Customer Service and Support (CSS) EMEA

These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.

 

 

 

Filed under:

Comments

# Dynamics NAV 5.0 SP1 and export to Excel | Tmao Coders said on November 11, 2008 7:26 AM:

PingBack from http://www.tmao.info/dynamics-nav-50-sp1-and-export-to-excel/

# Erik Ernst said on November 24, 2008 7:32 AM:

Thanks. Stylesheets finally works for me!

Anonymous comments are disabled

Search

This Blog

Syndication

Page view tracker