Codeunit 5819 Undo Service Consumption Line

Base Application, Microsoft.Service.History

Source AL, 614 lines

src/Layers/W1/BaseApp/Service/History/UndoServiceConsumptionLine.Codeunit.allines 25 to 40 of 614, Copyright (c) Microsoft Corporation. MIT

codeunit 5819 "Undo Service Consumption Line"{    Permissions = TableData "Item Ledger Entry" = rm,                  TableData "Item Application Entry" = rmd,                  TableData "Service Line" = rimd,                  TableData "Service Ledger Entry" = rimd,                  TableData "Warranty Ledger Entry" = rim,                  TableData "Service Shipment Line" = rimd,                  TableData "Item Entry Relation" = ri;    TableNo = "Service Shipment Line";    trigger OnRun()    var        ConfirmManagement: Codeunit "Confirm Management";        IsHandled: Boolean;    begin

All 614 lines

Events 14 in 29

[IntegrationEvent] OnAfterCode(var ServiceShipmentLine: Record "Service Shipment Line")17-29
[IntegrationEvent] OnAfterCopyItemJnlLineFromServShpt(var ItemJournalLine: Record "Item Journal Line"; ServiceShipmentHeader: Record "Service Shipment Header"; ServiceShipmentLine: Record "Service Shipment Line")17-29
[IntegrationEvent] OnAfterUpdateOrderLine(var ServiceLine: Record "Service Line"; var ServiceShipmentLine: Record "Service Shipment Line")17-29
[IntegrationEvent] OnBeforeCheckServShptLine(var ServiceShipmentLine: Record "Service Shipment Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeReservEntryInsert(var ReservationEntry: Record "Reservation Entry"; var ItemLedgerEntry: Record "Item Ledger Entry")17-29
[IntegrationEvent] OnBeforeTempGlobalItemEntryRelationInsert(var ItemEntryRelation: Record "Item Entry Relation"; var ItemLedgerEntry: Record "Item Ledger Entry")17-29
[IntegrationEvent] OnBeforeOnRun(var ServiceShipmentLine: Record "Service Shipment Line"; var IsHandled: Boolean)17-29

All 15 events in 17-29

Public procedures 1 in 29

SetHideDialog(NewHideDialog: Boolean)17-29

Changes 1 in 24

List17181920212223242526272829
Events161
[IntegrationEvent] OnInsertCorrectiveShipmentLineOnBeforeInsert(var NewServiceShipmentLine: Record "Service Shipment Line"; OldServiceShipmentLine: Record "Service Shipment Line")new in 24
added

All 8 changes in 17-29