Kane Williamson's unbeaten 145 in New Zealand's victory over South Africa in Kimberley ensured he pinched a record from Northern Knights teammate Scott Styris.
Williamson's knock was the highest score by a New Zealander against a top-eight test playing nation in a one-day game and surpassed Styris' 141 against Sri Lanka at the 2003 World Cup.
His 136-ball innings, which included 17 fours and one six, was also the sixth-equal highest score by a New Zealander in a one-dayer. The higher totals all came against minnows such as Ireland, Zimbabwe and the US.
Williamson made his runs while battling cramp and his 127-run partnership with Grant Elliott (48) for the third wicket was the most crucial stand in the game.
"I was cramping up. I just got regular drinks and took a few cramp tablets and things and it seemed to ease off a little bit," Williamson said.