Duplicate master numbers on nonrelated sales orders
                                It has been a few months since we have seen sales order that duplicate already existing master numbers. But in the recent month, we have been getting bombarded with duplicate master numbers. I have a job running, that notifies me the moment a duplicate has been created, but there is no clear fix for this. Has anyone found a way to nip this error? If you have any sql advice, that would be great as well.
                            
                             | 
                            
                                
                             | 
                         
                     
                 |