I am a site engineer. Once, my project manager called me and yelled at me because I was not around when a delivery arrived. I told my manager I was in the toilet at the time, which is a true. Afterwards, the assistant of the project manager came to my work place and started teasing me with my immediate boss. They said that my boss had not taught me manners, because I told a project manager I was in the toilet.
My question is, is it really wrong to say what I did in that situation? If I didn't say that he would have assumed that I was roaming somewhere avoiding work.