Sending email with attached file
Hello coresuite community,
I want to send a xml-file by using the email-button in SAP B1. It works by using "LD.addattachment()", but the pdf-file was attached to.
So I have add "Engine.CancelRender()" which avoid to add the pdf-file, which work, too.
The catch is, that we need to put the pdf-file into our archiv system. This is achieved through execute an other printdef. But when I do CancelRender, it will not run the other printdef.
Is there a way not to add the pdf file and run a second printdef for archiving by useing the mail-button?
Thank for your suggestions
Please sign in to leave a comment.