You need to sign in to do that
Don't have an account?
souvik9086
Lead Migration Error
Hi All,
We are migrating huge amount of data from one Salesforce org to another through dataloader. We faced some problem while migrating lead data. Some records of lead failed to migrate and it errored out like for e.g
"Converted Date(Mon Oct 19 00:00:00 GMT 2010) before Create Date(Tue Oct 19 10:54:57 GMT 2010).: Converted Date"
Didn't able to find out the reason of this. Just wondering how can this error come.
If anyone has any answer to this, kindly help us to this.
Thanks in advance
CreatedDate - Datetime
ConvertedDate - Date
So when createddate and converted date are same, it is erroring out because of the time difference as
"Converted Date(Mon Oct 19 00:00:00 GMT 2010) before Create Date(Tue Oct 19
10:54:57 GMT 2010).: Converted Date"
This is because of the reason that ConvertedDate is Date type field and by default it is
taling as Mon Oct 19 00:00:00. So it is becoming less than original createddate. So it is
errored out. I tried to fix it by making created date as Tue Oct 19 00:00:00 instead of
Tue Oct 19 10:54:57 and it worked fine.
Thanks very much for your quick responses.
All Answers
possible solution is to ask salesforce to enable audit trail for created date and upload the leads with original created date.
Hi thanks for your reply.
We have already enabled that from Salesforce.com and the Audit fields are inserting correctly as per old org i.e not the current date/time. It is showing the original date/time of creation.
Yes that is showing correct.
CreatedDate - Datetime
ConvertedDate - Date
So when createddate and converted date are same, it is erroring out because of the time difference as
"Converted Date(Mon Oct 19 00:00:00 GMT 2010) before Create Date(Tue Oct 19
10:54:57 GMT 2010).: Converted Date"
This is because of the reason that ConvertedDate is Date type field and by default it is
taling as Mon Oct 19 00:00:00. So it is becoming less than original createddate. So it is
errored out. I tried to fix it by making created date as Tue Oct 19 00:00:00 instead of
Tue Oct 19 10:54:57 and it worked fine.
Thanks very much for your quick responses.
You are 100% right.
Again thanks.
Yes I thought that same. but I founded out that both production organisation has same timezone settings. The error was because of the Date and Datetime issue. Please check the previous post of me. It is now working fine.
Thanks :-)