Codeunit 5836 Cost Calculation Management in 26

App
Base Application
Namespace
Microsoft.Inventory.Costing

Procedures, 73Events, 32

Versions171819202122232425262728latest

Source29

Procedures, 73

NameParametersReturnsAccessObsolete
ResourceCostPerUnit(Code[20], var Decimal, var Decimal, var Decimal, var Decimal)public-
CalcShareOfTotalCapCost(Record Prod. Order Line, var Decimal)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcProdOrderLineStdCost(Record Prod. Order Line, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcProdOrderLineExpCost(Record Prod. Order Line, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcProdOrderExpCapNeed(Record Production Order, Boolean)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcProdOrderActTimeUsed(Record Production Order, Boolean)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcOutputQtyBaseOnPurchOrder(Record Prod. Order Line, Record Prod. Order Routing Line)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcActualOutputQtyWithNoCapacity(Record Prod. Order Line, Record Prod. Order Routing Line)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcActQtyBase(Record Prod. Order Line, Record Prod. Order Routing Line)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcActOperOutputAndScrap(Record Prod. Order Line, Record Prod. Order Routing Line)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcActNeededQtyBase(Record Prod. Order Line, Record Prod. Order Component, Decimal)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcActTimeAndQtyBase(Record Prod. Order Line, Code[10], var Decimal, var Decimal, var Decimal, var Decimal)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcCompItemQtyBase(Record Production BOM Line, Date, Decimal, Code[20], Boolean)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcQtyAdjdForBOMScrap(Decimal, Decimal)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcQtyAdjdForRoutingScrap(Decimal, Decimal, Decimal)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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])BooleanpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)DecimalpublicPending 25.0
Moved to codeunit Serv. Cost Calculation Mgt.
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)DecimalpublicPending 25.0
Moved to codeunit Serv. Cost Calculation Mgt.
CalcServInvLineCostLCY(Record Service Invoice Line)DecimalpublicPending 25.0
Moved to codeunit Serv. Cost Calculation Mgt.
AdjustForRevNegCon(var Decimal, var Decimal, var Record Item Ledger Entry)public-
CalcActOutputQtyBase(var Record Prod. Order Line, Record Prod. Order Routing Line)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcRoutingCostPerUnit(Enum Capacity Type, Code[20], var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center)publicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalculateCostTime(Decimal, Decimal, Code[10], Decimal, Code[10], Decimal, Decimal, Decimal, Code[20], Enum Unit Cost Calculation Type, Boolean, Decimal)DecimalpublicPending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
CalcSalesLineShptAdjCostLCY(Record Sales Line, Option, var Decimal, var Decimal, var Decimal)public-
CalcSalesLineRcptAdjCostLCY(Record Sales Line, Option, var Decimal, var Decimal, var Decimal)public-
CalcPostedDocLineCostLCY(var Record Item Ledger Entry, Option)Decimalpublic-
RunOnAfterCalcShareOfTotalCapCost(var Record Prod. Order Line, var Decimal)internal-
RunOnAfterCalcProdOrderLineExpCost(var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)internal-
RunOnAfterClearWorkCenter(var Record Capacity Ledger Entry, var Record Work Center)internal-
RunOnBeforeCalcActNeededQtyBase(var Decimal, Record Prod. Order Component, Record Prod. Order Line, var Decimal, var Boolean)internal-
RunOnBeforeCalcCompItemQtyBase(Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean)internal-
RunOnBeforeCalcProdOrderActTimeUsed(Record Production Order, var Record Capacity Ledger Entry)internal-
RunOnBeforeCalcProdOrderLineStdCost(var Record Prod. Order Line, Decimal, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean)internal-
RunOnBeforeCalcQtyAdjdForBOMScrap(Decimal, Decimal, var Decimal, var Boolean)internal-
RunOnBeforeCalcQtyAdjdForRoutingScrap(Decimal, Decimal, Decimal, var Decimal, var Boolean)internal-
RunOnBeforeCalcProdOrderExpCapNeed(Record Production Order, var Record Prod. Order Capacity Need, var Record Prod. Order Routing Line)internal-
RunOnBeforeCalcRoutingCostPerUnit(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)internal-
RunOnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)internal-
RunOnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)internal-
RunOnCalcProdOrderLineExpCostOnExpOperCostCalculated(var Decimal, Record Prod. Order Routing Line)internal-
RunOnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost(var Record Item, Record Inventory Adjmt. Entry (Order))internal-
RunOnCalcProdOrderLineActCostOnBeforeSetProdOrderLine(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)internal-
RunOnCalcActOutputQtyBaseOnAfterSetFilters(var Record Capacity Ledger Entry, Record Prod. Order Line, Record Prod. Order Routing Line)internal-
RunOnAfterCalcRoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Enum Unit Cost Calculation Type, Record Work Center, Record Machine Center)internal-
RunOnCalcProdOrderActTimeUsedOnBeforeCalcQty(Record Capacity Ledger Entry, var Decimal, var Boolean)internal-
RunOnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters(var Record Capacity Ledger Entry, Record Production Order)internal-
RunOnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters(var Record Prod. Order Capacity Need, Record Production Order)internal-
RunOnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine(Record Prod. Order Routing Line, Record Work Center, var Decimal)internal-
RunOnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters(var Record Prod. Order Component, Record Prod. Order Line)internal-
RunOnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters(var Record Prod. Order Routing Line, Record Prod. Order Line)internal-
RunOnFindRountingLineOnAfterRoutingLineSetFilters(var Record Routing Line, Record Production BOM Line, Date, Code[20])internal-
RunOnBeforeCalcOutputQtyBaseOnPurchOrder(Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean)internal-

