Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How can I stop creating batch in econnect

Posted on by 90

Hi All,

I am processing the xml below to econnect.

eConnect xmlns:dt="urn:schemas-microsoft-com:datatypes">
 <taPMTransactionType>
 <eConnectProcessInfo>
  <ProductName>V1.0</ProductName>
  </eConnectProcessInfo>
 <taPMDistribution_Items>
 <taPMDistribution>
  <DOCTYPE>1</DOCTYPE>
  <VCHRNMBR>00000000000004621</VCHRNMBR>
  <VENDORID>HOC200</VENDORID>
  <DISTTYPE>6</DISTTYPE>
  <ACTNUMST>01-66070-900-10</ACTNUMST>
  <DEBITAMT>95.000000</DEBITAMT>
  <CRDTAMNT>0.000000</CRDTAMNT>
  <ACTINDX>425</ACTINDX>
  </taPMDistribution>
<taPMTransactionInsert>
  <BACHNUMB>APDBASICS101311</BACHNUMB>
  <PSTGDATE>2011-09-21T00:00:00</PSTGDATE>
  <VCHNUMWK>00000000000004621</VCHNUMWK>
  <VENDORID>HOC200</VENDORID>
  <DOCNUMBR>8992</DOCNUMBR>
  <DOCTYPE>1</DOCTYPE>
  <DOCAMNT>131.760000</DOCAMNT>
  <DOCDATE>2011-09-13T00:00:00</DOCDATE>
  <PRCHAMNT>131.760000</PRCHAMNT>
  <CURNCYID>Z-US$</CURNCYID>
  <TRXDSCRN>Travel to RFP Pitch</TRXDSCRN>
  <CHRGAMNT>131.760000</CHRGAMNT>
  <CREATEDIST>0</CREATEDIST>
  </taPMTransactionInsert>
<taCreateUpdateBatchHeaderRcd>
  <BACHNUMB>APDBASICS101411</BACHNUMB>
  <GLPOSTDT>10/14/2011</GLPOSTDT>
  <SERIES>4</SERIES>
  <BCHSOURC>XMLImport</BCHSOURC>
  <DOCAMT>0</DOCAMT>
  <ORIGIN>1</ORIGIN>
  <NUMOFTRX>0</NUMOFTRX>
  </taCreateUpdateBatchHeaderRcd>
  </taPMTransactionType>
  </taPMTransactionType>

it is processing the xml successfully to econnect but it is creating two batches in SY00500 table

one batch is created default by econnect with BACHSOURC as'PM_Trxent' and the GLPOSTDT is incorrect(i.e as PSTGDT in taPMTransactionInsert in above xml) in SY00500 table.

second batch is created with information presented in taCreateUpdateBatchHeaderRcd node in the above xml and the GLPOSTDT is created correctly (i.e as GLPOSTDT in taCreateUpdateBatchHeaderRcd node in above xml) .

how to stop defaultely created batch by econnect . How to upadte GLPOSTDT correctly in SY00500 table.

Can any one help me to resolve this issue.

Thanks

Ravi

 

 

*This post is locked for comments

  • Manikandan Profile Picture
    Manikandan 2,845 on at
    Re: How can I stop creating batch in econnect

    Hi ravi ,

    you are using two different batches . use any one batch for one transaction.

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    Re: How can I stop creating batch in econnect

    Ravi,

    You are giving two different batchID one is "APDBASICS101311" in taPMTransactionInsert and other one is "APDBASICS101411" in taCreateUpdateBatchHeaderRcd that's may be the reason it create two different batch. Can you give same batchId and check it.

    Thanks

    Sandip Jadhav

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans