Earlier I wrote an article about how to update one line in a SOP document using eConnect 2010.
I traced the code using SQL Profiler, and extracted the SQL stored procedure calls that do the same job.
Pretty cool...