DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
Malachi 11/18/2012 11:44:01 AM

eConnect - Transaction Requester - Get one SOP line

* This article, and all our great eConnect documentation, Is available on the eConnect menu

In a recent project, we needed to

  • Get a line from a SOP document
  • Delete the line
  • Resubmit the line using the SOPTransactionType. (It allows you to submit a line only, and that will add a line to the SOP document)

This is the piece of code that we used to do step one, getting the SOP document line.

This function takes a SOP Number, Type, and Line Item Sequence as params and returns a 

Microsoft.Dynamics.GP.eConnect.Serialization.taSopLineIvcInsert_ItemsTaSopLineIvcInsert

 object. Since it's already in that form all we have to do is to edit it a little and re-submit it.

Version: GP 2010
Section: eConnect