Hi Richard,
I still have another problem, when I use eConnect to update the sales order, it comes out an error "Error Number = 2699 Stored Procedure= taSopLineIvcInsert Error Description = IN Parameter QUOTEQTYTOINV can only be used with quotes". Do you know something about that ?below is the xml:
<eConnect p1:xmlnsdt="" xmlns:p1="urn:schemas-microsoft-com:datatypes">
<SOPTransactionType>
<taSopLineIvcInsert_Items>
<taSopLineIvcInsert>
<SOPTYPE>2</SOPTYPE>
<DOCID>STDORD </DOCID>
<SOPNUMBE>ORD0003997</SOPNUMBE>
<CUSTNMBR>19004 </CUSTNMBR>
<DOCDATE>03/19/2015</DOCDATE>
<QUANTITY>0</QUANTITY>
<QTYFULFI>0</QTYFULFI>
<TOTALQTY>1.00000</TOTALQTY>
<ITEMNMBR>08596</ITEMNMBR>
<LNITMSEQ>32768</LNITMSEQ>
<UpdateIfExists>1</UpdateIfExists>
<AUTOALLOCATELOT>0</AUTOALLOCATELOT>
<USRDEFND5>TC_Lot</USRDEFND5>
</taSopLineIvcInsert>
<taSopLineIvcInsert>
<SOPTYPE>2</SOPTYPE>
<DOCID>STDORD </DOCID>
<SOPNUMBE>ORD0003997</SOPNUMBE>
<CUSTNMBR>19004 </CUSTNMBR>
<DOCDATE>03/19/2015</DOCDATE>
<QUANTITY>0</QUANTITY>
<QTYFULFI>0</QTYFULFI>
<TOTALQTY>2.00000</TOTALQTY>
<ITEMNMBR>00303</ITEMNMBR>
<LNITMSEQ>16384</LNITMSEQ>
<UpdateIfExists>1</UpdateIfExists>
<AUTOALLOCATELOT>0</AUTOALLOCATELOT>
<USRDEFND5>TC_Lot</USRDEFND5>
</taSopLineIvcInsert>
</taSopLineIvcInsert_Items>
<taSopHdrIvcInsert>
<SOPNUMBE>ORD0003997</SOPNUMBE>
<BACHNUMB>TEST</BACHNUMB>
<DOCDATE>03/19/2015</DOCDATE>
<DOCID>STDORD </DOCID>
<SOPTYPE>2</SOPTYPE>
<UpdateExisting>1</UpdateExisting>
<CUSTNMBR>19004 </CUSTNMBR>
<USRDEFND5>TC_Lot</USRDEFND5>
</taSopHdrIvcInsert>
</SOPTransactionType>
</eConnect>