I added a new field "management_fee" on table "quote" properly. I add this field on "sales_order" field too.
I would like to update this field on sales_order table while quote is converting to order.
I know how to do with quote items using plugin and Magento\Quote\Model\Quote\Item\ToOrderItem
class, but I did not find a class for quote to order.
Best Answer
add the fields to both table
quote
andsales_order
via a setup script in your module.Then add an event in your module (see below)
Finally save the quote data against your order