Codeunit 5836 Cost Calculation Management in 24

App
Base Application
Namespace
Microsoft.Inventory.Costing

Procedures, 49Events, 32

Versions171819202122232425262728latest

Source29

Procedures, 49

NameParametersReturnsAccessObsolete
ResourceCostPerUnit(Code[20], var Decimal, var Decimal, var Decimal, var Decimal)public-
RoutingCostPerUnit(Enum Capacity Type, Code[20], var Decimal, var Decimal, var Decimal, var Decimal, var Option)publicPending 23.0
Replaced by procedure CalcRoutingCostPerUnit()
RoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center)publicPending 23.0
Replaced by procedure CalcRoutingCostPerUnit()
CalcShareOfTotalCapCost(Record Prod. Order Line, var Decimal)public-
CalcProdOrderLineStdCost(Record Prod. Order Line, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)public-
CalcProdOrderLineExpCost(Record Prod. Order Line, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)public-
CalcProdOrderLineActCost(Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)public-
CalcProdOrderExpCapNeed(Record Production Order, Boolean)Decimalpublic-
CalcProdOrderActTimeUsed(Record Production Order, Boolean)Decimalpublic-
CalcOutputQtyBaseOnPurchOrder(Record Prod. Order Line, Record Prod. Order Routing Line)Decimalpublic-
CalcActualOutputQtyWithNoCapacity(Record Prod. Order Line, Record Prod. Order Routing Line)Decimalpublic-
CalcActQtyBase(Record Prod. Order Line, Record Prod. Order Routing Line)Decimalpublic-
CalcActOperOutputAndScrap(Record Prod. Order Line, Record Prod. Order Routing Line)Decimalpublic-
CalcActNeededQtyBase(Record Prod. Order Line, Record Prod. Order Component, Decimal)Decimalpublic-
CalcActTimeAndQtyBase(Record Prod. Order Line, Code[10], var Decimal, var Decimal, var Decimal, var Decimal)public-
CalcCompItemQtyBase(Record Production BOM Line, Date, Decimal, Code[20], Boolean)Decimalpublic-
CalcCostTime(Decimal, Decimal, Code[10], Decimal, Code[10], Decimal, Decimal, Decimal, Code[20], Option, Boolean, Decimal)DecimalpublicPending 23.0
Replaced by procedure CalculateCostTime()
CalcQtyAdjdForBOMScrap(Decimal, Decimal)Decimalpublic-
CalcQtyAdjdForRoutingScrap(Decimal, Decimal, Decimal)Decimalpublic-
CalcDirCost(Decimal, Decimal, Decimal)Decimalpublic-
CalcDirUnitCost(Decimal, Decimal, Decimal)Decimalpublic-
CalcOvhdCost(Decimal, Decimal, Decimal, Decimal)Decimalpublic-
CalcUnitCost(Decimal, Decimal, Decimal, Decimal)Decimalpublic-
FindRountingLine(var Record Routing Line, Record Production BOM Line, Date, Code[20])Booleanpublic-
GetRndgSetup(var Record General Ledger Setup, var Record Currency, var Boolean)public-
TransferCost(var Decimal, var Decimal, Decimal, Decimal, Decimal)public-
SplitItemLedgerEntriesExist(var Record Item Ledger Entry, Decimal, Integer)Booleanpublic-
CalcSalesLineCostLCY(Record Sales Line, Option)Decimalpublic-
CalcSalesInvLineCostLCY(Record Sales Invoice Line)Decimalpublic-
CalcSalesInvLineNonInvtblCostAmt(Record Sales Invoice Line)Decimalpublic-
CalcSalesCrMemoLineCostLCY(Record Sales Cr.Memo Line)Decimalpublic-
CalcSalesCrMemoLineNonInvtblCostAmt(Record Sales Cr.Memo Line)Decimalpublic-
CalcServCrMemoLineCostLCY(Record Service Cr.Memo Line)Decimalpublic-
CalcCustLedgAdjmtCostLCY(Record Cust. Ledger Entry)Decimalpublic-
CalcCustAdjmtCostLCY(var Record Customer)Decimalpublic-
CalcCustLedgActualCostLCY(Record Cust. Ledger Entry)Decimalpublic-
CalcCustActualCostLCY(var Record Customer)Decimalpublic-
NonInvtblCostAmt(var Record Customer)Decimalpublic-
SumValueEntriesCostAmt(var Record Value Entry)Decimalpublic-
GetDocType(Integer)Integerpublic-
CalcServLineCostLCY(Record Service Line, Option)Decimalpublic-
CalcServInvLineCostLCY(Record Service Invoice Line)Decimalpublic-
AdjustForRevNegCon(var Decimal, var Decimal, var Record Item Ledger Entry)public-
CalcActOutputQtyBase(var Record Prod. Order Line, Record Prod. Order Routing Line)Decimalpublic-
CalcRoutingCostPerUnit(Enum Capacity Type, Code[20], var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type)public-
CalcRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center)public-
CalculateCostTime(Decimal, Decimal, Code[10], Decimal, Code[10], Decimal, Decimal, Decimal, Code[20], Enum Unit Cost Calculation Type, Boolean, Decimal)Decimalpublic-
CalcSalesLineShptAdjCostLCY(Record Sales Line, Option, var Decimal, var Decimal, var Decimal)public-
CalcSalesLineRcptAdjCostLCY(Record Sales Line, Option, var Decimal, var Decimal, var Decimal)public-

