Codeunit 5836 Cost Calculation Management in 22
- App
- Base Application
Versions171819202122232425262728latest
Source29
Procedures, 44
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| 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) | Decimal | public | - |
| CalcProdOrderActTimeUsed | (Record Production Order, Boolean) | Decimal | public | - |
| CalcOutputQtyBaseOnPurchOrder | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | - |
| CalcActualOutputQtyWithNoCapacity | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | - |
| CalcActQtyBase | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | - |
| CalcActOperOutputAndScrap | (Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | - |
| CalcActNeededQtyBase | (Record Prod. Order Line, Record Prod. Order Component, Decimal) | Decimal | public | - |
| 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) | Decimal | public | - |
| CalcCostTime | (Decimal, Decimal, Code[10], Decimal, Code[10], Decimal, Decimal, Decimal, Code[20], Option, Boolean, Decimal) | Decimal | public | - |
| CalcQtyAdjdForBOMScrap | (Decimal, Decimal) | Decimal | public | - |
| CalcQtyAdjdForRoutingScrap | (Decimal, Decimal, Decimal) | Decimal | public | - |
| 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 | - |
| 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 | - |
| 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 | - |
| CalcServInvLineCostLCY | (Record Service Invoice Line) | Decimal | public | - |
| AdjustForRevNegCon | (var Decimal, var Decimal, var Record Item Ledger Entry) | public | - | |
| CalcActOutputQtyBase | (var Record Prod. Order Line, Record Prod. Order Routing Line) | Decimal | public | - |
Events, 26
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnAfterCalcShareOfTotalCapCost | (var Record Prod. Order Line, var Decimal) | - |
| Integration event | OnBeforeCalcCompItemQtyBase | (Record Production BOM Line, Date, var Decimal, Code[20], Boolean, var Boolean) | - |
| Integration event | OnBeforeCalcProdOrderActTimeUsed | (Record Production Order, var Record Capacity Ledger Entry) | - |
| Integration event | OnBeforeCalcProdOrderLineStdCost | (var Record Prod. Order Line, Decimal, Decimal, Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Boolean) | - |
| Integration event | OnBeforeCalcQtyAdjdForBOMScrap | (Decimal, Decimal, var Decimal, var Boolean) | - |
| Integration event | OnBeforeCalcQtyAdjdForRoutingScrap | (Decimal, Decimal, Decimal, var Decimal, var Boolean) | - |
| Integration event | OnBeforeCalcProdOrderExpCapNeed | (Record Production Order, var Record Prod. Order Capacity Need, var Record Prod. Order Routing Line) | - |
| Integration event | OnBeforeRoutingCostPerUnit | (Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center, var Boolean) | - |
| Integration event | OnCalcActOperOutputAndScrapOnAfterFilterCapLedgEntry | (var Record Capacity Ledger Entry) | - |
| Integration event | OnCalcActTimeAndQtyBaseOnAfterFilterCapLedgEntry | (var Record Capacity Ledger Entry) | - |
| Integration event | OnCalcProdOrderLineExpCostOnExpOperCostCalculated | (var Decimal, Record Prod. Order Routing Line) | - |
| Integration event | OnCalcProdOrderLineStdCostOnAfterCalcSingleLevelCost | (var Record Item, Record Inventory Adjmt. Entry (Order)) | - |
| Integration event | OnCalcActOutputQtyBaseOnAfterSetFilters | (var Record Capacity Ledger Entry, Record Prod. Order Line, Record Prod. Order Routing Line) | - |
| Integration event | OnAfterRoutingCostPerUnit | (Enum Capacity Type, var Decimal, var Decimal, var Decimal, var Decimal, var Option, Record Work Center, Record Machine Center) | - |
| Integration event | OnCalcProdOrderActTimeUsedOnBeforeCalcQty | (Record Capacity Ledger Entry, var Decimal, var Boolean) | - |
| Integration event | OnCalcProdOrderActTimeUsedOnAfterCapacityLedgerEntrySetFilters | (var Record Capacity Ledger Entry, Record Production Order) | - |
| Integration event | OnCalcProdOrderExpCapNeedOnAfterProdOrderCapNeedSetFilters | (var Record Prod. Order Capacity Need, Record Production Order) | - |
| Integration event | OnCalcProdOrderExpCapNeedOnBeforeMarkNotFinishedProdOrderRtngLine | (Record Prod. Order Routing Line, Record Work Center, var Decimal) | - |
| Integration event | OnFindRountingLineOnAfterRoutingLineSetFilters | (var Record Routing Line, Record Production BOM Line, Date, Code[20]) | - |
| Integration event | OnBeforeCalcActNeededQtyBase | (var Decimal, Record Prod. Order Component, Record Prod. Order Line, var Decimal, var Boolean) | - |
| Integration event | OnAfterCalcProdOrderLineExpCost | (var Record Prod. Order Line, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal, var Decimal) | - |
| 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) | - |
| Integration event | OnCalcProdOrderLineExpCostOnAfterProdOrderCompSetFilters | (var Record Prod. Order Component, Record Prod. Order Line) | - |
| Integration event | OnCalcProdOrderLineExpCostOnAfterProdOrderRtngLineSetFilters | (var Record Prod. Order Routing Line, Record Prod. Order Line) | - |
| Integration event | OnAfterClearWorkCenter | (var Record Capacity Ledger Entry, var Record Work Center) | - |
| Integration event | OnBeforeCalcOutputQtyBaseOnPurchOrder | (Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal, var Boolean) | - |