issue #20438: Implement convert quote to work order.

issue #20625: Sales orders should honor privileges regarding customer credit settings.