Martinez is an accountant at the Scranton, Pennsylvania, office of the paper distribution company Dunder Mifflin and gets his first name from Núñez; series producer Greg Daniels said that "Oscar" sounded like a good accountant's name. He is also openly gay after being outed by his then boss Michael Scott in "Gay Witch Hunt", the third-season premiere episode devoted to the outing. However, the character was implied to be gay in the second-season episode "The Secret", when Dwight catches him faking sickness to spend the day with his boyfriend (Dwight remains oblivious to this detail as he was obsessed with proving that Oscar was not ill). As a result, in earlier episodes, many co-workers erroneously attribute to him various Mexican stereotypes (e.g. being involved in drug cartels) but after his outing, his stereotypes are more focused on his being gay, particularly by Michael, which may explain their conflicted relationship. Núñez explained in a 2008 interview that the character variously feels amusement, pity and hatred towards his fictional boss. He has no specific counterpart in the original British series.