I'm trying to submit the document below to Dynamics via eConnect, and I'm getting a cryptic 'An Item with the same key has already been added.'.
I have verified that Functional Currency has been setup, and I can key the transaction manually.
<PMTransactionType>
<eConnectProcessInfo xsi:nil="true" />
<taRequesterTrxDisabler_Items xsi:nil="true" />
<taUpdateCreateVendorRcd xsi:nil="true" />
<taCreateVendorAddress_Items xsi:nil="true" />
<taPMTransactionTaxInsert_Items xsi:nil="true" />
<taPMDistribution_Items>
<taPMDistribution>
<DOCTYPE>1</DOCTYPE>
<VCHRNMBR>00015782</VCHRNMBR>
<VENDORID>CHASEVISA01</VENDORID>
<DSTSQNUM>1</DSTSQNUM>
<DISTTYPE>2</DISTTYPE>
<ACTNUMST>62000-01-00</ACTNUMST>
<DEBITAMT>270.00000</DEBITAMT>
</taPMDistribution>
<taPMDistribution>
<DOCTYPE>1</DOCTYPE>
<VCHRNMBR>00015782</VCHRNMBR>
<VENDORID>CHASEVISA01</VENDORID>
<DSTSQNUM>2</DSTSQNUM>
<DISTTYPE>2</DISTTYPE>
<ACTNUMST>62000-01-00</ACTNUMST>
<DEBITAMT>87.00000</DEBITAMT>
</taPMDistribution>
<taPMDistribution>
<DOCTYPE>1</DOCTYPE>
<VCHRNMBR>00015782</VCHRNMBR>
<VENDORID>CHASEVISA01</VENDORID>
<DSTSQNUM>3</DSTSQNUM>
<DISTTYPE>6</DISTTYPE>
<ACTNUMST>20100-00-00</ACTNUMST>
<CRDTAMNT>357.00000</CRDTAMNT>
</taPMDistribution>
</taPMDistribution_Items>
<taAnalyticsDistribution_Items>
<taAnalyticsDistribution>
<DOCNMBR>00015782</DOCNMBR>
<DOCTYPE>1</DOCTYPE>
<DistSequence>1</DistSequence>
<ACTNUMST>62000-01-00</ACTNUMST>
<aaTrxDim>PROJECT</aaTrxDim>
<aaTrxDimCode>BDX004</aaTrxDimCode>
</taAnalyticsDistribution>
<taAnalyticsDistribution>
<DOCNMBR>00015782</DOCNMBR>
<DOCTYPE>1</DOCTYPE>
<DistSequence>2</DistSequence>
<ACTNUMST>62000-01-00</ACTNUMST>
<aaTrxDim>PROJECT</aaTrxDim>
<aaTrxDimCode>BDX004</aaTrxDimCode>
</taAnalyticsDistribution>
</taAnalyticsDistribution_Items>
<taPMTransactionInsert>
<BACHNUMB>EW_EMP</BACHNUMB>
<VCHNUMWK>00015782</VCHNUMWK>
<VENDORID>CHASEVISA01</VENDORID>
<DOCNUMBR>A</DOCNUMBR>
<DOCTYPE>1</DOCTYPE>
<DOCAMNT>357.00000</DOCAMNT>
<DOCDATE>6/13/2013</DOCDATE>
<DUEDATE>1/1/1900</DUEDATE>
<PRCHAMNT>357.00000</PRCHAMNT>
<CHRGAMNT>357.00000</CHRGAMNT>
<TRXDSCRN>1748 -- 05/28/2013 - 06/10/201</TRXDSCRN>
<CREATEDIST>0</CREATEDIST>
</taPMTransactionInsert>
<taMdaUpdate_Items xsi:nil="true" />
</PMTransactionType>
</eConnect>