I am passing both the QTYTOIVC and QTYTBAOR. I have tried several variations and I cannot get these to work. This only fails for lines that were partially invoiced. QTYPRINV has a value.
eConnectException: Sql procedure error codes returned:
Error Number = 4777 Stored Procedure= taSopLineIvcInsert Error Description = Quantities can not exceed total quantity plus quantity already transferred
Node Identifier Parameters: taSopLineIvcInsert
SOPNUMBE = WEB000885464
SOPTYPE = 2
LNITMSEQ = 65536
Related Error Code Parameters for Node : taSopLineIvcInsert
UpdateIfExists = 1
QTYCANCE = Note: This parameter was not passed in, no value for the parameter will be returned.
QUANTITY = 18.00000
QTYTBAOR = Note: This parameter was not passed in, no value for the parameter will be returned.
QUOTEQTYTOINV = Note: This parameter was not passed in, no value for the parameter will be returned.
TOTALQTY = 18.00000
<taSopLineIvcInsert>
<SOPTYPE>2</SOPTYPE>
<SOPNUMBE>WEB000885464</SOPNUMBE>
<CUSTNMBR>12626</CUSTNMBR>
<DOCDATE>3/1/2022 12:00:00 AM</DOCDATE>
<LOCNCODE>HANDM</LOCNCODE>
<ITEMNMBR>E5384-0000-000</ITEMNMBR>
<UNITPRCE>18.86000</UNITPRCE>
<QUANTITY>18.00000</QUANTITY>
<LNITMSEQ>65536</LNITMSEQ>
<SHIPMTHD>HNM</SHIPMTHD>
<ALLOCATE>1</ALLOCATE>
<UpdateIfExists>1</UpdateIfExists>
<TOTALQTY>18.00000</TOTALQTY>
<DEFEXTPRICE>1</DEFEXTPRICE>
</taSopLineIvcInsert>
Inner Exception: