Is a dismissal due to an increase in supplier prices justified?

Is a dismissal due to an increase in supplier prices justified?