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.

How to import data with special characters in eConnect for Microsoft Dynamics GP


INTRODUCTION

The article describes how to import data in eConnect for Microsoft Dynamics GP when the source data contains special characters. For example, the Customer Name field is named CUSTNAME in eConnect. This field has a value of CITY POWER & LIGHT. To account for the ampersand (&) in the value, wrap the data in XML tags that begin with CDATA. When you do this, you can import the data that contains the ampersand.

↑ Back to the top


More Information

The following is an example of an xml document that uses the CDATA xml tags:
<eConnect>
<RMCustomerMasterType>
<taUpdateCreateCustomerRcd>
<CUSTNMBR>JEFF0002</CUSTNMBR>
<CUSTNAME><![CDATA[CITY POWER & LIGHT]]></CUSTNAME>
<STMTNAME>Litware Inc.</STMTNAME>
<SHRTNAME>Litware</SHRTNAME>
<ADRSCODE>PRIMARY</ADRSCODE>
<ADDRESS1>123 Main Street</ADDRESS1>
<CITY>Valley City</CITY>
<STATE>ND</STATE>
<ZIPCODE>51234</ZIPCODE>
<COUNTRY>USA</COUNTRY>
<PHNUMBR1>4255550100</PHNUMBR1>
<PHNUMBR2>4255550101</PHNUMBR2>
<FAX>4255550102</FAX>
<UPSZONE>red</UPSZONE>
<SHIPMTHD>PICKUP</SHIPMTHD>
<TAXSCHID>USALLEXMPT-0</TAXSCHID>
<PRBTADCD>PRIMARY</PRBTADCD>
<PRSTADCD>PRIMARY</PRSTADCD>
<STADDRCD>PRIMARY</STADDRCD>
<SLPRSNID>GREG E.</SLPRSNID>
<SALSTERR>TERRITORY 6</SALSTERR>
<COMMENT1>comment1</COMMENT1>
<COMMENT2>comment2</COMMENT2>
<PYMTRMID>Net 30</PYMTRMID>
<CHEKBKID>PAYROLL</CHEKBKID>
<KPCALHST>0</KPCALHST>
<UseCustomerClass>0</UseCustomerClass>
<UpdateIfExists>1</UpdateIfExists>
</taUpdateCreateCustomerRcd>
</RMCustomerMasterType>
</eConnect>

↑ Back to the top


Keywords: kbinfo, kbexpertiseadvanced, kbsurveynew, kbmbspartner, kbexpertisebeginner, kbmbsmigrate, kbhowto, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 968364
Revision : 1
Created on : 1/7/2017
Published on : 7/13/2012
Exists online : False
Views : 78