Issue #21822:copy sales order char assignments to invoice