Issue 20040: Moved common functionality between Quote and Sales Order to base kind.