I want to delete one or more line items before inserting othe line item on update of invoice through web service or econnect.
I am unable to delete the line items.
Please, help me.
Thanks.
*This post is locked for comments
I have the same question (0)Use the SOP Delete Line Type schema in eConnect. If you have lines with duplicate Item Numbers - you will need to know the Line Item Sequence Number.
The best solution may be to supply the Line Item Sequence Number yourself when integrating the document - that way, you will always have a reference for future updates / deletes.
From the eConnect Schema reference: If the document contains multiple lines with the same ITEMNMBR element, the line sequence (LNITMSEQ) element is required. Use the LNITMSEQ to identify the specific SOP line item to delete. If the document does not contain duplicate ITEMNMBR elements, LNITMSEQ is an optional element.
Ian.