Events, 32

KindNameParametersObsolete
Integration eventOnAfterCalcShareOfTotalCapCost(var Record Prod. Order Line, var Decimal)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcCompItemQtyBase(Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcProdOrderActTimeUsed(Record Production Order, var Record Capacity Ledger Entry)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcProdOrderLineStdCost(var Record Prod. Order Line, Decimal, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcQtyAdjdForBOMScrap(Decimal, Decimal, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcQtyAdjdForRoutingScrap(Decimal, Decimal, Decimal, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcProdOrderExpCapNeed(Record Production Order, var Record Prod. Order Capacity Need, var Record Prod. Order Routing Line)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry(var Record Capacity Ledger Entry)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderLineExpCostOnExpOperCostCalculated(var Decimal, Record Prod. Order Routing Line)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost(var Record Item, Record Inventory Adjmt. Entry (Order))Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcActOutputQtyBaseOnAfterSetFilters(var Record Capacity Ledger Entry, Record Prod. Order Line, Record Prod. Order Routing Line)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderActTimeUsedOnBeforeCalcQty(Record Capacity Ledger Entry, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters(var Record Capacity Ledger Entry, Record Production Order)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters(var Record Prod. Order Capacity Need, Record Production Order)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine(Record Prod. Order Routing Line, Record Work Center, var Decimal)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnFindRountingLineOnAfterRoutingLineSetFilters(var Record Routing Line, Record Production BOM Line, Date, Code[20])Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcActNeededQtyBase(var Decimal, Record Prod. Order Component, Record Prod. Order Line, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnAfterCalcProdOrderLineExpCost(var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters(var Record Prod. Order Component, Record Prod. Order Line)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters(var Record Prod. Order Routing Line, Record Prod. Order Line)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnAfterClearWorkCenter(var Record Capacity Ledger Entry, var Record Work Center)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
Integration eventOnBeforeCalcOutputQtyBaseOnPurchOrder(Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)Pending 26.0
Moved to codeunit Mfg. Cost Calculation Mgt.
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)-
Integration eventOnBeforeRelatedReturnReceiptExists(var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean)-
Integration eventOnBeforeSetFiltersRelatedReturnReceiptExists(var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean, var Boolean)-