issue #20438: Implement convert quote to work order.

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