Source AL, 249 lines
src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/WhereUsedManagement.Codeunit.allines 11 to 26 of 249, Copyright (c) Microsoft Corporation. MIT
codeunit 99000770 "Where-Used Management"{ Permissions = TableData "Production BOM Header" = r, TableData "Production BOM Version" = r, TableData "Where-Used Line" = rimd; trigger OnRun() begin end; var TempWhereUsedList: Record "Where-Used Line" temporary; UOMMgt: Codeunit "Unit of Measure Management"; VersionMgt: Codeunit VersionManagement; MfgCostCalcMgt: Codeunit "Mfg. Cost Calculation Mgt."; MultiLevel: Boolean;
All 249 lines
Events 9 in 29
| [IntegrationEvent] OnBeforeWhereUsedListInsert(var WhereUsedLine: Record "Where-Used Line"; var ItemAssembly: Record Item; var CalcDate: Date; var Quantity: Decimal) | 17-29 |
| [IntegrationEvent] OnBeforeIsActiveProductionBOM(ProductionBOMLine: Record "Production BOM Line"; var Result: Boolean; var IsHandled: Boolean) | new in 18 |
| [IntegrationEvent] OnAfterBuildWhereUsedList(Type: Option " ",Item,"Production BOM"; No: Code[20]; CalcDate: Date; var WhereUsedList: Record "Where-Used Line" temporary; NextWhereUsedEntryNo: Integer; Level: Integer; Quantity: Decimal; MultiLevel: Boolean) | new in 19 |
| [IntegrationEvent] OnBuildWhereUsedListOnAfterItemAssemblySetFilters(var Item: Record Item; var No: Code[20]) | new in 19 |
| [IntegrationEvent] OnBeforeBuildWhereUsedList(Type: Option; No: Code[20]; var Multilevel: Boolean; var CalcDate: Date; var Level: Integer; var Quantity: Decimal; var NextWhereUsedEntryNo: Integer; var TempWhereUsedLine: Record "Where-Used Line" temporary) | new in 21 |
| [IntegrationEvent] OnBuildWhereUsedListOnLoopProdBomComponent(var ProductionBOMLine: Record "Production BOM Line"; var TempWhereUsedLine: Record "Where-Used Line" temporary; var NextWhereUsedEntryNo: Integer; No: Code[20]; CalcDate: Date; var Level: Integer) | new in 21 |
| [IntegrationEvent] OnBuildWhereUsedListOnBeforeFindSetProdBOMComponent(var ProductionBOMLine: Record "Production BOM Line") | new in 22 |
All 10 events in 17-29
Public procedures 5 in 29
| FindRecord(Which: Text[30]; var WhereUsedList2: Record "Where-Used Line"): Boolean | 17-29 |
| NextRecord(Steps: Integer; var WhereUsedList2: Record "Where-Used Line"): Integer | 17-29 |
| WhereUsedFromItem(Item: Record Item; CalcDate: Date; NewMultiLevel: Boolean) | 17-29 |
| WhereUsedFromProdBOM(ProdBOM: Record "Production BOM Header"; CalcDate: Date; NewMultiLevel: Boolean) | 17-29 |
| IsActiveProductionBOM(ProductionBOMLine: Record "Production BOM Line"): Boolean | new in 21 |
Changes 2 in 25
| [IntegrationEvent] OnBeforeBuildWhereUsedListWithCheck(ProductionBOMLineType: Enum "Production BOM Line Type"; No: Code[20]; CalcDate: Date; IsMultiLevel: Boolean; var TempWhereUsedLine: Record "Where-Used Line" temporary; var IsHandled: Boolean) | new in 25 |
| added |
| [IntegrationEvent] OnBeforeGetItemBOMNo(ItemNo: Code[20]; var Item: Record Item; var IsHandled: Boolean) | new in 25 |
| added |
All 10 changes in 17-29