Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

TechKnowledge Content

Issue

'Validation Error: The 'DOCDATE' element has an invalid value according to its data type.' occurs when using the eConnect EAI Incoming Service to validate against eConnect.xsd schema.

Resolution

This results from the fact that the eConnect.xsd specifies a datetime format for the date fields. Most date fields in Great Plains store only date information and the sample XML documents included with eConnect contain only date information for the these fields. In order to successfully bring in documents when validating against the eConnect.xsd schema, the data in date fields must be in the following format:

<DOCDATE>2002-01-01T00:00:00</DOCDATE>

This is only necessary when using validation against the eConnect.xsd schema with the eConnect_Incoming service. If you are not validating your data or are not using Incoming service, then you can use the standard: <DOCDATE>2002-02-06</DOCDATE> formatting for date field data.

This article was TechKnowledge Document ID: 27563

APPLIES TO

Microsoft Dynamics GP 9.0

Microsoft Business Solutions–Great Plains 8.0

Microsoft Business Solutions–Great Plains 7.5

Microsoft Great Plains eEnterprise 7.0

Microsoft Great Plains Dynamics 7.0

eConnect

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×