Codeunit 9136 Check BOM Component

Base Application, Microsoft.Inventory.BOM

Source AL, 48 lines

src/Layers/W1/BaseApp/Inventory/BOM/CheckBOMComponent.Codeunit.allines 9 to 24 of 48, Copyright (c) Microsoft Corporation. MIT

codeunit 9136 "Check BOM Component"{    [EventSubscriber(ObjectType::Table, Database::Item, 'OnAfterCheckDocuments', '', false, false)]    local procedure ItemOnBeforeCheckDocuments(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text);    begin        CheckBOMComponents(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption);    end;    internal procedure CheckBOMComponents(var Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)    var        BOMComponent: Record "BOM Component";        IsHandled: Boolean;    begin        IsHandled := false;        OnBeforeCheckBOMComponents(Item, CurrentFieldNo, CheckFieldNo, CheckFieldCaption, IsHandled);

All 48 lines

Events 1 in 29

[IntegrationEvent] OnBeforeCheckBOMComponents(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25