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
DolgoldyDolgoldy 

Sript Writing in anonymous window

Hi all, I want to Write a script for Inserting Records for Month Jan, Feb and March on opportunity related object can anyone help me to write this one. Since I never write script before.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi ,

Can you confirm which object records do you want to insert. Is it about writing apex code in Anonomous window?

Please confirm the above so experts can help you on it.

Thanks,
 
DolgoldyDolgoldy
Hi sai, I want to Write a script for Inserting Records for Month Jan, Feb and March on opportunity related object i.e. - ARRCalcualateOpportunity__c which is child object on opportunity
DolgoldyDolgoldy
yes its about writing apex code on anonymous window. record should be inserted only for 3 months