Well, at least you do have a hydraulic diagram. That system is just enough different from a standard one to make a diagram a real help. Your hand drawn in PTO part make perfect sense, but the fact that they were not there originally makes me wonder if the (Independent)PTO was an option or afterthought. Do you know?
As you have drawn it, what you are calling the "priority valve" - not shown originally - has an input from the IPTO pump and an output to the solenoid flow switch. But I am puzzled why you are calling it a priority valve? A priority valve divides an input flow into two outputs. So if that is a priority valve, it should have an input and at least two outputs. Where is the other output?
Is the other output the missing plug?? And if so, is the missing plug in fact a relief valve? Or the outlet from one? If so is there a relief valve inside that aluminum valve block? In that case, the priority would be IPTO vs RELIEF and that would make sense. One would expect a relief valve somewhere in the IPTO system in case the PTO is stalled. Otherwise a stalled PTO would blow up the pump and maybe break the shaft.
Then we go over to the soleoid flow control (on/off) and I see that you have drawn in two return lines. Why are there two? Any idea?
Flow meters are very expensive but wonderful tools to have. I don't know of a small one for measuring flow in home shops for compact tractors. Even large dealers there days are unlikely to have a flow meter, although diagnosing hydraulics without one is a lot like doing electricals without a VOM.
Don't let me talk you out of a flow meter, but also consider buying or making a hydraulic pressure test kit (Amazon has them), and using that meter to plug the hole in the "priority valve". If so you might want to incorporate a relief valve in that test line just in case. It might show no pressure unless the IPTO is turned on and then stalled, and I would not recommend stalling the IPTO as a test even if you could....because it might cause major damage... Probably would.
rScotty