22397 cost and tax

Move freight around some more. Credit calculations on SalesOrder.