Cooking ham and scalloped potatoes
I would stick to approx 300, and put the potatoes in the hottest part of the oven and the ham in the coolest part of the oven, that should do the trick, and get ready to take your ham out before the potatoes are finished - at which point possibly turn the oven up a bit.  As with a lot of cooking, it can take a bit of juggling.