Dear Sir,
Currently I'm sending NAV PDF Matrix Report in the SMTP Mail attachment using JOB Queue. Now the client wants that the email body should be appeared exactly as Report Layout.
How can I do this ?
Kindly guide me in NAV 2016.
Thanks,
navuser1
Now or Never
0
Answers
My code working fine as I required but the same does not work in Job Queue. The culprit code given below.
The NAS has found null value in the first parameter of "CallSaveAsFormat" function and hence it gives the following error message.
If you've any suggestion regarding the same please reply.
I am working in a Server Computer where SQL, NAS & Office already installed. The manual execution of C/AL Code working fine but Job Queue does not. All variable are SET NO in RunOnClient properties.
I have gone thru the important points you mentioned & studied various blog/web search to get something new which I miss out but found nothing as such.
Do you have any other suggestion regarding the same....?
BTW, thanks for your time & consideration.
"WordHelper.CallOpen" does not return anything where as every parameter carries the value of this function. I can not understand why it's not able to open the created word file.
How do I know what is the reason for this kind of malfunctioning ?
Able to open the word file in middle-tier and the Word is installed with proper licence.
Maybe you are missing a reference or something. After that don't forget to turn the logging off. Closing the application does not stop logging.