Teach Me NAV
A site to support our book 'Implementing Microsoft Dynamics NAV 2009'.
Using a Service Account for Unattended Execution of NAV Web Services - Gotcha
Dave's Blog

My Novel on Kindle

 

Syndication

If you are planning on using the new NAV 2009 Web services capabilities as a means of running scheduled tasks, you must ensure that the Windows user account that is to be used to execute the task has a User Personalisation record with the correct Language ID.

5129 is the English (New Zealand) language ID and If you do not have a record, or you use the English (United States) setting then you will find date fields are validated using the US M/dd/YYYY date format. This is likely to cause you a problem if you are using the Web service to process an interface file in which you are validating a date field (such as Posting Date) with a value from a text file.

I found this error, when my overnight interface processing routine was returning the error message “13/7/2009 is not a valid Posting Date”. If you are American, then you are used to your dates being backwards and will therefore be OK.


Posted 07-23-2009 12:43 p.m. by David Roys
Filed under: ,

Comments

Dave Roys Blog wrote User Personalization in Web services got me again!
on 08-04-2009 8:03 p.m.

In my last Web service gotcha post , I wrote about how a User Personalisation record is needed to ensure

Gaspode The Wonder Dog wrote User Personalization in Web services got me again!
on 09-02-2009 10:29 a.m.

In my last Web service gotcha post , I wrote about how a User Personalisation record is needed to ensure

Tisha wrote re: Using a Service Account for Unattended Execution of NAV Web Services - Gotcha
on 08-15-2011 3:50 p.m.

What a joy to find such clear thinnkig. Thanks for posting!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Powered by Community Server (Non-Commercial Edition), by Telligent Systems