What version of Adagio OrderEntry do you have? In the recent 81B release, an option to 'Check for duplicate reference' is available within the Company Profile on the System Options tab. Enabling this option will pop a warning that the reference has already been used (case sensitive) and prevent saving the order with the duplicate reference. Both current and historical orders are checked.
_________________________
Regards,
Softrak Tech Support