Duplicate documents are created

Hi

I am actually importing one file into the application and the agent is actually creating the employee records in the database.

Sometimes it is creating duplicate documents and sometimes not, Is there any specific way to find out why?

Subject: duplicate documents are created

Are you using Profile Document, to generate Unique Number?