Codeunit 5836 Cost Calculation Management

Base Application, Microsoft.Inventory.Costing

36 events

EventVersions
[IntegrationEvent] OnAfterCalcShareOfTotalCapCost(var ProdOrderLine: Record "Prod. Order Line"; var ShareOfTotalCapCost: Decimal)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcActNeededQtyBase(var OutputQtyBase: Decimal; ProdOrderComponent: Record "Prod. Order Component")gone after 18
[IntegrationEvent] OnBeforeCalcCompItemQtyBase(ProdBOMComponent: Record "Production BOM Line"; CalculationDate: Date; var MfgItemQtyBase: Decimal; RtngNo: Code[20]; AdjdForRtngScrap: Boolean; var IsHandled: Boolean)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcProdOrderActTimeUsed(ProductionOrder: Record "Production Order"; var CapacityLedgerEntry: Record "Capacity Ledger Entry")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcProdOrderLineStdCost(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)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcQtyAdjdForBOMScrap(Qty: Decimal; ScrapPct: Decimal; var QtyAdjdForBomScrap: Decimal; var IsHandled: Boolean)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcQtyAdjdForRoutingScrap(Qty: Decimal; ScrapFactorPctAccum: Decimal; FixedScrapQtyAccum: Decimal; var QtyAdjdForRoutingScrap: Decimal; var IsHandled: Boolean)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcProdOrderExpCapNeed(ProductionOrder: Record "Production Order"; var ProdOrderCapacityNeed: Record "Prod. Order Capacity Need"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeRoutingCostPerUnit(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)gone after 25
Pending, tag 23.0, obsolete since 23: Replaced by event OnBeforeCalcRoutingCostPerUnit()
[IntegrationEvent] OnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry(var CapacityLedgerEntry: Record "Capacity Ledger Entry")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry(var CapacityLedgerEntry: Record "Capacity Ledger Entry")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderLineExpCostOnExpOperCostCalculated(var ExpOperCost: Decimal; ProdOrderRtngLine: Record "Prod. Order Routing Line")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost(var Item: Record Item; InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcActOutputQtyBaseOnAfterSetFilters(var CapacityLedgerEntry: Record "Capacity Ledger Entry"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnAfterRoutingCostPerUnit(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")gone after 25
Pending, tag 23.0, obsolete since 23: Replaced by event OnAfterCalcRoutingCostPerUnit()
[IntegrationEvent] OnCalcProdOrderActTimeUsedOnBeforeCalcQty(CapLedgEntry: Record "Capacity Ledger Entry"; var Qty: Decimal; var IsHandled: Boolean)gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters(var CapLedgEntry: Record "Capacity Ledger Entry"; ProdOrder: Record "Production Order")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters(var ProdOrderCapNeed: Record "Prod. Order Capacity Need"; ProdOrder: Record "Production Order")gone after 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine(ProdOrderRtngLine: Record "Prod. Order Routing Line"; WorkCenter: Record "Work Center"; var ExpectedCapNeed: Decimal)18 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnFindRountingLineOnAfterRoutingLineSetFilters(var RoutingLine: Record "Routing Line"; ProdBOMLine: Record "Production BOM Line"; CalculationDate: Date; RoutingNo: Code[20])18 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcActNeededQtyBase(var OutputQtyBase: Decimal; ProdOrderComponent: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var Result: Decimal; var IsHandled: Boolean)19 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnAfterCalcProdOrderLineExpCost(var ProdOrderLine: Record "Prod. Order Line"; var ShareOfTotalCapCost: Decimal; var ExpMatCost: Decimal; var ExpCapDirCost: Decimal; var ExpSubDirCost: Decimal; var ExpCapOvhdCost: Decimal; var ExpMfgOvhdCost: Decimal)20 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderLineActCostOnBeforeSetProdOrderLine(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)20 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters(var ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line")20 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters(var ProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line")20 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnAfterClearWorkCenter(var CapacityLedgerEntry: Record "Capacity Ledger Entry"; var WorkCenter: Record "Work Center")21 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcOutputQtyBaseOnPurchOrder(ProdOrderLine: Record "Prod. Order Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; var OutstandingBaseQty: Decimal; var IsHandled: Boolean)22 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcRoutingCostPerUnit(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)23 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnAfterCalcRoutingCostPerUnit(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")23 to 28
Pending, tag 26.0, obsolete since 26: Moved to codeunit Mfg. Cost Calculation Mgt.
[IntegrationEvent] OnBeforeCalcSalesLineCostLCY(SalesLine: Record "Sales Line"; QtyType: Option General,Invoicing; var IsHandled: Boolean; var TotalAdjCostLCY: Decimal)new in 24
[IntegrationEvent] OnCalcSalesLineShptAdjCostLCYBeforeSalesShptLineFind(var SalesShptLine: Record "Sales Shipment Line"; var SalesLine: Record "Sales Line")new in 24
[IntegrationEvent] OnCalcCustActualCostLCYOnAfterFilterValueEntry(var Customer: Record Customer; var ValueEntry: Record "Value Entry")new in 24
[IntegrationEvent] OnCalcCustActualCostLCYOnAfterFilterResLedgerEntry(var Customer: Record Customer; var ResLedgerEntry: Record "Res. Ledger Entry")new in 24
[IntegrationEvent] OnBeforeRelatedReturnReceiptExists(var SalesShptLine: Record "Sales Shipment Line"; var ReturnRcptLine: Record "Return Receipt Line"; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeSetFiltersRelatedReturnReceiptExists(var SalesShptLine: Record "Sales Shipment Line"; var ReturnRcptLine: Record "Return Receipt Line"; var ReturnValue: Boolean; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnCanIncNonInvCostIntoProductionItem(var Result: Boolean)new in 27