When does consular processing begin?

Consular processing begins once the immigration petition is approved by USCIS, and a visa number is available.