Hello,
In NAV 2013 R2 I am running process only report having below code via job queue.
WindowStill := 1;
BooleanReturn := TRUE;
IF ISCLEAR(Shellik) THEN
CREATE(Shellik,TRUE,TRUE);
x := Shellik.Run(TempPath + 'CopyFiles.bat', WindowStill, BooleanReturn);
But it will give below error.
Microsoft Dynamics NAV
---------------------------
Microsoft Dynamics NAV Server attempted to issue a client callback to create an Automation object: 72c24dd5-d70a-438b-8a42-98424b88afb8 (Report 50052 Export PO & IW to GPO). Client callbacks are not supported on Microsoft Dynamics NAV Server.
---------------------------
OK
---------------------------
How we can use Wshshell via job queue?