Codeunit 2114 O365 HTML Templ. Mgt.

Base Application

Source AL, 498 lines

src/Layers/W1/BaseApp/Invoicing/O365HTMLTemplMgt.Codeunit.allines 6 to 21 of 498, Copyright (c) Microsoft Corporation. MIT

codeunit 2114 "O365 HTML Templ. Mgt."{    Permissions = TableData "Payment Reporting Argument" = rimd;    trigger OnRun()    begin    end;    var        InvoiceNoTxt: Label 'Invoice No.';        EstimateNoTxt: Label 'Estimate No.';        ValidUntilTxt: Label 'Valid until';        TotalTxt: Label 'Total %1', Comment = '%1 = Currency Code';        YourInvoiceTxt: Label 'Your Invoice';        YourEstimateTxt: Label 'Your Estimate';        WantToPayOnlineQst: Label 'Want to pay online?';

All 498 lines

Events 3 in 29

[IntegrationEvent] OnResizeCompanyLogo(var TempBlob: Codeunit "Temp Blob")17-29
[IntegrationEvent] OnAfterIsSalesInvoiceCanceled(var SalesInvoiceHeader: Record "Sales Invoice Header"; var Result: Boolean)17-29
[IntegrationEvent] OnAfterCalcAndGetAmountIncludingVAT(var SalesHeader: Record "Sales Header"; var AmountIncludingVAT: Decimal)new in 20

Public procedures 8 in 29

CreateEmailBodyFromReportSelections(ReportSelections: Record "Report Selections"; RecordVariant: Variant; MailTo: Text; MailText: Text): Text[250]17-29
Pending, tag 27.0, obsolete since 27: Replaced with CreateEmailBodyFromReportSelections that accepts a TempBlob as additional parameter.
GetTemplateContent(TemplateCode: Code[20]): Text17-29
FillCommonParameters(var HTMLText: Text; SocialNetworksSectionHTMLText: Text; SocialNetworkRowSectionHTMLText: Text; MailTo: Text; MailText: Text)17-29
FillParameterValueEncoded(var HTMLText: Text; ParamenterName: Text; ParameterValue: Text)17-29
FillParameterValue(var HTMLText: Text; ParamenterName: Text; ParameterValue: Text)17-29
ReplaceBodyFileSendTo(BodyFileName: Text; OldSendTo: Text; NewSendTo: Text)17-29

All 8 procedures

Changes 2 in 27

List17181920212223242526272829
Procedures2
Events1
CreateEmailBodyFromReportSelections(ReportSelections: Record "Report Selections"; RecordVariant: Variant; MailTo: Text; MailText: Text): Text[250]17-29
marked Pending, tag 27.0: Replaced with CreateEmailBodyFromReportSelections that accepts a TempBlob as additional parameter.
CreateEmailBodyFromReportSelections(ReportSelections: Record "Report Selections"; RecordVariant: Variant; MailTo: Text; MailText: Text; var TempBlob: Codeunit "Temp Blob")new in 27
added

All 3 changes in 17-29