This is a code sample for how to create a SOP order in eConnect.
Objects used: SOPTransactionType, taSopHdrIvcInsert, taSopLineIvcInsert_ItemsTaSopLineIvcInsert.
You'll need the eConnectFunctions class located here: http://dyndeveloper.com/thread.aspx?Threadid=1117