MSO header set to Costed if all lines are Costed

The status of the Maintenance Sales Order header is now set to Costed if the status of all lines is Costed. Consequently, if the last line of the maintenance sales order is set to Costed, the header status is automatically changed to Costed.