Codeunit 99000768 Production BOM-Copy

Base Application, Microsoft.Manufacturing.ProductionBOM

Source AL, 151 lines

src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/ProductionBOMCopy.Codeunit.allines 7 to 22 of 151, Copyright (c) Microsoft Corporation. MIT

codeunit 99000768 "Production BOM-Copy"{    TableNo = "Production BOM Header";    trigger OnRun()    begin    end;    var#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label 'The %1 cannot be copied to itself.';        Text001: Label '%1 on %2 %3 must not be %4';        Text002: Label '%1 on %2 %3 %4 must not be %5';#pragma warning restore AA0470#pragma warning restore AA0074

All 151 lines

Events 4 in 29

[IntegrationEvent] OnBeforeCopyBOM(var ProdBOMHeader: Record "Production BOM Header"; BOMHeaderNo: Code[20]; FromVersionCode: Code[20]; ToVersionCode: Code[20]; var SkipBOMDeletion: Boolean; var LineNo: Integer)17-29
[IntegrationEvent] OnAfterInsertProdBOMComponent(var ToProductionBOMLine: Record "Production BOM Line"; var FromProductionBOMLine: Record "Production BOM Line"; var ProductionBOMHeader: Record "Production BOM Header"; var SkipBOMDeletion: Boolean; var LineNo: Integer)17-29
[IntegrationEvent] OnBeforeInsertProdBOMComponent(var ToProductionBOMLine: Record "Production BOM Line"; var FromProductionBOMLine: Record "Production BOM Line")17-29
[IntegrationEvent] OnAfterCopyBOM(BOMHeaderNo: Code[20]; var CurrentBOMHeader: Record "Production BOM Header"; FromVersionCode: Code[20]; ToVersionCode: Code[20])new in 22

All 6 events in 17-29

Public procedures 2 in 29

CopyBOM(FromProductionBOMNo: Code[20]; FromVersionCode: Code[20]; ProductionBOMHeader: Record "Production BOM Header"; ToVersionCode: Code[20])17-29changed in 26
CopyFromVersion(var ToProductionBOMVersion: Record "Production BOM Version")17-29changed in 26

Changes 2 in 26

List17181920212223242526272829
Procedures2
Events122
CopyBOM(FromProductionBOMNo: Code[20]; FromVersionCode: Code[20]; ProductionBOMHeader: Record "Production BOM Header"; ToVersionCode: Code[20])17-29changed in 26
changed, was CopyBOM(BOMHeaderNo: Code[20]; FromVersionCode: Code[20]; CurrentBOMHeader: Record "Production BOM Header"; ToVersionCode: Code[20])
CopyFromVersion(var ToProductionBOMVersion: Record "Production BOM Version")17-29changed in 26
changed, was CopyFromVersion(var ProdBOMVersionList2: Record "Production BOM Version")

All 7 changes in 17-29