Events, 32

KindNameParametersObsolete
Integration eventOnAfterCalcShareOfTotalCapCost(var Record Prod. Order Line, var Decimal)-
Integration eventOnBeforeCalcCompItemQtyBase(Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean)-
Integration eventOnBeforeCalcProdOrderActTimeUsed(Record Production Order, var Record Capacity Ledger Entry)-
Integration eventOnBeforeCalcProdOrderLineStdCost(var Record Prod. Order Line, Decimal, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean)-
Integration eventOnBeforeCalcQtyAdjdForBOMScrap(Decimal, Decimal, var Decimal, var Boolean)-
Integration eventOnBeforeCalcQtyAdjdForRoutingScrap(Decimal, Decimal, Decimal, var Decimal, var Boolean)-
Integration eventOnBeforeCalcProdOrderExpCapNeed(Record Production Order, var Record Prod. Order Capacity Need, var Record Prod. Order Routing Line)-
Integration eventOnBeforeRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center, var Boolean)Pending 23.0
Replaced by event OnBeforeCalcRoutingCostPerUnit()
Integration eventOnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)-
Integration eventOnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)-
Integration eventOnCalcProdOrderLineExpCostOnExpOperCostCalculated(var Decimal, Record Prod. Order Routing Line)-
Integration eventOnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost(var Record Item, Record Inventory Adjmt. Entry (Order))-
Integration eventOnCalcActOutputQtyBaseOnAfterSetFilters(var Record Capacity Ledger Entry, Record Prod. Order Line, Record Prod. Order Routing Line)-
Integration eventOnAfterRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center)Pending 23.0
Replaced by event OnAfterCalcRoutingCostPerUnit()
Integration eventOnCalcProdOrderActTimeUsedOnBeforeCalcQty(Record Capacity Ledger Entry, var Decimal, var Boolean)-
Integration eventOnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters(var Record Capacity Ledger Entry, Record Production Order)-
Integration eventOnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters(var Record Prod. Order Capacity Need, Record Production Order)-
Integration eventOnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine(Record Prod. Order Routing Line, Record Work Center, var Decimal)-
Integration eventOnFindRountingLineOnAfterRoutingLineSetFilters(var Record Routing Line, Record Production BOM Line, Date, Code[20])-
Integration eventOnBeforeCalcActNeededQtyBase(var Decimal, Record Prod. Order Component, Record Prod. Order Line, var Decimal, var Boolean)-
Integration eventOnAfterCalcProdOrderLineExpCost(var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)-
Integration eventOnCalcProdOrderLineActCostOnBeforeSetProdOrderLine(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)-
Integration eventOnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters(var Record Prod. Order Component, Record Prod. Order Line)-
Integration eventOnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters(var Record Prod. Order Routing Line, Record Prod. Order Line)-
Integration eventOnAfterClearWorkCenter(var Record Capacity Ledger Entry, var Record Work Center)-
Integration eventOnBeforeCalcOutputQtyBaseOnPurchOrder(Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean)-
Integration eventOnBeforeCalcRoutingCostPerUnit(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)-
Integration eventOnAfterCalcRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center)-
Integration eventOnBeforeCalcSalesLineCostLCY(Record Sales Line, Option, var Boolean, var Decimal)-
Integration eventOnCalcSalesLineShptAdjCostLCYBeforeSalesShptLineFind(var Record Sales Shipment Line, var Record Sales Line)-
Integration eventOnCalcCustActualCostLCYOnAfterFilterValueEntry(var Record Customer, var Record Value Entry)-
Integration eventOnCalcCustActualCostLCYOnAfterFilterResLedgerEntry(var Record Customer, var Record Res. Ledger Entry)-