{"title":"Codeunit 5836 Cost Calculation Management, events","url":"https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/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":5836,"name":"Cost Calculation Management","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/","json":"https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management.json"},"aspect":"events","total":36,"rows":[{"name":"OnAfterCalcShareOfTotalCapCost","sig":"(var Record Prod. Order Line, var Decimal)","named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcActNeededQtyBase","sig":"(var Decimal, Record Prod. Order Component)","named":"(var OutputQtyBase: Decimal; ProdOrderComponent: Record \"Prod. Order Component\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(var OutputQtyBase: Decimal; ProdOrderComponent: Record \"Prod. Order Component\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCalcCompItemQtyBase","sig":"(Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean)","named":"(ProdBOMComponent: Record \"Production BOM Line\"; CalculationDate: Date; var MfgItemQtyBase: Decimal; RtngNo: Code[20]; AdjdForRtngScrap: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(ProdBOMComponent: Record \"Production BOM Line\"; CalculationDate: Date; var MfgItemQtyBase: Decimal; RtngNo: Code[20]; AdjdForRtngScrap: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(ProdBOMComponent: Record \"Production BOM Line\"; CalculationDate: Date; var MfgItemQtyBase: Decimal; RtngNo: Code[20]; AdjdForRtngScrap: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcProdOrderActTimeUsed","sig":"(Record Production Order, var Record Capacity Ledger Entry)","named":"(ProductionOrder: Record \"Production Order\"; var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(ProductionOrder: Record \"Production Order\"; var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(ProductionOrder: Record \"Production Order\"; var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcProdOrderLineStdCost","sig":"(var Record Prod. Order Line, Decimal, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean)","named":"(var ProdOrderLine: Record \"Prod. Order Line\"; QtyBase: Decimal; CurrencyFactor: Decimal; RndgPrec: Decimal; var StdMatCost: Decimal; var StdCapDirCost: Decimal; var StdSubDirCost: Decimal; var StdCapOvhdCost: Decimal; var StdMfgOvhdCost: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; QtyBase: Decimal; CurrencyFactor: Decimal; RndgPrec: Decimal; var StdMatCost: Decimal; var StdCapDirCost: Decimal; var StdSubDirCost: Decimal; var StdCapOvhdCost: Decimal; var StdMfgOvhdCost: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; QtyBase: Decimal; CurrencyFactor: Decimal; RndgPrec: Decimal; var StdMatCost: Decimal; var StdCapDirCost: Decimal; var StdSubDirCost: Decimal; var StdCapOvhdCost: Decimal; var StdMfgOvhdCost: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcQtyAdjdForBOMScrap","sig":"(Decimal, Decimal, var Decimal, var Boolean)","named":"(Qty: Decimal; ScrapPct: Decimal; var QtyAdjdForBomScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(Qty: Decimal; ScrapPct: Decimal; var QtyAdjdForBomScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(Qty: Decimal; ScrapPct: Decimal; var QtyAdjdForBomScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcQtyAdjdForRoutingScrap","sig":"(Decimal, Decimal, Decimal, var Decimal, var Boolean)","named":"(Qty: Decimal; ScrapFactorPctAccum: Decimal; FixedScrapQtyAccum: Decimal; var QtyAdjdForRoutingScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(Qty: Decimal; ScrapFactorPctAccum: Decimal; FixedScrapQtyAccum: Decimal; var QtyAdjdForRoutingScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(Qty: Decimal; ScrapFactorPctAccum: Decimal; FixedScrapQtyAccum: Decimal; var QtyAdjdForRoutingScrap: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcProdOrderExpCapNeed","sig":"(Record Production Order, var Record Prod. Order Capacity Need, var Record Prod. Order Routing Line)","named":"(ProductionOrder: Record \"Production Order\"; var ProdOrderCapacityNeed: Record \"Prod. Order Capacity Need\"; var ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(ProductionOrder: Record \"Production Order\"; var ProdOrderCapacityNeed: Record \"Prod. Order Capacity Need\"; var ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(ProductionOrder: Record \"Production Order\"; var ProdOrderCapacityNeed: Record \"Prod. Order Capacity Need\"; var ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeRoutingCostPerUnit","sig":"(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center, var Boolean)","named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCalcRoutingCostPerUnit()","tag":"23.0"},"range":"17-25","first":17,"last":25,"obsoleteSince":23,"spans":[{"from":17,"to":22,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":23,"to":25,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by event OnBeforeCalcRoutingCostPerUnit()","tag":"23.0"}}]},{"name":"OnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry","sig":"(var Record Capacity Ledger Entry)","named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry","sig":"(var Record Capacity Ledger Entry)","named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderLineExpCostOnExpOperCostCalculated","sig":"(var Decimal, Record Prod. Order Routing Line)","named":"(var ExpOperCost: Decimal; ProdOrderRtngLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var ExpOperCost: Decimal; ProdOrderRtngLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ExpOperCost: Decimal; ProdOrderRtngLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost","sig":"(var Record Item, Record Inventory Adjmt. Entry (Order))","named":"(var Item: Record Item; InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var Item: Record Item; InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var Item: Record Item; InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcActOutputQtyBaseOnAfterSetFilters","sig":"(var Record Capacity Ledger Entry, Record Prod. Order Line, Record Prod. Order Routing Line)","named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRoutingLine: Record \"Prod. Order Routing Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnAfterRoutingCostPerUnit","sig":"(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center)","named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by event OnAfterCalcRoutingCostPerUnit()","tag":"23.0"},"range":"17-25","first":17,"last":25,"obsoleteSince":23,"spans":[{"from":17,"to":22,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":23,"to":25,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Option Time,Unit; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by event OnAfterCalcRoutingCostPerUnit()","tag":"23.0"}}]},{"name":"OnCalcProdOrderActTimeUsedOnBeforeCalcQty","sig":"(Record Capacity Ledger Entry, var Decimal, var Boolean)","named":"(CapLedgEntry: Record \"Capacity Ledger Entry\"; var Qty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(CapLedgEntry: Record \"Capacity Ledger Entry\"; var Qty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(CapLedgEntry: Record \"Capacity Ledger Entry\"; var Qty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters","sig":"(var Record Capacity Ledger Entry, Record Production Order)","named":"(var CapLedgEntry: Record \"Capacity Ledger Entry\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var CapLedgEntry: Record \"Capacity Ledger Entry\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var CapLedgEntry: Record \"Capacity Ledger Entry\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters","sig":"(var Record Prod. Order Capacity Need, Record Production Order)","named":"(var ProdOrderCapNeed: Record \"Prod. Order Capacity Need\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var ProdOrderCapNeed: Record \"Prod. Order Capacity Need\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderCapNeed: Record \"Prod. Order Capacity Need\"; ProdOrder: Record \"Production Order\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine","sig":"(Record Prod. Order Routing Line, Record Work Center, var Decimal)","named":"(ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; WorkCenter: Record \"Work Center\"; var ExpectedCapNeed: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"18-28","first":18,"last":28,"obsoleteSince":26,"spans":[{"from":18,"to":25,"named":"(ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; WorkCenter: Record \"Work Center\"; var ExpectedCapNeed: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; WorkCenter: Record \"Work Center\"; var ExpectedCapNeed: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnFindRountingLineOnAfterRoutingLineSetFilters","sig":"(var Record Routing Line, Record Production BOM Line, Date, Code[20])","named":"(var RoutingLine: Record \"Routing Line\"; ProdBOMLine: Record \"Production BOM Line\"; CalculationDate: Date; RoutingNo: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"18-28","first":18,"last":28,"obsoleteSince":26,"spans":[{"from":18,"to":25,"named":"(var RoutingLine: Record \"Routing Line\"; ProdBOMLine: Record \"Production BOM Line\"; CalculationDate: Date; RoutingNo: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var RoutingLine: Record \"Routing Line\"; ProdBOMLine: Record \"Production BOM Line\"; CalculationDate: Date; RoutingNo: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcActNeededQtyBase","sig":"(var Decimal, Record Prod. Order Component, Record Prod. Order Line, var Decimal, var Boolean)","named":"(var OutputQtyBase: Decimal; ProdOrderComponent: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\"; var Result: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"19-28","first":19,"last":28,"obsoleteSince":26,"spans":[{"from":19,"to":25,"named":"(var OutputQtyBase: Decimal; ProdOrderComponent: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\"; var Result: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var OutputQtyBase: Decimal; ProdOrderComponent: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\"; var Result: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnAfterCalcProdOrderLineExpCost","sig":"(var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)","named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal; var ExpMatCost: Decimal; var ExpCapDirCost: Decimal; var ExpSubDirCost: Decimal; var ExpCapOvhdCost: Decimal; var ExpMfgOvhdCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"20-28","first":20,"last":28,"obsoleteSince":26,"spans":[{"from":20,"to":25,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal; var ExpMatCost: Decimal; var ExpCapDirCost: Decimal; var ExpSubDirCost: Decimal; var ExpCapOvhdCost: Decimal; var ExpMfgOvhdCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ShareOfTotalCapCost: Decimal; var ExpMatCost: Decimal; var ExpCapDirCost: Decimal; var ExpSubDirCost: Decimal; var ExpCapOvhdCost: Decimal; var ExpMfgOvhdCost: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderLineActCostOnBeforeSetProdOrderLine","sig":"(var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)","named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ActMatCost: Decimal; var ActCapDirCost: Decimal; var ActSubDirCost: Decimal; var ActCapOvhdCost: Decimal; var ActMfgOvhdCost: Decimal; var ActMatCostCostACY: Decimal; var ActCapDirCostACY: Decimal; var ActSubDirCostACY: Decimal; var ActCapOvhdCostACY: Decimal; var ActMfgOvhdCostACY: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"20-28","first":20,"last":28,"obsoleteSince":26,"spans":[{"from":20,"to":25,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ActMatCost: Decimal; var ActCapDirCost: Decimal; var ActSubDirCost: Decimal; var ActCapOvhdCost: Decimal; var ActMfgOvhdCost: Decimal; var ActMatCostCostACY: Decimal; var ActCapDirCostACY: Decimal; var ActSubDirCostACY: Decimal; var ActCapOvhdCostACY: Decimal; var ActMfgOvhdCostACY: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderLine: Record \"Prod. Order Line\"; var ActMatCost: Decimal; var ActCapDirCost: Decimal; var ActSubDirCost: Decimal; var ActCapOvhdCost: Decimal; var ActMfgOvhdCost: Decimal; var ActMatCostCostACY: Decimal; var ActCapDirCostACY: Decimal; var ActSubDirCostACY: Decimal; var ActCapOvhdCostACY: Decimal; var ActMfgOvhdCostACY: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters","sig":"(var Record Prod. Order Component, Record Prod. Order Line)","named":"(var ProdOrderComp: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"20-28","first":20,"last":28,"obsoleteSince":26,"spans":[{"from":20,"to":25,"named":"(var ProdOrderComp: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderComp: Record \"Prod. Order Component\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters","sig":"(var Record Prod. Order Routing Line, Record Prod. Order Line)","named":"(var ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"20-28","first":20,"last":28,"obsoleteSince":26,"spans":[{"from":20,"to":25,"named":"(var ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; ProdOrderLine: Record \"Prod. Order Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnAfterClearWorkCenter","sig":"(var Record Capacity Ledger Entry, var Record Work Center)","named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; var WorkCenter: Record \"Work Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"21-28","first":21,"last":28,"obsoleteSince":26,"spans":[{"from":21,"to":25,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; var WorkCenter: Record \"Work Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(var CapacityLedgerEntry: Record \"Capacity Ledger Entry\"; var WorkCenter: Record \"Work Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcOutputQtyBaseOnPurchOrder","sig":"(Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean)","named":"(ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; var OutstandingBaseQty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"22-28","first":22,"last":28,"obsoleteSince":26,"spans":[{"from":22,"to":25,"named":"(ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; var OutstandingBaseQty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(ProdOrderLine: Record \"Prod. Order Line\"; ProdOrderRtngLine: Record \"Prod. Order Routing Line\"; var OutstandingBaseQty: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcRoutingCostPerUnit","sig":"(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center, var Boolean)","named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"23-28","first":23,"last":28,"obsoleteSince":26,"spans":[{"from":23,"to":25,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnAfterCalcRoutingCostPerUnit","sig":"(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center)","named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"},"range":"23-28","first":23,"last":28,"obsoleteSince":26,"spans":[{"from":23,"to":25,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":26,"to":28,"named":"(Type: Enum \"Capacity Type\"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum \"Unit Cost Calculation Type\"; WorkCenter: Record \"Work Center\"; MachineCenter: Record \"Machine Center\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Moved to codeunit Mfg. Cost Calculation Mgt.","tag":"26.0"}}]},{"name":"OnBeforeCalcSalesLineCostLCY","sig":"(Record Sales Line, Option, var Boolean, var Decimal)","named":"(SalesLine: Record \"Sales Line\"; QtyType: Option General,Invoicing; var IsHandled: Boolean; var TotalAdjCostLCY: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(SalesLine: Record \"Sales Line\"; QtyType: Option General,Invoicing; var IsHandled: Boolean; var TotalAdjCostLCY: Decimal)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcSalesLineShptAdjCostLCYBeforeSalesShptLineFind","sig":"(var Record Sales Shipment Line, var Record Sales Line)","named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var SalesLine: Record \"Sales Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var SalesLine: Record \"Sales Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcCustActualCostLCYOnAfterFilterValueEntry","sig":"(var Record Customer, var Record Value Entry)","named":"(var Customer: Record Customer; var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var Customer: Record Customer; var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcCustActualCostLCYOnAfterFilterResLedgerEntry","sig":"(var Record Customer, var Record Res. Ledger Entry)","named":"(var Customer: Record Customer; var ResLedgerEntry: Record \"Res. Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var Customer: Record Customer; var ResLedgerEntry: Record \"Res. Ledger Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRelatedReturnReceiptExists","sig":"(var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean)","named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var ReturnRcptLine: Record \"Return Receipt Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var ReturnRcptLine: Record \"Return Receipt Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeSetFiltersRelatedReturnReceiptExists","sig":"(var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean, var Boolean)","named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var ReturnRcptLine: Record \"Return Receipt Line\"; var ReturnValue: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var SalesShptLine: Record \"Sales Shipment Line\"; var ReturnRcptLine: Record \"Return Receipt Line\"; var ReturnValue: Boolean; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCanIncNonInvCostIntoProductionItem","sig":"(var Boolean)","named":"(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 Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}