I am trying to run a codeunit through a job queue.
The codeunit enables to send notifications to employees via mail using the function NewMessage in codeunit 397.
I am having the following error:
Microsoft Dynamics NAV Server attempted to issue a client callback to create a DotNet object: Microsoft.Dynamics.Nav.Integration.Office.Outlook.OutlookMessage (CodeUnit 397 Mail). Client callbacks are not supported on Microsoft Dynamics NAV.
When I want to run de codeunit through a job queue I get the error
Microsoft Dynamics NAV Server attempted to issue a client callback to create a DotNet object: Microsoft.Dynamics.Nav.Integration.Office.Outlook.OutlookMessage (CodeUnit 50000 test html mail). Client callbacks are not supported on Microsoft Dynamics NAV.