Prerequisite The custom setting Auto Create Order must be set to True under Setup > Develop > Custom Settings > Comply System Properties.