filled in some gaps in the sale_order_in interface