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