Codeunit 5836 Cost Calculation Management in 27
- App
- Base Application
- Namespace
- Microsoft.Inventory.Costing
Versions171819202122232425262728latest
Source29
Procedures, 74
| Name | Parameters | Returns | Access | Obsolete | |||
|---|---|---|---|---|---|---|---|
| ResourceCostPerUnit | (Code[20], var Decimal, var Decimal, var Decimal, var Decimal) | public | - | ||||
| CalcShareOfTotalCapCost | (Record Prod. Order Line, var Decimal) | public | Pending 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) | public | Pending 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) | public | Pending 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) | public | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcProdOrderExpCapNeed | (Record Production Order, Boolean) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcProdOrderActTimeUsed | (Record Production Order, Boolean) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcOutputQtyBaseOnPurchOrder | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcActualOutputQtyWithNoCapacity | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcActQtyBase | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcActOperOutputAndScrap | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcActNeededQtyBase | (Record Prod. Order Line, Record Prod. Order Component, Decimal) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcActTimeAndQtyBase | (Record Prod. Order Line, Code[10], var Decimal, var Decimal, var Decimal, var Decimal) | public | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcCompItemQtyBase | (Record Production BOM Line, Date, Decimal, Code[20], Boolean) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcQtyAdjdForBOMScrap | (Decimal, Decimal) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcQtyAdjdForRoutingScrap | (Decimal, Decimal, Decimal) | Decimal | public | Pending 26.0 | |||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| CalcDirCost | (Decimal, Decimal, Decimal) | Decimal | public | - | |||
| CalcDirUnitCost | (Decimal, Decimal, Decimal) | Decimal | public | - | |||
| CalcOvhdCost | (Decimal, Decimal, Decimal, Decimal) | Decimal | public | - | |||
| CalcUnitCost | (Decimal, Decimal, Decimal, Decimal) | Decimal | public | - | |||
| FindRountingLine | (var Record Routing Line, Record Production BOM Line, Date, Code[20]) | Boolean | public | Pending 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) | Boolean | public | - | |||
| CalcSalesLineCostLCY | (Record Sales Line, Option) | Decimal | public | - | |||
| CalcSalesInvLineCostLCY | (Record Sales Invoice Line) | Decimal | public | - | |||
| CalcSalesInvLineNonInvtblCostAmt | (Record Sales Invoice Line) | Decimal | public | - | |||
| CalcSalesCrMemoLineCostLCY | (Record Sales Cr.Memo Line) | Decimal | public | - | |||
| CalcSalesCrMemoLineNonInvtblCostAmt | (Record Sales Cr.Memo Line) | Decimal | public | - | |||
| CalcServCrMemoLineCostLCY | (Record Service Cr.Memo Line) | Decimal | public | Pending 25.0 | |||
| Moved to codeunit Serv. Cost Calculation Mgt. | |||||||
| CalcCustLedgAdjmtCostLCY | (Record Cust. Ledger Entry) | Decimal | public | - | |||
| CalcCustAdjmtCostLCY | (var Record Customer) | Decimal | public | - | |||
| CalcCustLedgActualCostLCY | (Record Cust. Ledger Entry) | Decimal | public | - | |||
| CalcCustActualCostLCY | (var Record Customer) | Decimal | public | - | |||
| NonInvtblCostAmt | (var Record Customer) | Decimal | public | - | |||
| SumValueEntriesCostAmt | (var Record Value Entry) | Decimal | public | - | |||
| GetDocType | (Integer) | Integer | public | - | |||
| CalcServLineCostLCY | (Record Service Line, Option) | Decimal | public | Pending 25.0 | |||
| Moved to codeunit Serv. Cost Calculation Mgt. | |||||||
| CalcServInvLineCostLCY | (Record Service Invoice Line) | Decimal | public | Pending 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) | Decimal | public | Pending 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) | public | Pending 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) | public | Pending 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) | Decimal | public | Pending 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) | Decimal | public | - | |||
| 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 | - | ||||
| CanIncNonInvCostIntoProductionItem | () | Boolean | public | - | |||
Events, 33
| Kind | Name | Parameters | Obsolete | ||||
|---|---|---|---|---|---|---|---|
| Integration event | OnAfterCalcShareOfTotalCapCost | (var Record Prod. Order Line, var Decimal) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcCompItemQtyBase | (Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcProdOrderActTimeUsed | (Record Production Order, var Record Capacity Ledger Entry) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcProdOrderLineStdCost | (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 event | OnBeforeCalcQtyAdjdForBOMScrap | (Decimal, Decimal, var Decimal, var Boolean) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcQtyAdjdForRoutingScrap | (Decimal, Decimal, Decimal, var Decimal, var Boolean) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcProdOrderExpCapNeed | (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 event | OnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry | (var Record Capacity Ledger Entry) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry | (var Record Capacity Ledger Entry) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderLineExpCostOnExpOperCostCalculated | (var Decimal, Record Prod. Order Routing Line) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost | (var Record Item, Record Inventory Adjmt. Entry (Order)) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcActOutputQtyBaseOnAfterSetFilters | (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 event | OnCalcProdOrderActTimeUsedOnBeforeCalcQty | (Record Capacity Ledger Entry, var Decimal, var Boolean) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters | (var Record Capacity Ledger Entry, Record Production Order) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters | (var Record Prod. Order Capacity Need, Record Production Order) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine | (Record Prod. Order Routing Line, Record Work Center, var Decimal) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnFindRountingLineOnAfterRoutingLineSetFilters | (var Record Routing Line, Record Production BOM Line, Date, Code[20]) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcActNeededQtyBase | (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 event | OnAfterCalcProdOrderLineExpCost | (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 event | OnCalcProdOrderLineActCostOnBeforeSetProdOrderLine | (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 event | OnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters | (var Record Prod. Order Component, Record Prod. Order Line) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters | (var Record Prod. Order Routing Line, Record Prod. Order Line) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnAfterClearWorkCenter | (var Record Capacity Ledger Entry, var Record Work Center) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcOutputQtyBaseOnPurchOrder | (Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean) | Pending 26.0 | ||||
| Moved to codeunit Mfg. Cost Calculation Mgt. | |||||||
| Integration event | OnBeforeCalcRoutingCostPerUnit | (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 event | OnAfterCalcRoutingCostPerUnit | (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 event | OnBeforeCalcSalesLineCostLCY | (Record Sales Line, Option, var Boolean, var Decimal) | - | ||||
| Integration event | OnCalcSalesLineShptAdjCostLCYBeforeSalesShptLineFind | (var Record Sales Shipment Line, var Record Sales Line) | - | ||||
| Integration event | OnCalcCustActualCostLCYOnAfterFilterValueEntry | (var Record Customer, var Record Value Entry) | - | ||||
| Integration event | OnCalcCustActualCostLCYOnAfterFilterResLedgerEntry | (var Record Customer, var Record Res. Ledger Entry) | - | ||||
| Integration event | OnBeforeRelatedReturnReceiptExists | (var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean) | - | ||||
| Integration event | OnBeforeSetFiltersRelatedReturnReceiptExists | (var Record Sales Shipment Line, var Record Return Receipt Line, var Boolean, var Boolean) | - | ||||
| Integration event | OnCanIncNonInvCostIntoProductionItem | (var Boolean) | - | ||||