I got this strange case - were a contract record was created at 20/12/2016, but it shows in createdBy old date 15/12/2015. The correct created date shown in the lastmodifiedDate.

According to my code the record was supposed to be created at 20/12/2016, this is shown also in the history, and it's also seems according to the contract running number (not sure if it's reliable...), still can't figure how it got createdBy with old date, as I don't have any code that manipulate the createdBy field.

Any idea how it can happen?


enter image description here

enter image description here

  • Is this a Custom Object from a Managed Package, or yours? Is there some kind of automatic merge? The record was almost certainly created on the 15th in 2015, we can see from your screenshot it was however last modified on the 20th of 2016. The auto-number increment also seems to corroborate that it was indeed created on the 15th. – Dan Jones Dec 22 '16 at 12:58
  • Hi. This is standard object- Contract, and both fields are also standard. Indeed the createBy shows 15th, but the history shows 20th. + in the 20th exactly at this time there was process that supposed to create this record. – Liron C Dec 22 '16 at 13:02
  • That is odd because CreatedDate isn't a field that's writable, nor do I believe the Field History Tracking is. – Dan Jones Dec 22 '16 at 13:07
  • +1 - a good question and I reworded your OP title to make it more useful to future searchers – cropredy Dec 23 '16 at 18:22

OK. I found the issue. It got this createdDate via clone function. In the clone function there is boolean that determine if the copied record will get the same createdBy/createdDate from the source.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.