Nvc 4/1/2009 4:58:08 PM

taIVTransactionLotInsert error: The quantity entered for this lot is not available in the IV00300

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>
  <IVDOCNBR>1</IVDOCNBR>
  <IVDOCTYP>1</IVDOCTYP>
  <ITEMNMBR>ITEM</ITEMNMBR>
  <LOTNUMBR>66287QA</LOTNUMBR>
  <SERLTQTY>1</SERLTQTY>
  <ADJTYPE>1</ADJTYPE>
  <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>
  <IVDOCNBR>1</IVDOCNBR>
  <IVDOCTYP>1</IVDOCTYP>
  <ITEMNMBR>ITEM</ITEMNMBR>
  <LNSEQNBR>16384</LNSEQNBR>
  <TRXQTY>-1</TRXQTY>
  <TRXLOCTN>GENERAL</TRXLOCTN>
  </taIVTransactionLineInsert>
  </taIVTransactionLineInsert_Items>
  <taAnalyticsDistribution_Items xsi:nil="true" />
  <taIVTransactionMultiBinInsert_Items xsi:nil="true" />
- <taIVTransactionHeaderInsert>
  <BACHNUMB>PRUEBA</BACHNUMB>
  <IVDOCNBR>1</IVDOCNBR>
  <IVDOCTYP>1</IVDOCTYP>
  <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!!

 

 

Version: Unknown or N/A
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
3