I'm trying to create and sales invoice using eConnect. and I'm getting an error: Error Number = 3441 Stored Procedure taSopLineIvcInsert Error Description = DOCID does not exist for document type. STDINV is in the DOCID and 3 is in the SOPTYPE . I also tried using the sample VB Sales Order Console Application and got the same error among others. Any ideas what I'm doing wrong. below is the XML.
<eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOPTransactionType>
<eConnectProcessInfo xsi:nil="true" />
<taRequesterTrxDisabler_Items xsi:nil="true" />
<taUpdateCreateItemRcd xsi:nil="true" />
<taUpdateCreateCustomerRcd xsi:nil="true" />
<taCreateCustomerAddress_Items xsi:nil="true" />
<taSopSerial_Items xsi:nil="true" />
<taSopLotAuto_Items xsi:nil="true" />
<taSopLineIvcInsert_Items>
<taSopLineIvcInsert>
<SOPTYPE>3</SOPTYPE>
<SOPNUMBE>M10001</SOPNUMBE>
<CUSTNMBR>GAVLIMNE</CUSTNMBR>
<DOCDATE>2013-05-20</DOCDATE>
<ITEMNMBR>1</ITEMNMBR>
<QUANTITY>25</QUANTITY>
<UNITPRCE>42.000</UNITPRCE>
<UOFM>ST</UOFM>
<XTNDPRCE>1050.00</XTNDPRCE>
<ITEMDESC>BASE FREIGHT</ITEMDESC>
<NONINVEN>1</NONINVEN>
<DOCID>STDINV</DOCID>
</taSopLineIvcInsert>
</taSopLineIvcInsert_Items>
<taSopLineIvcInsertComponent_Items xsi:nil="true" />
<taSopTrackingNum_Items xsi:nil="true" />
<taSopCommissions_Items xsi:nil="true" />
<taSopLineIvcTaxInsert_Items xsi:nil="true" />
<taCreateSopPaymentInsertRecord_Items xsi:nil="true" />
<taSopUserDefined xsi:nil="true" />
<taSopDistribution_Items xsi:nil="true" />
<taAnalyticsDistribution_Items xsi:nil="true" />
<taSopMultiBin_Items xsi:nil="true" />
<taSopHdrIvcInsert>
<SOPTYPE>3</SOPTYPE>
<DOCID>STDINV</DOCID>
<SOPNUMBE>M10001</SOPNUMBE>
<DOCDATE>2013-05-20</DOCDATE>
<CUSTNMBR>GAVLIMNE</CUSTNMBR>
<SUBTOTAL>1050.00</SUBTOTAL>
<DOCAMNT>1050.00</DOCAMNT>
<BACHNUMB>SOP Invoices 05-20-2013</BACHNUMB>
</taSopHdrIvcInsert>
<taSopToPopLink xsi:nil="true" />
<taSopUpdateCreateProcessHold xsi:nil="true" />
<taCreateSOPTrackingInfo xsi:nil="true" />
<taMdaUpdate_Items xsi:nil="true" />
</SOPTransactionType>
</eConnect>
*This post is locked for comments