How to add a payable transaction using eConnect in Dynamics GP
If you install eConnect from the distribution media there is an SDK that is enormously helpful.
The PM eConnect procedures you can use/choose from are:
taPMDistribution
taPMDistributionBuild
taPMDistributionCreate
taPMDistributionInsert
taPMManualCheck
taPMSchedPmnts
taPMTransactionInsert
taPMTransactionTaxInsert
taPMVendMstrPeriodSum
taPMVendMstrPeriodSumDetail
I want to say the taPMTransactionInsert procedure is what you'll want to use.
The eConnect installs for Dynamics GP have some samples you can look at, such as this for a PM Transaction Invoice:
<!-- payables invoice creation -->
<eConnect xmlns:dt="urn:schemas-microsoft-com:datatypes">
<PMTransactionType>
<taPMTransactionInsert>
<BACHNUMB>SAVE</BACHNUMB>
<VCHNUMWK>00000000000001001</VCHNUMWK>
<VENDORID>DOLECKIC0001</VENDORID>
<DOCNUMBR>32</DOCNUMBR>
<DOCTYPE>1</DOCTYPE>
<DOCAMNT>520.00</DOCAMNT>
<DOCDATE>2007-02-10</DOCDATE>
<PSTGDATE>2007-02-10</PSTGDATE>
<VADDCDPR>PRIMARY</VADDCDPR>
<PYMTRMID>Net 30</PYMTRMID>
<TAXSCHID>ALL DETAILS</TAXSCHID>
<DUEDATE>2007-02-20</DUEDATE>
<DSCDLRAM>0</DSCDLRAM>
<PRCHAMNT>510.00</PRCHAMNT>
<CHRGAMNT>220.00</CHRGAMNT>
<CASHAMNT>100.00</CASHAMNT>
<CAMCBKID>FLEX BENEFITS</CAMCBKID>
<CDOCNMBR>CASH</CDOCNMBR>
<CAMTDATE>2007-02-10</CAMTDATE>
<CAMPMTNM>00000000000001101</CAMPMTNM>
<CHEKAMNT>100.00</CHEKAMNT>
<CHAMCBID>FLEX BENEFITS</CHAMCBID>
<CHEKDATE>2007-02-10</CHEKDATE>
<CAMPYNBR>346</CAMPYNBR>
<CRCRDAMT>100.00</CRCRDAMT>
<CCAMPYNM>00000000000001401</CCAMPYNM>
<CHEKNMBR>20010</CHEKNMBR>
<CARDNAME>Platinum Credit</CARDNAME>
<CCRCTNUM>26</CCRCTNUM>
<CRCARDDT>2007-02-10</CRCARDDT>
<CHEKBKID>FLEX BENEFITS</CHEKBKID>
<TRXDSCRN>test</TRXDSCRN>
<TRDISAMT>10.00</TRDISAMT>
<TAXAMNT>0</TAXAMNT>
<FRTAMNT>10.00</FRTAMNT>
<TEN99AMNT>0</TEN99AMNT>
<MSCCHAMT>10.00</MSCCHAMT>
<PORDNMBR>1003</PORDNMBR>
<SHIPMTHD>MAIL</SHIPMTHD>
<DISAMTAV>0</DISAMTAV>
<DISTKNAM>0</DISTKNAM>
<APDSTKAM>0</APDSTKAM>
<WROFAMNT>0</WROFAMNT>
<MDFUSRID>sa</MDFUSRID>
<POSTEDDT>2007-02-15</POSTEDDT>
<PTDUSRID>sa</PTDUSRID>
<PRCTDISC>0</PRCTDISC>
</taPMTransactionInsert>
</PMTransactionType>
</eConnect>
Thanks
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156