Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Are there any time zone settings that can be changed for GP Web Services?

Posted on by 125

Hello Everyone,

I've been using Web Services for Dynamics GP for a month or so now, and have run into a problem that likely has a simple solution that I just can't seem to locate. I just installed GP and the Web Services on a server in a different time zone, and when i try to export just about anything with a date I get the following error (or something similar, always with dates):

The INSERT statement conflicted with the CHECK constraint "CK__RM00401__DOCDATE__08C03A61". The conflict occurred in database "GP2", table "dbo.RM00401", column 'DOCDATE'.

The statement has been terminated.

I have used the same code on different databases and this is the first i'm seeing this problem. With a bit of research I found that time zone had caused problems for others, so i changed the timezone on my machine to match that of the server and it will work with no problems.

So i'm wondering what i can do to resolve this issue without having to take steps like these, and hoping there is something quick and easy I can do that i just haven't been able to find.

Thanks!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Are there any time zone settings that can be changed for GP Web Services?

    Hi Andrew - most like you are passing in a time component as well. If you take off the time and just pass in the date alone, it should work.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans