issue #19796: Update sales order/quote to handle costs like qt client 4.1 and enforce cost privileges.