function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
List<Hiring_Manager__c> managerList = new List<Hiring_Manager__c>(); for (Integer i = 0; i < 200; i++) { Hiring_Manager__c manager = new Hiring_Manager__c(); manager.Name = 'Hiring Manager ' + (i+1); managerList.add(manager); } insert managerList;
If you want the code block in anonomous block you can try as below.
If you want in apex class I have already answered in the below link.
https://developer.salesforce.com/forums?dc=Apex_Code_Development#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Apex_Code_Development&criteria=ALLQUESTIONS&id=9062I000000R5u0 (https://developer.salesforce.com/forums?dc=Apex_Code_Development#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Apex_Code_Development&criteria=ALLQUESTIONS&id=9062I000000R5u0)
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
Can you confirm the correct API name of the object?
Thanks,
1. Write an apex Class, to Insert a Lead Record inside the Object.
2. Write an apex program, to Insert 200 Hiring Manager Records inside the Object.
can u help me for solve this
Did you create a custom object Hiring Manager?
Thanks.
If you can join now. I will share the gmeet link.
Thanks,