#872|Changes for inserting modifiedDate and createdDate as soon as a record is created and setting the modifiedDate only when a record id updated