Upon the confirmation of the report of sale of any property, real or personal, under a decree for sale to satisfy a mortgage, deed of trust, or other lien on such property, if there be a balance due to the complainant, the court, upon motion, shall give a decree against the defendant for any such balance for which by the record of the case he may be personally liable, upon which decree execution may issue.