I'm currently a materials manager for a major oil exploration company in Alaska. Been there for 2 1/2 years. Prior to that, I did 23 years in the Army.
How to get along with people--learned that pretty well in the Army--a few things to live by:
1) "Seek first to understand, then to be understood." Most of the time in conflict, everyone starts trying to prove the other person wrong. If you start by trying to understand why they think they're right, you will either a) realize there's more to the story than what you knew, and maybe
you are wrong; or b) they may be missing some key information (that you have) that will help them change their position once they're
informed
2) "Recognize that most people are doing the best they know how with the tools they're given". An old Colonel once told me "remember that none of your soldiers got out of bed this morning planning on screwing up". If your bosses, co-workers, or subordinates are screwing up, one of two things is going on--either they don't understand what should be going on and they're doing the best based on what they know, or, they don't have the right resources to do it right (could be knowledge, information, tools, time, money, etc). The other alternative is that YOU could be wrong, and don't have enough information to realize that YOU are the one screwing up!
3) When I find a problem at work, either with a relationship or with a task, my first question is "what could I have done differently to have eliminated the problem?" Most people today seem to try to find ways to blame others for problems. Most of the time you can't change others' behavior or attitude, but you can change yours.
4) If 1-3 fails, shoot em. Even if you miss, they'll tend to leave you alone cuz they think you're nuts.
5) Always have fun. If you're not having fun, crack a joke (see #4). Life's too short not to laugh, and way to short to hate going to work.