Webservice Problem with decimal number

stony
Member Posts: 122
Hi there,
We have a C # program that accesses NAV using Web services. Among others, decimal numbers are written to a table.
The server on which the Web service is running is installed in German. Also, the user has deposited as language 3079 (German-Austria) in the user adjustment.
And in the CustomSettings.conf file of the service, I also set the entry
<add key = "ServicesCultureDefaultUserPersonalization" value = "true" />.
But the decimal number will be write with point and not with a komma.
If I set this key to false then decimal number is correctly (with the comma) but the error messages are then in English.
I have NAV13 R2 with Rollup 9.
thanks
stony
We have a C # program that accesses NAV using Web services. Among others, decimal numbers are written to a table.
The server on which the Web service is running is installed in German. Also, the user has deposited as language 3079 (German-Austria) in the user adjustment.
And in the CustomSettings.conf file of the service, I also set the entry
<add key = "ServicesCultureDefaultUserPersonalization" value = "true" />.
But the decimal number will be write with point and not with a komma.
If I set this key to false then decimal number is correctly (with the comma) but the error messages are then in English.
I have NAV13 R2 with Rollup 9.
thanks
stony
0
Comments
-
I think webservices are always use US language, so date, time, decimals are in US format.0
-
But how can i solve it. And why it work´s in NAV09 R2.0
-
Hello, I have now made some tests.
The problem with the comma only occurs when I insert or modify decimal values about a codeunit in a table.
If I do this on a page then it works.0 -
stony wrote:But how can i solve it. And why it work´s in NAV09 R2.
It used to work in some earlier builds, but after one of hotfixes has been changed to always use W1. It is actually reasonable, as you can't predict what language third part application will use accessing webservice, so it makes sense to say "it is always w1"0 -
OK, but how can I solve this problem.
I also don´t understand why it works with a page.0 -
I do believe this is bug that microsoft reintroducedreintroduced with NAV 2013, as there is a fix avaible for this problem for NAV 2009 (KB960268).0
-
Try to see the XML transfered.
Also look at the Nav format function there is nowadays an option #9 regarding XML.Regards
Christer in Stockholm, Sweden0 -
Microsoft has informed us that it should be fixed in the next rollup.0
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