RMA Processing using BOI

I am trying to duplicate the following UI process using the BOI:

1)  Create RMA Receipt (header/details) for an Invoice.  (Note that the procedure for us is to skip creating the RMA return in the UI.)

2)  Distribute RMA lines.

3)  Generate Transactions for the RMA.  (This is a multi-step process that first involves adding row(s) to the RA_GenerateTransactions table, and then creating the transactions, deleting and adding to various tables, etc.)

I am able to use the BOI to accomplish steps 1 and 2.  But I have not been able to use the BOI to trigger creating rows in the RA_GenerateTransactions table.  I did find another post ( Script to automate RMA Generate Transactions ) which may help me after the row(s) is/are created to generate the transactions.  (Although if I use SQL to insert a row into the RA_GenerateTransactions table without using the BOI, I have not been able to use the code in the referenced post to trigger further processing.)

I have tried creating various RMA BOI objects and calling various methods with no success.  I have also not found any documentation on how to duplicate RMA processing using the BOI.  Any help is appreciated!

I am using C#, but welcome any code.  Also, I have written successful code that posts sales orders to Sage in production, so I am not new to using the BOI.

Thank you,

Joanne