What is a Code of Practice?

It is not law but it is a set of guidelines set by industry standards. These guidelines should be followed unless there is a better course of action that accomplishes the same if not better standards.