Again, that depends on your role. Very often (usually depending on seniority) you actually are paid to deliver working code.
There've been times where the most productive use of my time was to answer questions all day long and not write a single line of code. There've also been times where my job was to shield the engineers on my team and intercept anyone who tried to talk to them. But a lot of the time - I am writing the code. If I don't write the code, it won't get written. The guy being paid to deliver solutions is an executive several levels above me on the org chart who's been with the company since he was the one heads-down writing code, and then it's my manager's job to shield me from everyone who wants to talk to me.
There've been times where the most productive use of my time was to answer questions all day long and not write a single line of code. There've also been times where my job was to shield the engineers on my team and intercept anyone who tried to talk to them. But a lot of the time - I am writing the code. If I don't write the code, it won't get written. The guy being paid to deliver solutions is an executive several levels above me on the org chart who's been with the company since he was the one heads-down writing code, and then it's my manager's job to shield me from everyone who wants to talk to me.