6 réponses
Hi Mohd Nabeel,You are calling the method with incorrect parameter. Use this code this will help you to call the method from anonymous window.
If you found it useful please appreciate my efforts and mark it as the best answerRegards,SoyabList<Account> accList = new List<Account>();
accList.add(new Account(Name = 'Mohd Nabeel'));
insert accList;
AccountContact.onBefore(accList);