According to Jim - Season 8 Episode 6 Cabin Boys
Overview: Jim looks forward to a "guys only" weekend with Andy, but when Andy ends up dumped by Emily over a text message and when the guys stumble upon Emily's depressed ex husband, Jim decides to do his best to cheer up the guys and save what's left of their weekend.