Skip to content


Error when exporting PO's to XML destination.

Stephen asked 2 weeks ago

I am creating a simple integration in SmartConnect 21 to export PO’s to an xml file destination. The source is a GP Query.

The error I am getting is as follows;

“Error in XmlFileDestination. Map OPENPURCHASEORDER_XML Begin event. An error occurred in the HandleMapBegin method: An error occurred creating the xml data set: Error creating data table GPPO|POLine: Object reference not set to an instance of an object.”

Then for each line of the export there is another error;

Error in ‘XmlFileDestination’.
Line ‘GPPO|POLine’.
Parameter begin process event.
Could not determine the matching data row for table ‘GPPO’ with filter ” on map line Xml – GPPO | POLine

I have been able to successfully create the same type of export for both PO Returns and PO Receipts. I’m not sure what the problem is and need to get this done ASAP.

Any help would be appreciated.

If you would like to submit an answer or comment, please sign in to the eOne portal.