for the pull behind sprayer i have with 12v pump,
i have a marine battery used for trolling motor, or sprayer, or some other 12v stuff if i need it. and just place battery on the pull behind. and strap it down.
i can connect pull behind to truck, or tractor, and then run an a regular 110v extension cord between the 2 110v connectors. so i can feed the wire through vehicle and up to battery, or around the seat and up to battery on tractor.
i tossed optional trailer plug to 110v connector in there for ya. for an idea.
===============
a note / warning, alternators on tractors can be rather small, and just enough to run lights and the simple electronics on a tractor. if 12v pump pulls any sort of amps you could run the battery dead, and if you turn off tractor it may not start up due to dead battery, you may want to let tractor set there an run for some time after using sprayer pump. to make sure you have enough charge to restart the tractor.
some manufactures offer an "optional" larger alternator, for extra electronics, Cab tractors normally get larger alternator by default, were as open station tractors with simple roll bar will most likely get smallest alternator possible.
===============
EDIT: i forget to draw in the 10amp fuse, and a 110v regular light switch i have mounted at the pull behind sprayer.
forget to mention reason for male vs female ends, is i have caught the wires on weeds and pulled the extension cord ends apart, by placing ends this way, i won't have any female ends that stick out, and dangling that could come back and hit the tractor or rear of vehicle and cause a spark to happen.