It Was Mame, Mom
Charlie is invited to a party hosted by a gay ad-executive named Eric, so Charlie asks Alan to pretend that he's his life partner. While at the party, Charlie meets Eric's ex-wife Pamela, and tries to sleep with her without Eric finding out.