function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
beenerbeener 

Help request - Weekly duplication of records

Hi All,

I am an newbie and would appreciate your help in the following:

Once a week I would like to take several records (those who answer a simple date criteria) and duplicate these.
When duplicating, I would like to edit a certain field (again, in an automatic way, one change for all, not per record).

I assume an Apex trigger is needed, but I need a little direction pointing. anyone?

Thanks
ctonectone
It doesn't sound like an Apex Trigger is right for this job but it's tough to tell without knowing why you are duplicating the records and what you are planning on doing with those duplicates.

You may also want to check out Analytic Snapshots (Goto Help > Setup > Data Management > Setting Up Analytic Snapshots) to see if they would be of any use.

--Chris