Edit 9/17/15 View the main article for this error here
Hello everyone!
I'm trying to do a test routine to make an inventory adjustment via Econnect. I passed all the required values following the schema, but this error shows when I call the XML document.
Here's the XML:
<IVInventoryTransactionType>
<eConnectProcessInfo xsi:nil="true" />
<taRequesterTrxDisabler_Items xsi:nil="true" />
<taUpdateCreateItemRcd xsi:nil="true" />
<taIVTransactionSerialInsert_Items xsi:nil="true" />
- <taIVTransactionLotInsert_Items>
- <taIVTransactionLotInsert>
<ITEMNMBR>ITEM</ITEMNMBR>
<LOTNUMBR>66287QA</LOTNUMBR>
<LNSEQNBR>16384</LNSEQNBR>
<LOCNCODE>GENERAL</LOCNCODE>
<EXPNDATE>31/03/2010</EXPNDATE>
<DATERECD>19/11/2008</DATERECD>
</taIVTransactionLotInsert>
<taIVTransactionLotInsert xsi:nil="true" />
<taIVTransactionLotInsert xsi:nil="true" />
</taIVTransactionLotInsert_Items>
- <taIVTransactionLineInsert_Items>
- <taIVTransactionLineInsert>
<ITEMNMBR>ITEM</ITEMNMBR>
<LNSEQNBR>16384</LNSEQNBR>
<TRXLOCTN>GENERAL</TRXLOCTN>
</taIVTransactionLineInsert>
</taIVTransactionLineInsert_Items>
<taAnalyticsDistribution_Items xsi:nil="true" />
<taIVTransactionMultiBinInsert_Items xsi:nil="true" />
- <taIVTransactionHeaderInsert>
<BACHNUMB>PRUEBA</BACHNUMB>
<DOCDATE>01/04/2009</DOCDATE>
</taIVTransactionHeaderInsert>
</IVInventoryTransactionType>
</eConnect>
Also, how can I get the next document number? I'm trying with the "GetnextdocNumbers" but it returns only the type of the document and not the next doc number.
Thanks in advance!!