{"title":"Codeunit 5870 Calculate BOM Tree, events","url":"https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5870,"name":"Calculate BOM Tree","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree/","json":"https://jonas-paprotka.de/ref/codeunit/5870-calculate-bom-tree.json"},"aspect":"events","total":43,"rows":[{"name":"OnAfterFilterBOMBuffer","sig":"(var Record Item, var Record BOM Buffer, Date, Option)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; DemandDate: Date; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; DemandDate: Date; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterGenerateProdCompSubTree","sig":"(var Record Item, var Record BOM Buffer)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterTransferFromProdItem","sig":"(var Record BOM Buffer, Record Production BOM Line)","named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17","first":17,"last":17,"obsoleteSince":null,"spans":[{"from":17,"to":17,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterTransferFromProdBOM","sig":"(var Record BOM Buffer, Record Production BOM Line)","named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"17-29","first":17,"last":29,"obsoleteSince":27,"spans":[{"from":17,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnAfterTransferFromProdRouting","sig":"(var Record BOM Buffer, Record Routing Line)","named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCalcRoutingLineCosts","sig":"(var Record Routing Line, var Decimal, var Decimal, Record Item)","named":"(var RoutingLine: Record \"Routing Line\"; var LotSize: Decimal; var ScrapPct: Decimal; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"17-29","first":17,"last":29,"obsoleteSince":27,"spans":[{"from":17,"to":26,"named":"(var RoutingLine: Record \"Routing Line\"; var LotSize: Decimal; var ScrapPct: Decimal; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var RoutingLine: Record \"Routing Line\"; var LotSize: Decimal; var ScrapPct: Decimal; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnBeforeFilterBOMBuffer","sig":"(var Record Item, var Record BOM Buffer, Date, Option, var Boolean)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; DemandDate: Date; TreeType: Option; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; DemandDate: Date; TreeType: Option; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeFilterByQuantityPer","sig":"(var Record Production BOM Line, var Boolean)","named":"(var ProductionBOMLine: Record \"Production BOM Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-23","first":17,"last":23,"obsoleteSince":null,"spans":[{"from":17,"to":23,"named":"(var ProductionBOMLine: Record \"Production BOM Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeTransferFromProdBOM","sig":"(var Record BOM Buffer, var Record Production BOM Line, var Record Item, var Record BOM Buffer, var Integer, Option)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"17-29","first":17,"last":29,"obsoleteSince":27,"spans":[{"from":17,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnBeforeTransferProdBOMLine","sig":"(var Record BOM Buffer, var Record Production BOM Line, var Record Item, var Record BOM Buffer, var Integer, Option, var Boolean)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"17-29","first":17,"last":29,"obsoleteSince":27,"spans":[{"from":17,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ProdBOMLine: Record \"Production BOM Line\"; var ParentItem: Record Item; var ParentBOMBuffer: Record \"BOM Buffer\"; var EntryNo: Integer; TreeType: Option \" \",Availability,Cost; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnTraverseCostTreeOnAfterAddCost","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with a more generic OnTraverseCostTreeOnAfterAddCosts","tag":"22.0"},"range":"17-24","first":17,"last":24,"obsoleteSince":21,"spans":[{"from":17,"to":20,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":21,"to":24,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced with a more generic OnTraverseCostTreeOnAfterAddCosts","tag":"22.0"}}]},{"name":"OnCalcRoutingLineCostsOnBeforeBOMBufferAdd","sig":"(Record Routing Line, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Record BOM Buffer)","named":"(RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ScrapPct: Decimal; var CapCost: Decimal; var SubcontractedCapCost: Decimal; var CapOverhead: Decimal; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"17-29","first":17,"last":29,"obsoleteSince":27,"spans":[{"from":17,"to":26,"named":"(RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ScrapPct: Decimal; var CapCost: Decimal; var SubcontractedCapCost: Decimal; var CapOverhead: Decimal; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ScrapPct: Decimal; var CapCost: Decimal; var SubcontractedCapCost: Decimal; var CapOverhead: Decimal; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateProdCompSubTreeOnAfterBOMBufferModify","sig":"(var Record BOM Buffer, Record Routing Line, Decimal, Record Item, Record BOM Buffer)","named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ParentItem: Record Item; ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-23","first":17,"last":23,"obsoleteSince":null,"spans":[{"from":17,"to":23,"named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ParentItem: Record Item; ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterTransferFromProdItem","sig":"(var Record BOM Buffer, Record Production BOM Line, var Integer)","named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\"; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"18-29","first":18,"last":29,"obsoleteSince":27,"spans":[{"from":18,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\"; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ProdBOMLine: Record \"Production BOM Line\"; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnBeforeGenerateTreeForItems","sig":"(var Boolean)","named":"(var HideDialog: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var HideDialog: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateProdCompSubTreeOnBeforeRoutingLineLoop","sig":"(var Record Routing Line, var Record BOM Buffer)","named":"(var RoutingLine: Record \"Routing Line\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-19","first":18,"last":19,"obsoleteSince":null,"spans":[{"from":18,"to":19,"named":"(var RoutingLine: Record \"Routing Line\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateTreeForItemLocalOnBeforeCalculateTreeType","sig":"(var Record Item, var Record BOM Buffer, var Option, var Integer)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var TreeType: Option; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var TreeType: Option; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInitItemAvailDatesOnBeforeCalcAvailableQty","sig":"(var Record Item)","named":"(var BOMItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var BOMItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterGenerateProdCompSubTree","sig":"(var Record Item, var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"19-29","first":19,"last":29,"obsoleteSince":27,"spans":[{"from":19,"to":26,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnBeforeGenerateTreeForItemLocal","sig":"(var Record Item, Date, Option)","named":"(var ParentItem: Record Item; DemandDate: Date; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19","first":19,"last":19,"obsoleteSince":null,"spans":[{"from":19,"to":19,"named":"(var ParentItem: Record Item; DemandDate: Date; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateAsmHeaderSubTreeOnAfterAsmLineLoop","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit AsmCalculateBOMTree","tag":"27.0"},"range":"19-29","first":19,"last":29,"obsoleteSince":27,"spans":[{"from":19,"to":26,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit AsmCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateProdCompSubTreeOnAfterGenerateItemSubTree","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"19-29","first":19,"last":29,"obsoleteSince":27,"spans":[{"from":19,"to":26,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateProdCompSubTreeOnAfterProdBOMLineLoop","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"19-29","first":19,"last":29,"obsoleteSince":27,"spans":[{"from":19,"to":26,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateItemSubTreeOnAfterParentItemGet","sig":"(var Record Item)","named":"(var ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateProdCompSubTreeOnBeforeBOMBufferModify","sig":"(var Record BOM Buffer, var Record BOM Buffer, Record Item)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"19-29","first":19,"last":29,"obsoleteSince":27,"spans":[{"from":19,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; ParentItem: Record Item)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnBeforeGenerateTreeForItemLocal","sig":"(var Record Item, Date, Option, var Record BOM Buffer, var Boolean)","named":"(var ParentItem: Record Item; DemandDate: Date; TreeType: Option; var BOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ParentItem: Record Item; DemandDate: Date; TreeType: Option; var BOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateProdCompSubTreeOnBeforeRoutingLineLoop","sig":"(var Record Routing Line, var Record BOM Buffer, var Boolean)","named":"(var RoutingLine: Record \"Routing Line\"; var BOMBuffer: Record \"BOM Buffer\"; var RunIteration: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"20-29","first":20,"last":29,"obsoleteSince":27,"spans":[{"from":20,"to":26,"named":"(var RoutingLine: Record \"Routing Line\"; var BOMBuffer: Record \"BOM Buffer\"; var RunIteration: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var RoutingLine: Record \"Routing Line\"; var BOMBuffer: Record \"BOM Buffer\"; var RunIteration: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnAfterTransferFromProdRouting","sig":"(var Record BOM Buffer, var Record Routing Line)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var RoutingLine: Record \"Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"21-29","first":21,"last":29,"obsoleteSince":27,"spans":[{"from":21,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var RoutingLine: Record \"Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var RoutingLine: Record \"Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateProdCompSubTreeOnBeforeExitForNonProdOrder","sig":"(Record Item, var Record BOM Buffer, var Boolean)","named":"(ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var FoundSubTree: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"21-29","first":21,"last":29,"obsoleteSince":27,"spans":[{"from":21,"to":26,"named":"(ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var FoundSubTree: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var FoundSubTree: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnTraverseCostTreeOnAfterAddCosts","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ParentBOMBuffer: Record \"BOM Buffer\"; var BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnTraverseTreeOnBeforeCalcAbleToMakeParentAndTopItem","sig":"(var Record BOM Buffer, var Record BOM Buffer, var Boolean)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGenerateBOMCompSubTreeOnBeforeLoopBOMComponents","sig":"(Record Item, var Boolean)","named":"(ParentItem: Record Item; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(ParentItem: Record Item; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeInitBOMBuffer","sig":"(var Record BOM Buffer, var Boolean)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeFilterByQuantityPer","sig":"(var Record Production BOM Line, var Boolean, Record BOM Buffer)","named":"(var ProductionBOMLine: Record \"Production BOM Line\"; var IsHandled: Boolean; BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"24-29","first":24,"last":29,"obsoleteSince":27,"spans":[{"from":24,"to":26,"named":"(var ProductionBOMLine: Record \"Production BOM Line\"; var IsHandled: Boolean; BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var ProductionBOMLine: Record \"Production BOM Line\"; var IsHandled: Boolean; BOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateProdCompSubTreeOnAfterBOMBufferModify","sig":"(var Record BOM Buffer, Record Routing Line, Decimal, Record Item, Record BOM Buffer, Option)","named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ParentItem: Record Item; ParentBOMBuffer: Record \"BOM Buffer\"; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"24-29","first":24,"last":29,"obsoleteSince":27,"spans":[{"from":24,"to":26,"named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ParentItem: Record Item; ParentBOMBuffer: Record \"BOM Buffer\"; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; RoutingLine: Record \"Routing Line\"; LotSize: Decimal; ParentItem: Record Item; ParentBOMBuffer: Record \"BOM Buffer\"; TreeType: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnCalcAvailabilityOnBeforeUpdateAvailableQty","sig":"(var Record BOM Buffer, Decimal, Decimal, var Boolean)","named":"(var BOMBuffer: Record \"BOM Buffer\"; ExpectedQty: Decimal; AvailQty: Decimal; var AvailableVsExpectedCondition: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; ExpectedQty: Decimal; AvailQty: Decimal; var AvailableVsExpectedCondition: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeGenerateProdOrderLineSubTree","sig":"(Record Prod. Order Line, var Record BOM Buffer, var Record BOM Buffer, var Boolean, var Boolean)","named":"(ProdOrderLine: Record \"Prod. Order Line\"; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; var Result: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"},"range":"25-29","first":25,"last":29,"obsoleteSince":27,"spans":[{"from":25,"to":26,"named":"(ProdOrderLine: Record \"Prod. Order Line\"; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; var Result: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":27,"to":29,"named":"(ProdOrderLine: Record \"Prod. Order Line\"; var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\"; var Result: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit MfgCalculateBOMTree","tag":"27.0"}}]},{"name":"OnGenerateTreeForSource","sig":"(Variant, var Record BOM Buffer, Enum BOM Tree Type, Enum BOM Structure Show By, Date, var Record Item, var Integer)","named":"(SourceRecordVar: Variant; var BOMBuffer: Record \"BOM Buffer\"; BOMTreeType: Enum \"BOM Tree Type\"; ShowBy: Enum \"BOM Structure Show By\"; DemandDate: Date; var ItemFilter: Record Item; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"public","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(SourceRecordVar: Variant; var BOMBuffer: Record \"BOM Buffer\"; BOMTreeType: Enum \"BOM Tree Type\"; ShowBy: Enum \"BOM Structure Show By\"; DemandDate: Date; var ItemFilter: Record Item; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"public","obsolete":null}]},{"name":"OnGenerateItemSubTreeOnSetIsLeaf","sig":"(var Record Item, var Record BOM Buffer, var Record Item, var Integer)","named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var ItemFilter: Record Item; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var ParentItem: Record Item; var BOMBuffer: Record \"BOM Buffer\"; var ItemFilter: Record Item; var EntryNo: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnHasBOMStructure","sig":"(var Record Item, var Boolean)","named":"(var Item: Record Item; var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var Item: Record Item; var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCalcCompDueDate","sig":"(var Date, Date, Record Item, DateFormula)","named":"(var DueDate: Date; DemandDate: Date; ParentItem: Record Item; LeadTimeOffset: DateFormula)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(var DueDate: Date; DemandDate: Date; ParentItem: Record Item; LeadTimeOffset: DateFormula)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnTraverseCostTreeOnBeforeAddCosts","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnTraverseCostTreeOnBeforeLastUpdateNodeCosts","sig":"(var Record BOM Buffer, var Record BOM Buffer)","named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(var BOMBuffer: Record \"BOM Buffer\"; var ParentBOMBuffer: Record \"BOM Buffer\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}