By default, the Check reference used field on Setup → Stock information (Default tab) is not selected (not ticked). This will not check if any matching references exists in the Your reference field of the document entry screen for any open / unposted documents for the same document type.
If you activate (tick) this option, a warning message "The reference has been used in a other document! Please check your input for duplicates!" will be displayed.
Click OK twice to save and exit the document entry screen.
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files