Establecer como favoritoPrashanthkumar Annarapu preguntó en #Apex10 mar 2022, 05:51i got errors Line: 1, Column: 11 Method does not exist or incorrect signature: void createBulkprospects() from the type DMLhelperapex class codepublic class DMLhelper { public static void createBulkprospects() { List<Lead>lstleads=new List<Lead>(); for(integer counter=1;counter<=100;counter++) { Lead ld = new Lead(); ld.firstname='Bulk'; ld.LastName='Lead record'+counter; ld.Company='salesforce INC'; ld.Status='Warm'; ld.Industry='Technology'; ld.phone='9900998877'; ld.fax='9900778899'; ld.Email='bulked'+counter+'@gmail.com'; ld.LeadSource='Web'; lstleads.add(ld); } if(!lstleads.isempty()) Insert lstleads; system.debug('number of DML statements used..:'+Limits.getDmlStatements()); } }execution coe:Dmlhelper.createbulkprospects();error: Line: 1, Column: 11 Method does not exist or incorrect signature: void createBulkprospects() from the type DMLhelper5 respuestasOrdenarClasificar por fechaClasificar por más útilClasificar por fechaCargar más comentarios...Sai Praveen Kumar Kakkirala (Salesforce)10 mar 2022, 06:36Hi Prashanth,If the solution provided helps, Mark it as best answe so it would be helpful for others.Thanks, Agregar un comentarioEscribir una respuesta...NegritaCursivaSubrayadoTachadoLista con viñetasLista numeradaAgregar vínculoBloque de códigoInsertar imagenAdjuntar archivosURL de vínculoCancelarGuardar0/9000Responder
Sai Praveen Kumar Kakkirala (Salesforce)10 mar 2022, 06:36Hi Prashanth,If the solution provided helps, Mark it as best answe so it would be helpful for others.Thanks,