Codeunit 1636 Office Contact Handler

Base Application, Microsoft.CRM.Outlook

Source AL, 306 lines

src/Layers/W1/BaseApp/CRM/Outlook/OfficeContactHandler.Codeunit.allines 14 to 29 of 306, Copyright (c) Microsoft Corporation. MIT

codeunit 1636 "Office Contact Handler"{    TableNo = "Office Add-in Context";    trigger OnRun()    begin        if HasValidRecipient(Rec) then            FindAndRedirectContact(Rec)        else            ShowContactSelection(Rec);    end;    var        SelectAContactTxt: Label 'Select a contact';        MatchingContactDifferentCompanyLbl: Label 'A matching contact was found in company "%1". Would you like to switch company and show the matching contact?', Comment = '%1 = the company name of where the contact was found';        PageOpenTxt: Label 'Open page for the selected contact.', Locked = true;

All 306 lines

Public procedures 2 in 29

ShowContactSelection(OfficeAddinContext: Record "Office Add-in Context")17-29
ShowCustomerVendor(TempOfficeAddinContext: Record "Office Add-in Context" temporary; Contact: Record Contact; AssociatedTable: Option; LinkNo: Code[20])17-29