This preference causes QuickBooks to warn you when you try to record an
invoice that has the same number as a previous invoice.
The warning causes QuickBooks to take more time to record an invoice. This
affects performance significantly if you have a large company file.
Where to find this preference:
Open the sales and customers preferences.