Business ethics

What is the primary purpose of an organisational code of ethics?