{"title":"Codeunit 5819 Undo Service Consumption Line, events","url":"https://jonas-paprotka.de/ref/codeunit/5819-undo-service-consumption-line/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5819,"name":"Undo Service Consumption Line","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5819-undo-service-consumption-line/","json":"https://jonas-paprotka.de/ref/codeunit/5819-undo-service-consumption-line.json"},"aspect":"events","total":15,"rows":[{"name":"OnAfterCode","sig":"(var Record Service Shipment Line)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCopyItemJnlLineFromServShpt","sig":"(var Record Item Journal Line, Record Service Shipment Header, Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; ServiceShipmentHeader: Record \"Service Shipment Header\"; ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; ServiceShipmentHeader: Record \"Service Shipment Header\"; ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateOrderLine","sig":"(var Record Service Line, var Record Service Shipment Line)","named":"(var ServiceLine: Record \"Service Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCheckServShptLine","sig":"(var Record Service Shipment Line, var Boolean)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostItemJnlLineWithIT","sig":"(var Record Item Journal Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var ItemJournalLine: Record \"Item Journal Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeReservEntryInsert","sig":"(var Record Reservation Entry, var Record Item Ledger Entry)","named":"(var ReservationEntry: Record \"Reservation Entry\"; var ItemLedgerEntry: Record \"Item Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ReservationEntry: Record \"Reservation Entry\"; var ItemLedgerEntry: Record \"Item Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeTempGlobalItemEntryRelationInsert","sig":"(var Record Item Entry Relation, var Record Item Ledger Entry)","named":"(var ItemEntryRelation: Record \"Item Entry Relation\"; var ItemLedgerEntry: Record \"Item Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ItemEntryRelation: Record \"Item Entry Relation\"; var ItemLedgerEntry: Record \"Item Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeOnRun","sig":"(var Record Service Shipment Line, var Boolean)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCodeOnAfterUpdateServShptLine","sig":"(var Record Service Shipment Line)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostItemJnlLineWithIT","sig":"(var Record Item Journal Line, var Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeInsertCorrectiveShipmentLine","sig":"(var Record Service Shipment Line)","named":"(var OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostResourceJnlLine","sig":"(var Record Service Shipment Line, var Boolean)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnItemJnlPostLineOnAfteItemJnlPostLineOnBeforeExit","sig":"(var Record Item Journal Line, var Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnPostResourceJnlLineOnBeforeResJnlPostLine","sig":"(var Record Res. Journal Line, var Record Service Shipment Header, var Record Service Shipment Line)","named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShipmentHeader: Record \"Service Shipment Header\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShipmentHeader: Record \"Service Shipment Header\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInsertCorrectiveShipmentLineOnBeforeInsert","sig":"(var Record Service Shipment Line, Record Service Shipment Line)","named":"(var NewServiceShipmentLine: Record \"Service Shipment Line\"; OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var NewServiceShipmentLine: Record \"Service Shipment Line\"; OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}