cancel
Showing results for 
Search instead for 
Did you mean: 

Di API send email

Former Member
0 Kudos

I am trying to send email a invoice with default layout attachment when I add it. Is there any way to do it by DIAPI?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

Hi Dlego Lother,

In that link i got sample code, in that they used one function or method i showed below.

I need below method definition.

Dim sAttachPath AsString=GetAttachmentPath()
former_member185682
Active Contributor
0 Kudos

Hi Nandappa,

Did you look this thread?

https://archive.sap.com/discussions/thread/3439961

Kind Regards,

Diego Lother

Former Member
0 Kudos

Hi Dlego Lother,

In that link i got sample code, in that they used one function or method i showed below.

I need below method definition.

former_member185682
Active Contributor
0 Kudos

Hi Nandappa,

How the name suggest, the method return a string with the path of your attachment.

Unfortunately I don't have the definition, but you can implement returning the path of your attachment folder, or you can provide the path directly without a method.

Below a sql to get the SAP Business One Attachments folder:

SELECT AttachPath FROM OADP

Kind Regards,

Diego Lother

Former Member
0 Kudos

Hi Dlego Lother,

Thanks for your replay.

I understood that method for attachments.

I had a doubt, is possible to send mail default crystal PLD.

Regards

Nandappa

former_member185682
Active Contributor
0 Kudos

Hi Nandappa,

Unfortunately I never done this. Maybe someone else user have an answer.

Good Luck.

Kind Regards,

Diego Lother