Codeunit 99000820 Mfg. Bom Buffer

Base Application, Microsoft.Inventory.BOM

Source AL, 220 lines

src/Layers/W1/BaseApp/Manufacturing/Inventory/BOM/MfgBOMBuffer.Codeunit.allines 16 to 31 of 220, Copyright (c) Microsoft Corporation. MIT

codeunit 99000820 "Mfg. Bom Buffer"{    var        MfgCostCalculationMgt: Codeunit "Mfg. Cost Calculation Mgt.";        UOMMgt: Codeunit "Unit of Measure Management";        QtyPerFieldIsNotSetErr: Label 'The Quantity per. field in the BOM for Item %1 has not been set.', Comment = '%1 Item No.';    [EventSubscriber(ObjectType::Table, Database::"BOM Buffer", 'OnInitFromItemOnAfterSetReplenishmentSystem', '', true, false)]    local procedure OnInitFromItemOnAfterSetReplenishmentSystem(var BOMBuffer: Record "BOM Buffer"; Item: Record Item; StockkeepingUnit: Record "Stockkeeping Unit");    var        VersionMgt: Codeunit VersionManagement;        ProductionBOMCheck: Codeunit "Production BOM-Check";        VersionCode: Code[20];    begin        BOMBuffer."Production BOM No." := Item."Production BOM No.";        BOMBuffer."Routing No." := Item."Routing No.";

All 220 lines

Events 1 in 29

[IntegrationEvent] OnBeforeRoundUnitAmtForRolledUpMfgOvhdCost(var BOMBuffer: Record "BOM Buffer")new in 27