Solving equations in orders