Try and generate a unique order number before creating