web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Webservice DocDate Constrant Error GP2010R2

(0) ShareShare
ReportReport
Posted on by

Receiving this erro message inserting a sales order with Web Serivce:

“The INSERT statement conflicted with the CHECK constraint "CK__SOP10100__DOCDAT__56BECA79". The conflict occurred in database "XXXX", table "dbo.SOP10100", column 'DOCDATE'.

Date tag is   <Date>2012-08-06T01:22:28</Date>  Does anyone know how to resolve?

Thanks,

Donnette

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Yes, GP simply does not accept tme with date as the product does not use time in the DocDate field, therefore this constraint was added, you either pass the date as 2012-08-06 without the time or just remove the constraint!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans