Sage 100 Export Sales Order to File BOI

SOLVED

Hello,

I am having difficulty getting some code to work.  I have found examples, but translating it to C# is making it harder to solve the problem.

I am trying to export a sales order through the SO_SalesOrderPrinting_UI BOI.

the following settings seem to work in my code:

-nInitReportEngine

-nSetExportOptions

-nProcessReport("EXPORT")

however, setting nReportType to 6 to suppress the export UI popup does not seem to work.  As far as I can tell, the method does not exist.

We have the 2015 SAGE.

I found some helpful forum posts, but for them this seemed to work.

Thanks in advanced, if anyone has any ideas.