An agricultural sprayer comprises a pump system for conveying and distributing fluid between fluid sources and consumers. The pump system comprises a centrifugal pump and a multi-inlet ball valve located on a suction side of the pump. The centrifugal pump comprises an impeller that rotates on a pump axis. The ball valve comprises a ball that is rotatable around the pump axis to selectively connect the valve inlets to the pump. The pump comprises a pump casing that is provided together with a portion of a ball valve casing by a unitary casting.