Update result.OrderHed table using field from QuoteHed table

Hi all,

So my intentions are to make it so that when a quote is made into an order from selecting “Get Opportunity/Quote” in the overflow menu of the Order Entry application, the Need By and Ship By dates are pulled in from the quote if they exist, and if not then there will be a bpm form that asks for those dates to be entered BEFORE saving the sales order to the database.

Everytime I use the Invoke BO Method to try to pull in the QuoteHed fields so I can set them to the result.OrderHed table, I get a nasty Compilation Error.

Im running the preprocessing method in the Erp.BO.SalesOrder.CreateOrderFromQuote directive. Anyone either know how to fix my issue or know how to correctly reference and update one table based on another tables field?