Codeunit 18123486 EOS Item Cost Card Mgmt.
Codeunit 18123486 EOS Item Cost Card Mgmt.
Methods
GenerateTreeForItems
procedure GenerateTreeForItems(var ParentItem: Record "EOS Item Cost History"; var ItemCostBuffer: Record "EOS Item History Cost Buffer")
Parameters / Return Value
ParentItem
Record "EOS Item Cost History"
ItemCostBuffer
Record "EOS Item History Cost Buffer"
GenerateTreeForItem
procedure GenerateTreeForItem(var ParentItem: Record "EOS Item Cost History"; var ItemCostBuffer: Record "EOS Item History Cost Buffer")
Parameters / Return Value
ParentItem
Record "EOS Item Cost History"
ItemCostBuffer
Record "EOS Item History Cost Buffer"
SetItemFilter
procedure SetItemFilter(var ItemHistory: Record "EOS Item Cost History"; NewShowCostType: Option Average,WA,Standard; NewShowCapDetails: Option "Cost nature","Routing operation"; NewShowMatDetails: Option "Cost nature","Production BOM")
Parameters / Return Value
ItemHistory
Record "EOS Item Cost History"
NewShowCostType
Option
Average
(0) ,WA
(1) ,Standard
(2)NewShowCapDetails
Option
"Cost nature"
(0) ,"Routing operation"
(1)NewShowMatDetails
Option
"Cost nature"
(0) ,"Production BOM"
(1)
SetDistributionLevel
procedure SetDistributionLevel(NewDistribLevel: Option "Rolled-up","Single Level")
Parameters / Return Value
NewDistribLevel
Option
"Rolled-up"
(0) ,"Single Level"
(1)
HistRoutingCostPerUnit
procedure HistRoutingCostPerUnit(RoutingHistory: Record "EOS Routing History"; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type"; isBudget: Boolean)
Parameters / Return Value
RoutingHistory
Record "EOS Routing History"
DirUnitCost
Decimal
IndirCostPct
Decimal
OvhdRate
Decimal
UnitCost
Decimal
UnitCostCalculation
Enum "Unit Cost Calculation Type"
isBudget
Boolean
Events
OnAfterFilterBOMBuffer
local procedure OnAfterFilterBOMBuffer(var ParentItem: Record "EOS Item Cost History"; var EOSItemCostBuffer: Record "EOS Item History Cost Buffer")
Parameters / Return Value
ParentItem
Record "EOS Item Cost History"
EOSItemCostBuffer
Record "EOS Item History Cost Buffer"
OnBeforeCalcRoutingLineCosts
local procedure OnBeforeCalcRoutingLineCosts(var RoutingHistory: Record "EOS Routing History"; var LotSize: Decimal; var ScrapPct: Decimal; ParentItemHistory: Record "EOS Item Cost History")
Parameters / Return Value
RoutingHistory
Record "EOS Routing History"
LotSize
Decimal
ScrapPct
Decimal
ParentItemHistory
Record "EOS Item Cost History"
OnBeforeFilterBOMBuffer
local procedure OnBeforeFilterBOMBuffer(var ParentItem: Record "EOS Item Cost History"; var EOSItemCostBuffer: Record "EOS Item History Cost Buffer"; var IsHandled: Boolean)
Parameters / Return Value
ParentItem
Record "EOS Item Cost History"
EOSItemCostBuffer
Record "EOS Item History Cost Buffer"
IsHandled
Boolean
OnBeforeGenerateTreeForItems
local procedure OnBeforeGenerateTreeForItems(var HideDialog: Boolean)
Parameters / Return Value
- HideDialog
Boolean
OnBeforeGenerateTreeForItemLocal
local procedure OnBeforeGenerateTreeForItemLocal(var ParentItem: Record "EOS Item Cost History")
Parameters / Return Value
- ParentItem
Record "EOS Item Cost History"
OnGenerateItemSubTreeOnAfterParentItemGet
local procedure OnGenerateItemSubTreeOnAfterParentItemGet(var ParentItem: Record "EOS Item Cost History")
Parameters / Return Value
- ParentItem
Record "EOS Item Cost History"
OnTraverseCostTreeOnAfterAddCost
local procedure OnTraverseCostTreeOnAfterAddCost(var ParentBOMBuffer: Record "EOS Item History Cost Buffer"; var EOSItemCostBuffer: Record "EOS Item History Cost Buffer")
Parameters / Return Value
ParentBOMBuffer
Record "EOS Item History Cost Buffer"
EOSItemCostBuffer
Record "EOS Item History Cost Buffer"
OnCalcRoutingLineCostsOnBeforeBOMBufferAdd
local procedure OnCalcRoutingLineCostsOnBeforeBOMBufferAdd(RoutingHistory: Record "EOS Routing History"; LotSize: Decimal; ScrapPct: Decimal; var CapCost: Decimal; var SubcontractedCapCost: Decimal; var CapOverhead: Decimal; var EosHistoryBuffer: Record "EOS Item History Cost Buffer")
Parameters / Return Value
RoutingHistory
Record "EOS Routing History"
LotSize
Decimal
ScrapPct
Decimal
CapCost
Decimal
SubcontractedCapCost
Decimal
CapOverhead
Decimal
EosHistoryBuffer
Record "EOS Item History Cost Buffer"
OnGenerateTreeForItemLocalOnBeforeCalculateTreeType
local procedure OnGenerateTreeForItemLocalOnBeforeCalculateTreeType(var ParentItem: Record "EOS Item Cost History"; var EOSItemCostBuffer: Record "EOS Item History Cost Buffer"; var EntryNo: Integer)
Parameters / Return Value
ParentItem
Record "EOS Item Cost History"
EOSItemCostBuffer
Record "EOS Item History Cost Buffer"
EntryNo
Integer
Feedback
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.