Codeunit 99000771 BOM Matrix Management

Base Application, Microsoft.Manufacturing.ProductionBOM

Source AL, 290 lines

src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/BOMMatrixManagement.Codeunit.allines 10 to 25 of 290, Copyright (c) Microsoft Corporation. MIT

codeunit 99000771 "BOM Matrix Management"{    Permissions = TableData Item = r,                  TableData "Production BOM Header" = r,                  TableData "Production BOM Version" = r,                  TableData "Production Matrix BOM Line" = rimd,                  TableData "Production Matrix  BOM Entry" = rimd;    trigger OnRun()    begin    end;    var        Item: Record Item;        ItemAssembly: Record Item;        ProdBOMHeader: Record "Production BOM Header";

All 290 lines

Events 9 in 29

[IntegrationEvent] OnBuildMatrixForItemOnAfterGetItem(var ProductionBOMLine: Record "Production BOM Line")17-29
[IntegrationEvent] OnBuildMatrixForItemOnBeforeRecursion(var ProductionBOMLine: Record "Production BOM Line")17-29
[IntegrationEvent] OnBuildMatrixForItemOnBeforeComponentListFind(var ProductionBOMLine: Record "Production BOM Line"; var ProductionMatrixBOMLine: Record "Production Matrix BOM Line")17-29
[IntegrationEvent] OnBeforeCompareTwoItems(Item1: Record Item; Item2: Record Item; CalcDate: Date; NewMultiLevel: Boolean; var VersionCode1: Code[20]; var VersionCode2: Code[20]; var UnitOfMeasureCode1: Code[10]; var UnitOfMeasureCode2: Code[10]; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeBOMMatrixFromBOM(ProductionBOMHeader: Record "Production BOM Header"; NewMultiLevel: Boolean; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeBuildMatrix(ProductionBOMNo: Code[20]; var VersionCode: Code[20]; Level: Integer; Quantity: Decimal; var IsHandled: Boolean)new in 27
[IntegrationEvent] OnBuildMatrixForProductionBOMOnAfterGetHeader(var ProductionBOMLine: Record "Production BOM Line")new in 28

All 10 events in 17-29

Public procedures 5 in 29

FindRecord(Which: Text[30]; var ComponentList2: Record "Production Matrix BOM Line"): Boolean17-29
NextRecord(Steps: Integer; var ComponentList2: Record "Production Matrix BOM Line"): Integer17-29
GetComponentNeed(No: Code[20]; VariantCode: Code[10]; ID: Code[20]): Decimal17-29
CompareTwoItems(Item1: Record Item; Item2: Record Item; CalcDate: Date; NewMultiLevel: Boolean; var VersionCode1: Code[20]; var VersionCode2: Code[20]; var UnitOfMeasureCode1: Code[10]; var UnitOfMeasureCode2: Code[10])17-29changed in 25
BOMMatrixFromBOM(ProductionBOMHeader: Record "Production BOM Header"; NewMultiLevel: Boolean)17-29changed in 25

Changes 3 in 28

List17181920212223242526272829
Procedures2
Events323
[IntegrationEvent] OnBuildMatrixForProductionBOMOnAfterGetHeader(var ProductionBOMLine: Record "Production BOM Line")new in 28
added
[IntegrationEvent] OnAfterCompareTwoItems(Item1: Record Item; Item2: Record Item; CalcDate: Date; NewMultiLevel: Boolean; VersionCode1: Code[20]; VersionCode2: Code[20]; UnitOfMeasureCode1: Code[10]; UnitOfMeasureCode2: Code[10])new in 28
added
[IntegrationEvent] OnAfterBOMMatrixFromBOM(ProductionBOMHeader: Record "Production BOM Header"; NewMultiLevel: Boolean)new in 28
added

All 10 changes in 17-29