Upon an appeal from a judgment or order, the Supreme Court may reverse, affirm, or modify the judgment or order, and may direct the entry of such judgment or order as the court deems required by the record, as to any or all of the parties; and may, if necessary or proper, order a new trial; and if the appeal is from a part of the judgment or order, may reverse, affirm, or modify as to the part appealed from.
SDCL 15-30-2