Source AL, 1,636 lines
src/Layers/W1/BaseApp/Manufacturing/StandardCost/CalculateStandardCost.Codeunit.allines 26 to 41 of 1,636, Copyright (c) Microsoft Corporation. MIT
codeunit 5812 "Calculate Standard Cost"{ trigger OnRun() begin end; var MfgSetup: Record "Manufacturing Setup"; GLSetup: Record "General Ledger Setup"; TempItem: Record Item temporary; TempSKU: Record "Stockkeeping Unit" temporary; TempWorkCenter: Record "Work Center" temporary; TempMachineCenter: Record "Machine Center" temporary; TempPriceListLine: Record "Price List Line" temporary; TempProductionBOMVersion: Record "Production BOM Version" temporary;
All 1,636 lines
Events 38 in 29
All 51 events in 17-29
Public procedures 13 in 29
| SetProperties(NewCalculationDate: Date; NewCalcMultiLevel: Boolean; NewUseAssemblyList: Boolean; NewLogErrors: Boolean; NewStdCostWkshName: Text[50]; NewShowDialog: Boolean) | 17-29 |
| TestPreconditions(var Item: Record Item; var TempNewProductionBOMVersion: Record "Production BOM Version" temporary; var NewRtngVersionErrBuf: Record "Routing Version") | 17-29changed in 21 |
| CalcItem(ItemNo: Code[20]; NewUseAssemblyList: Boolean) | 17-29 |
| CalcItems(var Item: Record Item; var NewTempItem: Record Item) | 17-29 |
| CalcAssemblyItemPrice(ItemNo: Code[20]) | 17-29 |
| CalculateAssemblyCostExp(AssemblyHeader: Record "Assembly Header"; var ExpCost: array[5] of Decimal) | 17-29 |
All 24 procedures in 17-29
Changes 3 in 29
| [IntegrationEvent] OnAfterCalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var StdCostWkshName: Text[50]; var ParentItem: Record Item; CostTime: Decimal) | 25 to 28 |
| gone |
| [IntegrationEvent] OnAfterCalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var StdCostWkshName: Text[50]; var ParentItem: Record Item; CostTime: Decimal; var DirUnitCost: Decimal) | new in 29 |
| added |
| [IntegrationEvent] OnCalcRtngCostSKUOnBeforeCalcRtngLineCostSKU(var RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal; var SLCap: Decimal; var SLSub: Decimal; var SLCapOvhd: Decimal; var IsHandled: Boolean) | new in 29 |
| added |
All 64 changes in 17-29