If, in such action, the plaintiff shall obtain judgment upon motion to dismiss, by confession or default, the court shall make an order therein that the truth of the breach assigned be inquired into, and the damages sustained thereby be assessed at the same or the next term, and the court shall proceed therein in the same manner as in other cases of inquiry of damages.
§ 522.220, RSMo