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
devfredevfre 

reg:Apex class for scheduled monthly report

hi ,

 

 i have to writhe a class that sends scheduled monthly report , monthly report is for the opportunity object and a custom object.. in the monthly report it will have the expiry date of the records ie., the service will be expiring in next 30 days,etc.,. can somebody help me with this? i also need the test class of it...

bob_buzzardbob_buzzard

Is there any reason why you couldn't do this with a regular scheduled report?  

sivaextsivaext

Hi 

 

As bob said try that regular schedule report and send monthly .

 

 

it not possible with regular schedule export 

 

write schedule class  and schedule that class monthly basis.