is it possible to

Liesje C

Hello

is it possible to mail an order-confirmation after save ?


Kind regards
L

Martin Ehrensberger

Hi Liesje,
You can do this by creating a new printdefinition with activated "Print after save", "print" and "email."
After that you have to add following code to the generate-script:
If Not Engine.IsDoublePass Then
If GetData("LD.Par.AfterSave") = "Y" Then
Engine.CancelRender()
LayoutOpener.ExecutePrintDef(GetData("LD.SysPar.PrintDefCode"),LayoutOpener.OpenLayoutModes.Email,"DocEntry",GetData("LD.Par.DocEntry"))
End If
End If

Hope this helps,
If you need further assistance to implement this solution, please contact our support.
Regards Martin

Liesje C

Thanks for the information.
I guess this solution opens a window where the parameters can be filled?
Is it also possible to send this mail in background, without showing a screen first?

Maybe possible with coresuite customiser?
0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post