IIRC, you’re not supposed to be drunk on the job, but you can drink in moderation, as long as it doesn’t go against local laws and you comport yourself in a way that doesn’t reflect badly on your employer or the profession (or impair your judgement and objectivity).