Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
SteveGray 6/3/2014 4:41:13 PM

Trouble with AA in an eConnect PMTransaction

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.'.

Can anyone offer any insight?

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>
Version: GP 2013
Section: eConnect








Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables