I am using Visual Studio 2012 and eConnect to integrate purchase order invoices into GP. I am passing matched shipments in the taPopEnterMatchInvLine node along with a taPopDistribution node for freight. The XML schema result is pasted below. The document is created in GP and no errors are returned. However, the freight distribution seems to be ignored. The freight amount is entered at the header level, but the GL code is not inserted at the Distribution level and must be manually entered in GP after the fact. Any ideas why? I really need to be able to pass both the matched shipments (and sometimes even using taPopEnterMatchInvToShpMultiLine) along with a distribution line for freight.
<?xml version="1.0" encoding="UTF-8"?> -<eConnect xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> -<POPEnterMatchInvoiceType> <eConnectProcessInfo xsi:nil="true"/> <taRequesterTrxDisabler_Items xsi:nil="true"/> <taUpdateCreateItemRcd xsi:nil="true"/> <taUpdateCreateVendorRcd xsi:nil="true"/> <taCreateVendorAddress_Items xsi:nil="true"/> <taPopRcptLineTaxInsert_Items xsi:nil="true"/> -<taPopDistribution_Items> -<taPopDistribution> <POPTYPE>2</POPTYPE> <POPRCTNM>10000082</POPRCTNM> <ACTNUMST>000-0000-0000-59910</ACTNUMST> <DEBITAMT>16.620000</DEBITAMT> <DISTTYPE>3</DISTTYPE> <VENDORID>SAG00001</VENDORID> </taPopDistribution> </taPopDistribution_Items> <taAnalyticsDistribution_Items xsi:nil="true"/> -<taPopEnterMatchInvLine_Items> -<taPopEnterMatchInvLine> <POPRCTNM>10000082</POPRCTNM> <PONUMBER>PO0302059</PONUMBER> <QTYINVCD>1000</QTYINVCD> <ITEMNMBR>391-10004</ITEMNMBR> <VENDORID>SAG00001</VENDORID> <UNITCOST>0</UNITCOST> <EXTDCOST>0</EXTDCOST> <AUTOCOST>1</AUTOCOST> </taPopEnterMatchInvLine> </taPopEnterMatchInvLine_Items> <taPopEnterMatchInvToShpMultiLine_Items xsi:nil="true"/> -<taPopEnterMatchInvHdr> <POPRCTNM>10000082</POPRCTNM> <VNDDOCNM>0006773106</VNDDOCNM> <receiptdate>12/31/2014</receiptdate> <BACHNUMB>COR360-2015225</BACHNUMB> <VENDORID>SAG00001</VENDORID> <SUBTOTAL>0</SUBTOTAL> <FRTAMNT>16.62000</FRTAMNT> <AUTOCOST>1</AUTOCOST> </taPopEnterMatchInvHdr> <taMdaUpdate_Items xsi:nil="true"/> </POPEnterMatchInvoiceType> </eConnect>
*This post is locked for comments