my end goal is to manual fulfill a sales order by changing the quantity from 0 to the amount successfully fulfilled using EConnect. I am using SQL to access the line items and looping through to create taSopLineIvcInsert_ItemsTaSopLineIvcInsert and applying the proper amount in each QTYFULFI. I am not changing any other fields. When trying this on an order that has been linked to a PO i get the " You can not change quantities because the line item is committed to a purchase order" exception. My issue is that I can do this in the GP client no problem.
Below is my XML.
<taSopLineIvcInsert>
<SOPTYPE>2</SOPTYPE>
<SOPNUMBE>#######</SOPNUMBE>
<CUSTNMBR>#####</CUSTNMBR>
<DOCDATE>07/28/2016</DOCDATE>
<ITEMNMBR>#############</ITEMNMBR>
<QUANTITY>15.0</QUANTITY>
<LNITMSEQ>16384</LNITMSEQ>
<ACTLSHIP>07/28/2016</ACTLSHIP>
<QTYFULFI>10.0</QTYFULFI>
<UpdateIfExists>1</UpdateIfExists>
</taSopLineIvcInsert>