Codeunit 1639 Office Line Generation

Base Application, Microsoft.CRM.Outlook

Source AL, 633 lines

src/Layers/W1/BaseApp/CRM/Outlook/OfficeLineGeneration.Codeunit.allines 13 to 28 of 633, Copyright (c) Microsoft Corporation. MIT

codeunit 1639 "Office Line Generation"{    // This codeunit contains algorithms for finding item references within text.    trigger OnRun()    begin    end;    var        NumbersTxt: Label 'one|two|three|four|five|six|seven|eight|nine|ten', Comment = 'This is a ''|'' separated list of cardinal numbers from one to ten. This is used to find mentions of quantities of certain items.';        RestrictedWordsTxt: Label 'and|for|the', Comment = 'Words that should not be used to find items in the item table (separated by "|").';        TelemetryClosedPageTxt: Label 'Suggested line items closed via %2 action.%1  Items Suggested: %3%1  Items selected: %4', Locked = true;        TelemetryAlgorithmPerformanceTxt: Label 'Item generation algorithm finished in %2ms.%1  Length of mail body: %3%1  Total items found:   %4%1  Single item matches: %5%1  Total matched items: %6', Locked = true;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Office Document Handler", 'OnGenerateLinesFromText', '', false, false)]

All 633 lines

Events 2 in 29

[IntegrationEvent] OnBeforeCreateLinesBasedOnQuantityReferences(var HeaderRecRef: RecordRef; var TempOfficeSuggestedLineItem: Record "Office Suggested Line Item" temporary; EmailBody: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCreateLinesBasedOnItemReferences(var HeaderRecRef: RecordRef; var TempOfficeSuggestedLineItem: Record "Office Suggested Line Item" temporary; EmailBody: Text; var IsHandled: Boolean)new in 18

Changes 1 in 18

List17181920212223242526272829
Events1
[IntegrationEvent] OnBeforeCreateLinesBasedOnItemReferences(var HeaderRecRef: RecordRef; var TempOfficeSuggestedLineItem: Record "Office Suggested Line Item" temporary; EmailBody: Text; var IsHandled: Boolean)new in 18
added

All 1 changes in 17-29