Upon an appeal from a judgment or order, the appellate court may reverse, affirm or modify the judgment or order appealed from, in the respect mentioned in the notice of appeal, and as to any or all of the parties, and may, if necessary or proper, order a new trial. When the judgment is reversed or modified, the appellate court may make complete restitution of all property and rights lost by the erroneous judgment. Undertakings for the prosecution of appeals and on writs of certiorari shall make a part of the record sent up to the appellate division on which judgment may be entered against the appellant or person prosecuting the writ of certiorari and his sureties, in all cases where judgment is rendered against the appellant or person prosecuting the writ.
N.C. Gen. Stat. § 1-297