Generalized Pauli master equation for a quantum dynamic system in an external field