Codeunit 51 BOM-Explode BOM

Base Application, Microsoft.Inventory.BOM

Source AL, 88 lines

src/Layers/W1/BaseApp/Inventory/BOM/BOMExplodeBOM.Codeunit.allines 10 to 25 of 88, Copyright (c) Microsoft Corporation. MIT

codeunit 51 "BOM-Explode BOM"{    TableNo = "BOM Component";    trigger OnRun()    begin        Rec.TestField(Type, Rec.Type::Item);        if Rec."No." = Rec."Parent Item No." then            Error(Text000);        FromBOMComp.SetRange("Parent Item No.", Rec."No.");        ToBOMComp.SetRange("Parent Item No.", Rec."Parent Item No.");        NoOfBOMComp := FromBOMComp.Count();        if NoOfBOMComp = 0 then            Error(

All 88 lines

Events 2 in 29

[IntegrationEvent] OnRunOnBeforeToBOMCompInsert(var ToBOMComp: Record "BOM Component"; FromBOMComp: Record "BOM Component")new in 18
[IntegrationEvent] OnRunOnAfterGetQtyPerUnitOfMeasure(BOMComponent: Record "BOM Component"; Item: Record Item; var QtyPerUnitOfMeasure: Decimal)new in 22

Changes 1 in 22

List17181920212223242526272829
Events11
[IntegrationEvent] OnRunOnAfterGetQtyPerUnitOfMeasure(BOMComponent: Record "BOM Component"; Item: Record Item; var QtyPerUnitOfMeasure: Decimal)new in 22
added

All 2 changes in 17-29