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
lavanya g 9lavanya g 9 

difference between weeks in apex

  • Recurrence Pattern
 
    • Weekly
    • Monthly
    • Quarterly
    • Yearly
  • Recurrence Range Starting Period
 
      • W1, W2, …, W52
      • M1, M2, …, M12
      • Q1, Q2, Q3, Q4
      • Y1
  • Recurrence Range Ending Period
 
    • Depends on the pattern selected above:
      • W1, W2, …, W52
if I select week: startrage week7 endrange week 14 then I have to create diff of number opty so 7 opty I have to create how can I acheive this very much appricaited help ASAP please...
ANUTEJANUTEJ (Salesforce Developers) 
Hi Lavanya,

There could be multiple ways for implementing the scenario but one possible way I could think of is you can have a trigger or process builder where in you can check the difference and insert the difference number of records.

In case if the above solution was useful can you please close the thread by marking this as the best answer so that it can be used by others in the future and also helps in keeping the community clean.

Regards,
Anutej