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
0
Comments
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.
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"
I also don´t understand why it works with a page.
Also look at the Nav format function there is nowadays an option #9 regarding XML.
Christer in Stockholm, Sweden