Codeunit 9134 Check Transfer Document
Source AL, 46 lines
src/Layers/W1/BaseApp/Inventory/Transfer/CheckTransferDocument.Codeunit.allines 9 to 24 of 46, Copyright (c) Microsoft Corporation. MIT
codeunit 9134 "Check Transfer Document"{ var CannotChangeItemWithOutstandingDocumentLinesErr: Label 'You cannot delete %1 %2 because there are one or more outstanding transfer orders that include this item.', Comment = '%1 - Item, %2 - Item No.'; [EventSubscriber(ObjectType::Table, Database::Item, 'OnAfterCheckDocuments', '', false, false)] local procedure ItemOnBeforeCheckDocuments(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text); begin CheckTransferLines(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption); end; internal procedure CheckTransferLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text) var TransferLine: Record "Transfer Line"; IsHandled: Boolean; beginEvents 1 in 29
| [IntegrationEvent] On | new in 25 |