Codeunit 6467 Serv. Interaction Log Mgt.
Source AL, 54 lines
src/Layers/W1/BaseApp/Service/Document/ServInteractionLogMgt.Codeunit.allines 11 to 26 of 54, Copyright (c) Microsoft Corporation. MIT
codeunit 6467 "Serv. Interaction Log Mgt."{ [EventSubscriber(ObjectType::Table, Database::"Interaction Log Entry", 'OnBeforeShowDocument', '', true, false)] local procedure OnBeforeShowDocument(var InteractionLogEntry: Record "Interaction Log Entry"; var IsHandled: Boolean) var ServiceHeader: Record "Service Header"; ServiceContractHeader: Record "Service Contract Header"; ServiceHeaderArchive: Record "Service Header Archive"; begin case InteractionLogEntry."Document Type" of InteractionLogEntry."Document Type"::"Serv. Ord. Create": begin ServiceHeader.Get(ServiceHeader."Document Type"::Order, InteractionLogEntry."Document No."); Page.Run(Page::"Service Order", ServiceHeader) end;