hi
anybody know how I can use native Navisions "Link bu E-Mail" function via C/AL code.
I write function for automatic sending email and I need to send some reports url as attachement(i.e same as doing by selecting File->Send->Link by Email).
My customer would like the link to open up Navision and pull open a specific document.
any assistance are welcome
Samson
0
Comments
However, there are a couple of other ways to do this directly.
You can run the report through code and call the save as html function.
then you create a c/al automation variable for mailing
start creating an email message through code using the automation's api
then you create an instreamobject and read the data from the file you created and put that into the message body of the the email.
and you have total control!
functionally, this is exactly the same as what navision does... fairly easy to do.