Excel Stylesheets in 5.0 with decimal code fields

BGI
Member Posts: 176
We have an item no. as follows : 900.000.001
When we export to excel (with the default excel button on top of the screen) from within navision 5.0 we get a decimal field (900.000.001,00)
Is there a way around this?
PS. As we are in belgium thousand seperator = . and decimal point = ,
When we export to excel (with the default excel button on top of the screen) from within navision 5.0 we get a decimal field (900.000.001,00)
Is there a way around this?
PS. As we are in belgium thousand seperator = . and decimal point = ,
Rgds
Benny Giebens
Benny Giebens
0
Comments
-
That means that value is OK, but you want to format it as integer?0
-
No, the value is ok, but excel formats it as an integer, and in fact it should be a text field. (item no. is in fact a code field...)
So if we can pass it as '900.000.001 to excel (what we do if we do it via code and the excel buffer), its ok... but not via style sheet export to excel...Rgds
Benny Giebens0 -
Can you use a template for the export? In this you can preformat the column as text.0
-
ajhvdb wrote:Can you use a template for the export? In this you can preformat the column as text.
I think there are 2 problems with that:
- i don't see how you can make a template with the toolkit for excel (word no problem), or maybe I am missing something here?
- if it is possible with the toolkit, i think we have to make a template for every form, and we want to leave it as standard as possible....
if we simply could preformat for excel every code, text, ...field type with a ' in front of it, it should be resolved......but the trick is where to do it?
As far as i can the creation of the xml with the data is not in c/al but in the exe of navision....Rgds
Benny Giebens0 -
Hi,
Im also facing the same problem.
My client wants to transfer Order list, Quote list, Invoice list to excel with by defualt functionality. In list, i have enabled Amount column. They used to have some analysis in excel, they can draw different kind of charts etc..
But the problem is everything is transferred in TEXT only, even Amount field also.
So excel decimal functions like sum, Average, count,max, min doesn't work.
If anyone know to edit XML template to transfer decimal values, please let me know.0 -
mahesh wrote:But the problem is everything is transferred in TEXT only, even Amount field also.
So excel decimal functions like sum, Average, count,max, min doesn't work.
If anyone know to edit XML template to transfer decimal values, please let me know.
Hi, this should be solved in Update1. You can also fix it manualy, but it didn't work to me ...
MS: "When you export a number to an Excel worksheet, the number is formatted as text instead of as a number. Therefore, Microsoft Dynamics NAV does not consider the regional thousand separator as expected."
Search for "export excel nav" at google for manual fix ...Regards
xStepa0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions