There is no universal definition for the term "deviation". Each company must therefore determine for itself what is meant by deviations. Usually, this includes at least violations of limits in processes of manufacturing and testing as well as other systems and procedures. The organisational forms and responsibilities within deviation management are also defined on a company-specific basis.
[GMP Compliance Adviser, Chapter 1.E]
You can find out more about this topic in the GMP Compliance Adviser.