i all,
This is the current error:
Code: Select all
Error en ejecucion planificador: System.Web.Services.Protocols.SoapException: Se llamó al Id. de función 1000000000. El objeto con el Id. 99000919 no tiene un miembro con ese Id.
en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
en System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
en Planificador.Negocio.PlanificadorTareas.PlanificadorDeTareas()
en Planificador.Servicios.srvWinPlanificador.miTimer_Elapsed(Object sender, ElapsedEventArgs e)
Para obtener más información, vea el Centro de ayuda y soporte técnico en
So it says something about function with ID 100000000000 was called and thenthe object with ID 99000919 (no idea wich one is that, I think it could be a function id into a codeunit) doesn´t have a member with that ID.
the code is as simple as this. If I remove it, it works.
Code: Select all
CASE JobSchedSetup."Object Type" OF
jobschedsetup."Object Type"::Codeunit:
begin
if jobschedsetup.id='2' then
begin
c50141.run;
JobSchedSetup."Message Text" := 'OK';
end;
end;
END;
Any ideas?
many thanks!