Codeunit 5836 Cost Calculation Management in 19

App
Base Application

Procedures, 44Events, 20

Versions171819202122232425262728latest

Source29

Procedures, 44

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)public-
RoutingCostPerUnit(Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center)public-
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-
CalcActOutputQtyBase(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)Decimalpublic-
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-

Events, 20

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)-
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)-
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)-