#19797: Over half a dozen fixes for problems related to sales order price functionality.