Hello,
I want to add an Email-Action to the Blanket Order Page.
I know how to add such actions, thats not the problem but what is the right logic for the "onAction" trigger to run the Email Dialog
set the subject
set the attachment (report)
set the mail text (report)
Does anyone have some refernces or docs about that?
Blanket Order Page Ext.
addbefore(AttachAsPDF) { action(Email) { ApplicationArea = Basic, Suite; Caption = 'Senden per Email'; Ellipsis = true; Image = Email; Promoted = true; PromotedCategory = Category6; PromotedIsBig = true; ToolTip = 'Prepare to mail the document. The Send Email window opens prefilled with the customer''s email address so you can add or edit information.'; trigger OnAction() var SalesHeader: Record "Sales Header"; begin SalesHeader := Rec; end;
Tom