Coming in at number five, Pretorius struck 124 off 114 balls for his maiden ODI century, becoming the youngest player to score an international century in all three formats.
Stubbs followed with 136 off 131 balls, the highest individual ODI score at St George’s Park.
“It’s about giving everybody an opportunity in their best position, as well as giving one or two, or having a look at one or two people in different positions and seeing what they can offer in the middle order,” Prince said.
The partnership was the second-highest fifth-wicket stand for SA in ODIs, behind the 256-run effort by David Miller and JP Duminy against Zimbabwe in the 2015 World Cup.
For Prince, however, the value of the partnership went beyond the records.
“At 57 for four, you kind of have to expect that the team is digging out of a hole. And I think he did that to perfection,” he said of Stubbs.
“Sometimes in white-ball cricket, because it’s a white ball, and it’s 50 overs or T20 cricket, spectators or viewers are expecting the ball to fly out of the ground all the time.
“Cricket being cricket, at 57 for four, you’re under the pump, you’re under pressure.
"And he [Stubbs] knows, and we know that the longer he stays in with a partner, the more he’s able to catch up.
“Of course, in other innings he won’t be going at a 50% strike rate.
"But you play what’s necessary. I think he played to perfection,” he said about the way the right-hander paced his innings.
The performance also underlined the importance of adaptability, particularly for players moving between roles.
Prince believes that flexibility can give the Proteas more options as they continue to shape their batting order.
“Another word that’s quite big for us nowadays is adaptability,” he said.