Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

GP Integration Manager XML Source Definition - Element Attributes

$
0
0

I'm trying to figure out how to create a XML Source Definition that will pick up the attributes of an XML element.   When GP creates the definition from the 'Template', it simply creates a record set node and then adds a field to that which contains only a single value for what should be a child record set with it's own fields. 

How do I configure the XML Source Definition to pick up the 'type' and 'isPrimary' attributes as fields inside a record set object?

<ReferenceNumbertype="Load ID"isPrimary="true">LD766</ReferenceNumber>

 <ReferenceNumbertype="Shipment ID"isPrimary="false">SN702</ReferenceNumber>

In GP Integration Manager (XML Source Defintion):

From XML Notepad:

<ReferenceNumbers>
 <ReferenceNumbertype="Load ID"isPrimary="true">LD766</ReferenceNumber>
 <ReferenceNumbertype="Shipment ID"isPrimary="false">SN702</ReferenceNumber>
 <ReferenceNumbertype="Customer Load ID"isPrimary="false">CLR732</ReferenceNumber>
 <ReferenceNumbertype="SCAC"isPrimary="false">STDF</ReferenceNumber>
 <ReferenceNumbertype="PRO"isPrimary="false">1049837375</ReferenceNumber>
 <ReferenceNumbertype="Customer Acct Number"isPrimary="false">ABC</ReferenceNumber>
 </ReferenceNumbers>

Viewing all articles
Browse latest Browse all 14686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>