Captain Preston Mommsen led from the front as Scotland beat the United Arab Emirates by 41 runs in the final of World Cup qualifying tournament in Lincoln.
Mommsen's 139 was pivotal as his team posted 5-285 at Bert Sutcliffe Oval, a score UAE never truly threatened before reaching 9-244.
With both teams having already qualified for the tournament in February and March next year, the final determined which group the teams would be placed in.
Victory sent Scotland into pool A, where they will face tournament co-hosts New Zealand and Australia.
They will open their campaign against New Zealand in Dunedin on February 17 before games against England (Christchurch), Afghanistan (Dunedin), Bangladesh (Nelson) and Sri Lanka (Hobart) before completing the pool phase against Australia in Hobart on March 14.
Scotland failed to win a pool game in their previous World Cup appearances, in 1999 and 2007.
UAE, who contested the 1996 tournament, will face Zimbabwe (Nelson), Ireland (Brisbane), India (Perth), Pakistan (Napier), South Africa (Wellington) and the West Indies (Napier).
They qualified first for Saturday's final courtesy of a superior net run rate to Scotland, with both teams having dropped just one of seven games.
However, they were rocked onto the back foot by Mommsen, whose 149-ball knock lifted him to 520 runs for the tournament.
Only UAE captain Khurram Khan (581 runs) had scored more and it was his dismissal for 34 which sparked a slide.
Swapnil Patil stood firm as the run rate required escalated, scoring an unbeaten 99 but he failed to reach three figures after scoring a single off the final ball.
Left-arm paceman Rob Taylor and right-arm seamer Safyaan Sharif both bowled tightly for Scotland and took three wickets each.