Codeunit 2103 O365 Sales Cancel Invoice

Base Application

Source AL, 146 lines

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

codeunit 2103 "O365 Sales Cancel Invoice"{    TableNo = "Job Queue Entry";    trigger OnRun()    begin        SendInvoiceCancelationEmailFromJobQueue(Rec);    end;    var        EmailSubjectTxt: Label 'Your invoice has been canceled.';        GreetingTxt: Label 'Hello %1,', Comment = '%1 - customer name';        CanceletionEmailBodyTxt: Label 'Thank you for your business. Your invoice has been canceled.';        CancelationEmailSubjectTxt: Label 'Invoice %1 of amount %2%3, that was due on %4 has been canceled. ', Comment = '%1 = Invoice No,%2 = Currency code, %3 = Total amount including tax , %4 = Due date';    [Scope('OnPrem')]

All 146 lines

Public procedures 4 in 29

SendInvoiceCancelationEmail(SalesInvoiceHeader: Record "Sales Invoice Header")17-29
GetEmailAddress(var SalesInvoiceHeader: Record "Sales Invoice Header"): Text[250]17-29
GetEmailSubject(var SalesInvoiceHeader: Record "Sales Invoice Header"): Text[250]17-29
IsInvoiceCanceled(SalesInvoiceHeader: Record "Sales Invoice Header"): Boolean17-29

All 5 procedures in 17-29

Changes 1 in 24

List17181920212223242526272829
Procedures11
CancelInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header")gone after 23
gone

All 2 changes in 17-29