Dc to ac

I'm going to put my engine with a DC stator in my other scooter which is ac wired for a short while while I work on it's engine am I right in thinking all I need to do is earth one of the yellow wires from the stator to change the dc to ac?