Charging intermittent, sometimes it does sometimes not

Update. Tested alternator. With the green field wire unhooked and that field terminal on the alternator grounded just off idle the volts started climbing quickly to 14..15... so alternator does charge. Looks like VR.