Codeunit 18123475 EOS Standard Cost Calculation
Codeunit EOS Standard Cost Calculation (ID 18123475).
procedure CalculateStandardCost(StartDate: Date; EndDate: Date; NewUseLastCost: Boolean; var ItemCostHistory: Record "EOS Item Cost History")
CalculateStandardCost.
StartDate Date
Date.
EndDate Date
Date.
NewUseLastCost Boolean
Boolean.
ItemCostHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure SetProperties(NewCalculationDate: Date; NewCompetenceYear: Date; NewCalcMultiLevel: Boolean; NewLogErrors: Boolean; NewShowDialog: Boolean; NewUseLastCost: Boolean)
SetProperties.
NewCalculationDate Date
Date.
NewCompetenceYear Date
Date.
NewCalcMultiLevel Boolean
Boolean.
NewLogErrors Boolean
Boolean.
NewShowDialog Boolean
Boolean.
NewUseLastCost Boolean
Boolean.
procedure CalcRtngCostPerUnit(RoutingHistory: Record "EOS Routing History"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type")
CalcRtngCostPerUnit.
RoutingHistory Record "EOS Routing History"
Record “EOS Routing History”.
DirUnitCost Decimal
VAR Decimal.
IndirCostPct Decimal
VAR Decimal.
OvhdRate Decimal
VAR Decimal.
UnitCost Decimal
VAR Decimal.
UnitCostCalculation Enum "Unit Cost Calculation Type"
VAR Option Time,Unit.
procedure CalcCompItemQtyBase(ProdBOMComponent: Record "EOS Production BOM History"; CalculationDate: Date; MfgItemQtyBase: Decimal; RtngNo: Code[20]; AdjdForRtngScrap: Boolean): Decimal
CalcCompItemQtyBase.
ProdBOMComponent Record "EOS Production BOM History"
Record “EOS Production BOM History”.
CalculationDate Date
Date.
MfgItemQtyBase Decimal
Decimal.
RtngNo Code[20]
Code[20].
AdjdForRtngScrap Boolean
Boolean.
Returns Decimal
Return value of type Decimal.
procedure RollupAdditionalCostFromBOM(var ProductionBOMHistory: Record "EOS Production BOM History"; CompItemQtyBase: Decimal; UseWACCost: Boolean; var CompRUOther: Decimal)
RollupAdditionalCostFromBOM.
ProductionBOMHistory Record "EOS Production BOM History"
VAR Record “EOS Production BOM History”.
CompItemQtyBase Decimal
Decimal.
UseWACCost Boolean
Boolean.
CompRUOther Decimal
VAR Decimal.
procedure SumUpAdditionalCost(var ItemHistory: Record "EOS Item Cost History"): Decimal
SumUpAdditionalCost.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
Returns Decimal
Return value of type Decimal.
procedure InitAdditionalCost(var ItemHistory: Record "EOS Item Cost History")
InitAdditionalCost.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure SetStandardCostMode(StdMode: Boolean)
Boolean
local procedure OnBeforeCalcCostTimeOnCalcRtngCost(RoutingHistory: Record "EOS Routing History"; MfgItemQtyBase: Decimal; UnitCostCalculation: Enum Microsoft.Foundation.Enums."Unit Cost Calculation Type"; CostIncludeSetup: Boolean; var CostTime: Decimal; var IsHandled: Boolean)
RoutingHistory Record "EOS Routing History"
MfgItemQtyBase Decimal
UnitCostCalculation Enum "Microsoft.Foundation.Enums."Unit Cost Calculation Type""
CostIncludeSetup Boolean
CostTime Decimal
IsHandled Boolean
local procedure OnAfterCalcCostTimeOnCalcRtngCost(RoutingHistory: Record "EOS Routing History"; MfgItemQtyBase: Decimal; UnitCostCalculation: Enum Microsoft.Foundation.Enums."Unit Cost Calculation Type"; CostIncludeSetup: Boolean; var CostTime: Decimal)
RoutingHistory Record "EOS Routing History"
MfgItemQtyBase Decimal
UnitCostCalculation Enum "Microsoft.Foundation.Enums."Unit Cost Calculation Type""
CostIncludeSetup Boolean
CostTime Decimal
local procedure OnAfterSetLoadFieldsOnCalcRtngCost(PeriodCode: Code[20]; var RoutingHistory: Record "EOS Routing History")
PeriodCode Code[20]
RoutingHistory Record "EOS Routing History"
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.