Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

'Validation Error: The 'DOCDATE' Element has an Invalid Value According to its Data Type' When Using the eConnect EAI Incoming Service


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

↑ Back to the top


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

↑ Back to the top


Keywords: kb, kbprb, kberrmsg, kbMBSPartner, kbMBSMigrate, BemisKB857425, kbnosurvey

↑ Back to the top

Article Info
Article ID : 857425
Revision : 1
Created on : 3/7/2017
Published on : 3/7/2017
Exists online : False
Views : 77