Question: does dwight get jim fired?
Answer: "Diabolical Plan" is a plan created by Dwight Schrute in order to get Jim Halpert fired. When Ryan Howard finds it, he joins Dwight. It is only a bit successful, indirectly.