Codeunit 18123477 EOS Item Cost Management
Codeunit EOS Item Cost Management (ID 18123477).
procedure CalculateHistoryQtyAmount(var ItemHistory: Record "EOS Item Cost History")
CalculateHistoryQtyAmount.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure CalcODPConsumptionQty(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderCompLineNo: Integer; MaterialNo: Code[20]; EndDate: Date): Decimal
CalcODPConsumptionQty.
ProdOrderStatus Enum "Production Order Status"
Enum “Production Order Status”.
ProdOrderNo Code[20]
Code[20].
ProdOrderLineNo Integer
Integer.
ProdOrderCompLineNo Integer
Integer.
MaterialNo Code[20]
Code[20].
EndDate Date
Date.
Returns Decimal
Return value of type Decimal.
procedure MaterialAverageCost(PeriodCode: Code[20]; ItemNo: Code[20]; VariantCode: Code[20]; LocationCode: Code[20]; LotNo: Code[50]; SerialNo: Code[50]; StartDate: Date; EndDate: Date): Decimal
MaterialAverageCost.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
VariantCode Code[20]
Code[20].
LocationCode Code[20]
Code[20].
LotNo Code[50]
Code[50].
SerialNo Code[50]
Code[50].
StartDate Date
Date.
EndDate Date
Date.
Returns Decimal
Return value of type Decimal.
procedure GetProductionOrderStatus(ProdOrderNo: Code[20]): Enum "Production Order Status"
GetProductionOrderStatus.
ProdOrderNo Code[20]
Code[20].
Returns Enum "Production Order Status"
Return value of type Enum “Production Order Status”.
procedure IsSubcontractingLine(PeriodCode: Code[20]; ProdOrderRouting: Record "Prod. Order Routing Line"): Boolean
IsSubcontractingLine.
PeriodCode Code[20]
Code[20].
ProdOrderRouting Record "Prod. Order Routing Line"
Record “Prod. Order Routing Line”.
Returns Boolean
Return value of type Boolean.
procedure GetRcptLineUnitCostFromCLE(CapacityLedgerEntry: Record "Capacity Ledger Entry"): Decimal
GetRcptLineUnitCostFromCLE.
CapacityLedgerEntry Record "Capacity Ledger Entry"
Record “Capacity Ledger Entry”.
Returns Decimal
Return value of type Decimal.
procedure GetODPPerc(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; StartDate: Date; EndDate: Date): Decimal
GetODPPerc.
ProdOrderNo Code[20]
Code[20].
ProdOrderLineNo Integer
Integer.
StartDate Date
Date.
EndDate Date
Date.
Returns Decimal
Return value of type Decimal.
procedure GetActualODPPerc(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; StartDate: Date; EndDate: Date): Decimal
ProdOrderNo Code[20]
ProdOrderLineNo Integer
StartDate Date
EndDate Date
Returns Decimal
procedure IsPOLocationIncluded(PeriodCode: Code[20]; ProdOrderLine: Record "Prod. Order Line"): Boolean
IsPOLocationIncluded.
PeriodCode Code[20]
Code[20].
ProdOrderLine Record "Prod. Order Line"
Record “Prod. Order Line”.
Returns Boolean
Return value of type Boolean.
procedure BeforeStartCostPeriodCompatible(StartDate: Date; EndDate: Date; BeforeStartItemCost: Record "EOS Before Start Specific Cost"): Boolean
BeforeStartCostPeriodCompatible.
StartDate Date
Date.
EndDate Date
Date.
BeforeStartItemCost Record "EOS Before Start Specific Cost"
Record “EOS Before Start Specific Cost”.
Returns Boolean
Return value of type Boolean.
procedure GetPrevYearPeriodCode(PeriodCode: Code[20]): Code[20]
GetPrevYearPeriodCode.
PeriodCode Code[20]
Code[20].
Returns Code[20]
Return value of type Code[20].
procedure GetItemFiscalCost(ItemNo: Code[20]; ReferenceDate: Date; ItemCostHistory: Record "EOS Item Cost History"): Decimal
GetItemFiscalCost.
ItemNo Code[20]
Code[20].
ReferenceDate Date
Date.
ItemCostHistory Record "EOS Item Cost History"
Record “EOS Item Cost History”.
Returns Decimal
Return value of type Decimal.
procedure GetRolledUpCostComponent(ItemHistory: Record "EOS Item Cost History"; var RUMat: Decimal; var RUCap: Decimal; var RUSub: Decimal; var RUCapOvhd: Decimal; var RUMfgOvhd: Decimal; var RUOther: Decimal)
GetRolledUpCostComponent.
ItemHistory Record "EOS Item Cost History"
Record “EOS Item Cost History”.
RUMat Decimal
VAR Decimal.
RUCap Decimal
VAR Decimal.
RUSub Decimal
VAR Decimal.
RUCapOvhd Decimal
VAR Decimal.
RUMfgOvhd Decimal
VAR Decimal.
RUOther Decimal
VAR Decimal.
procedure GetProductionBOMHeaderUOMCode(PeriodCode: Code[20]; ItemNo: Code[20]; BOMNo: Code[20]): Code[10]
GetProductionBOMHeaderUOMCode.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
BOMNo Code[20]
Code[20].
Returns Code[10]
Return value of type Code[10].
procedure CalcProductionCost(var ItemHistory: Record "EOS Item Cost History")
CalcProductionCost.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure ArchiveItem(PeriodCode: Code[20]; ItemNo: Code[20]; var ItemHistory: Record "EOS Item Cost History")
ArchiveItem.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure ForceCostComponent(var ItemHistory: Record "EOS Item Cost History"; AverageCost: Decimal)
ForceCostComponent.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
AverageCost Decimal
Decimal.
procedure VariantCostCalculationEnabled(PeriodCode: Code[20]; ItemNo: Code[20]): Boolean
VariantCostCalculationEnabled.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
Returns Boolean
Return value of type Boolean.
procedure ResetDetails()
ResetDetails.
procedure SetDetails(LotNo: Code[50]; SNNo: Code[50]; VariantCode: Code[10]; DetailCalc: Boolean)
SetDetails.
LotNo Code[50]
Code[50].
SNNo Code[50]
Code[50].
VariantCode Code[10]
Code[10].
DetailCalc Boolean
Boolean.
procedure GetPrevItemCostHistory(ItemCostHistory: Record "EOS Item Cost History"; var PrevItemCostHistory: Record "EOS Item Cost History"): Boolean
GetPrevItemCostHistory.
ItemCostHistory Record "EOS Item Cost History"
Record “EOS Item Cost History”.
PrevItemCostHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
Returns Boolean
Return value of type Boolean.
procedure LotCostCalculationEnabled(ItemNo: Code[20]): Boolean
LotCostCalculationEnabled.
ItemNo Code[20]
Code[20].
Returns Boolean
Return value of type Boolean.
procedure SNCostCalculationEnabled(ItemNo: Code[20]): Boolean
SNCostCalculationEnabled.
ItemNo Code[20]
Code[20].
Returns Boolean
Return value of type Boolean.
procedure CalcInventory(var ItemCostHistory: Record "EOS Item Cost History")
CalcInventory.
ItemCostHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure CalcInventoryByItem(PeriodCode: Code[20]; var Item: Record Item)
CalcInventoryByItem.
PeriodCode Code[20]
Code[20].
Item Record "Item"
VAR Record Item.
procedure RunInitialCustomCodeunit(CostingPeriod: Record "EOS Costing Period")
RunInitialCustomCodeunit.
CostingPeriod Record "EOS Costing Period"
Record “EOS Costing Period”.
procedure RunItemCustomCodeunit(var ItemHistory: Record "EOS Item Cost History")
RunItemCustomCodeunit.
ItemHistory Record "EOS Item Cost History"
VAR Record “EOS Item Cost History”.
procedure ItemValuationType(PeriodCode: Code[20]; ItemNo: Code[20]): Integer
ItemValuationType.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
Returns Integer
Return value of type Integer.
procedure HasSpecificCost(PeriodCode: Code[20]; ItemNo: Code[20]): Boolean
HasSpecificCost.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
Returns Boolean
Return value of type Boolean.
procedure GetItemAdditionalCosts(PeriodCode: Code[20]; ItemNo: Code[20]; VariantCode: Code[20]; LotNo: Code[50]; SerialNo: Code[50]; var TempItemHistAdditionalCost: Record "EOS Item History Addit. Cost" temporary)
GetItemAdditionalCosts.
PeriodCode Code[20]
Code[20].
ItemNo Code[20]
Code[20].
VariantCode Code[20]
Code[20].
LotNo Code[50]
Code[50].
SerialNo Code[50]
Code[50].
TempItemHistAdditionalCost Record "EOS Item History Addit. Cost"
Temporary VAR Record “EOS Item History Addit. Cost”.
procedure IsLocationIncluded(PeriodCode: Code[20]; LocationCode: Code[10]): Boolean
IsLocationIncluded.
PeriodCode Code[20]
Code[20].
LocationCode Code[10]
Code[10].
Returns Boolean
Return value of type Boolean.
procedure CollectAssemblyOrders(PeriodCode: Code[20]; StartDate: Date; EndDate: Date; ItemNo: Code[20]; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)
CollectAssemblyOrders.
PeriodCode Code[20]
Code[20].
StartDate Date
Date.
EndDate Date
Date.
ItemNo Code[20]
Code[20].
TempItemLedgerEntry Record "Item Ledger Entry"
Temporary VAR Record “Item Ledger Entry”.
procedure GetAssemblyLocationCode(OrderNo: Code[20]; PostingDate: Date): Code[10]
GetAssemblyLocationCode.
OrderNo Code[20]
Code[20].
PostingDate Date
Date.
Returns Code[10]
Return value of type Code[10].
procedure CalcProdOrderRtngLineCost(ItemHistory: Record "EOS Item Cost History"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRouting: Record "Prod. Order Routing Line"; var UnitCostFase: Decimal; var OverheadCostFase: Decimal; var UnitTime: Decimal)
CalcProdOrderRtngLineCost.
ItemHistory Record "EOS Item Cost History"
Record “EOS Item Cost History”.
ProdOrderLine Record "Prod. Order Line"
Record “Prod. Order Line”.
ProdOrderRouting Record "Prod. Order Routing Line"
Record “Prod. Order Routing Line”.
UnitCostFase Decimal
VAR Decimal.
OverheadCostFase Decimal
VAR Decimal.
UnitTime Decimal
VAR Decimal.
local procedure CalcLIFOBandQtyAmount(ItemCostHistory: Record "EOS Item Cost History"; ItemNo: Code[20]; EndDate: Date; var StartInventory: Decimal; EndInventory: Decimal; var PrevYearCost: Decimal)
ItemCostHistory Record "EOS Item Cost History"
ItemNo Code[20]
EndDate Date
StartInventory Decimal
EndInventory Decimal
PrevYearCost Decimal
local procedure OnRunCalcItemWACCost(var ItemCostingSetup: Record "EOS Item Costing Setup"; StartInventory: Decimal; EndInventory: Decimal; PrevYearCost: Decimal; AverageCost: Decimal; var CMP: Decimal; var Handled: Boolean)
ItemCostingSetup Record "EOS Item Costing Setup"
StartInventory Decimal
EndInventory Decimal
PrevYearCost Decimal
AverageCost Decimal
CMP Decimal
Handled Boolean
local procedure CalcItemLIFOCost(PeriodCode: Code[20]; ItemNo: Code[20]; AverageCost: Decimal; EndInventory: Decimal; EndDate: Date; var UnitCostCalculated: Decimal)
PeriodCode Code[20]
ItemNo Code[20]
AverageCost Decimal
EndInventory Decimal
EndDate Date
UnitCostCalculated Decimal
local procedure OnBeforeRoutingHistoryInsert(var RoutingHistory: record "EOS Routing History"; var Handled: Boolean)
Raised before insert of Routing History in function UpdateRoutingHistory when “Not Standard Line” = true.
RoutingHistory record "EOS Routing History"
VAR record “EOS Routing History”.
Handled Boolean
set to true if you want to skip record Routing History creation
local procedure CheckVariantLifoCategory(PeriodCode: Code[20]; ItemVariant: Record "Item Variant")
PeriodCode Code[20]
ItemVariant Record "Item Variant"
local procedure CopyItemVariantLifoCategoryField(var ItemVariantCostHistory: Record "EOS Item Variant Cost History"; ItemVariant: Record "Item Variant")
ItemVariantCostHistory Record "EOS Item Variant Cost History"
ItemVariant Record "Item Variant"
local procedure OnRunInitialCustomOneTimeCalcCost(CostingPeriod: Record "EOS Costing Period")
Raised before execute Calc. Low-Level Code in report Calculate Actual Cost.
CostingPeriod Record "EOS Costing Period"
Parameter of type Record “EOS Costing Period”.
local procedure OnBeforeRunCustomAdditionalCost(var ItemHistory: Record "EOS Item Cost History"; var Handled: Boolean)
Raised before execute calculation of additional cost by codeunit 18123474 AdditCostForRollupCostType.
ItemHistory Record "EOS Item Cost History"
Parameter of type Record “EOS Item Cost History”.
Handled Boolean
set to true if you want to skip the additional cost calculation.
local procedure OnBeforeRunCustomRollupCostType(var ItemHistory: Record "EOS Item Cost History"; var Handled: Boolean)
Raised before execute OnRunCustomRollupCostType.
ItemHistory Record "EOS Item Cost History"
Parameter of type Record “EOS Item Cost History”.
Handled Boolean
if flag is on, the standard code for calculating additional costs by cost type will not be executed
local procedure OnRunCalcItemVariantWACCost(var ItemCostingSetup: Record "EOS Item Costing Setup"; ItemCostHistory: Record "EOS Item Cost History"; StartInventory: Decimal; PrevYearCost: Decimal; var CMP: Decimal; var Handled: Boolean)
ItemCostingSetup Record "EOS Item Costing Setup"
ItemCostHistory Record "EOS Item Cost History"
StartInventory Decimal
PrevYearCost Decimal
CMP Decimal
Handled Boolean
local procedure OnCalcInventoryByItemOnBeforeCalcNetChange(var Item: Record "Item"; CostingPeriodCode: Code[20])
Raised before calculate flowfield “Net Change” of table “Item” in function CalcInventoryByItem.
Item Record "Item"
Parameter of type Record “Item”.
CostingPeriodCode Code[20]
Costing Period Code
local procedure OnCalcInventoryByItemOnAfterCalcNetChange(var Item: Record "Item"; CostingPeriodCode: Code[20])
Raised after calculate flowfield “Net Change” of table “Item” in function CalcInventoryByItem.
Item Record "Item"
Parameter of type Record “Item”.
CostingPeriodCode Code[20]
Costing Period Code
local procedure OnBeforeItemToSkip(var ItemHistory: Record "EOS Item Cost History"; var SkipItem: Boolean; var IsHandled: Boolean)
ItemHistory Record "EOS Item Cost History"
SkipItem Boolean
IsHandled Boolean
local procedure OnBeforeAssignPurchaseAmountAddAmountQty(ItemLedgEntry: Record "Item Ledger Entry"; ValueEntry: Record "Value Entry"; var ItemHistory: Record "EOS Item Cost History"; var SkipAssignValue: Boolean)
Raised before assign value to field “Purchase Amount” of table “EOS Item Cost History” in function AddAmount.
ItemLedgEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
ValueEntry Record "Value Entry"
Parameter of type Record “Value Entry”.
ItemHistory Record "EOS Item Cost History"
Parameter of type Record “EOS Item Cost History”.
SkipAssignValue Boolean
set to true if you want to skip the value assignment.
local procedure OnBeforeAssignNotInvoicedPurchaseAmountAddAmountQty(ItemLedgEntry: Record "Item Ledger Entry"; ValueEntry: Record "Value Entry"; var ItemHistory: Record "EOS Item Cost History"; var Handled: Boolean)
Raised before assign value to field “Not Invoiced Purchase Amount” of table “EOS Item Cost History” in function AddAmount.
ItemLedgEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
ValueEntry Record "Value Entry"
Parameter of type Record “Value Entry”.
ItemHistory Record "EOS Item Cost History"
Parameter of type Record “EOS Item Cost History”.
Handled Boolean
set to true if you want to skip the value assignment.
local procedure OnBeforeAddAmountQty(ItemLedgEntry: Record "Item Ledger Entry"; var ItemHistory: Record "EOS Item Cost History"; var Handled: Boolean)
Raised before execute function AddAmountQty (this function collect Quantity of Item Ledger Entry and related Value Entry).
ItemLedgEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
ItemHistory Record "EOS Item Cost History"
Parameter of type Record “EOS Item Cost History”.
Handled Boolean
set to true if you want to skip the AddAmountQty function
local procedure OnCalcInventoryByItemOnAfterSetFilterSkipJobEntryOnItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry")
Raised after set filter to field “Job No.” of table “EOS Item Cost History” in function CalcInventoryByItem.
ItemLedgerEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
local procedure OnAfterSetFilterSkipJobEntryOnItemLedgerEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; CostingPeriodCode: Code[20]; ItemNo: Code[20])
Raised after set filter to field “Job No.” of table “EOS Item Cost History”.
ItemLedgerEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
CostingPeriodCode Code[20]
Costing Period Code
ItemNo Code[20]
Item No.
local procedure OnAfterSetFiltersConsumptionOnCalcTrueManufCost(var ItemLedgerEntry: Record "Item Ledger Entry"; CostingPeriodCode: Code[20]; ItemNo: Code[20])
Raised after set filters to table Item Ledger Entry of consumption entry type”.
ItemLedgerEntry Record "Item Ledger Entry"
Parameter of type Record “Item Ledger Entry”.
CostingPeriodCode Code[20]
Costing Period Code
ItemNo Code[20]
Item No.
local procedure OnAfterCalculateCost(var ItemHistory: Record "EOS Item Cost History")
Record "EOS Item Cost History"
local procedure OnRunArchiveItemBeforeCalculateHistoryQtyAmount(var ItemHistory: Record "EOS Item Cost History")
Record "EOS Item Cost History"
local procedure OnAfterCalcEndPeriodInventory(var ItemHistory: Record "EOS Item Cost History")
Record "EOS Item Cost History"
local procedure OnCalculateLotCostAfterCalcEndPeriodInventory(PeriodCode: Code[20]; var ItemSpecificCost: Record "EOS Specific Cost")
PeriodCode Code[20]
ItemSpecificCost Record "EOS Specific Cost"
local procedure OnCalcExtimatedManufCostOpenPOSkipCapacityLedgerEntry(ItemHistory: Record "EOS Item Cost History"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
ProdOrderLine Record "Prod. Order Line"
ProdOrderRoutingLine Record "Prod. Order Routing Line"
Handled Boolean
local procedure OnCalcExtimatedManufCostFinishPOSkipCapacityLedgerEntry(ItemHistory: Record "EOS Item Cost History"; ProdOrderLine: Record "Prod. Order Line"; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
ProdOrderLine Record "Prod. Order Line"
CapacityLedgerEntry Record "Capacity Ledger Entry"
Handled Boolean
local procedure OnCalcTrueManufCostSkipCapacityLedgerEntry(ItemHistory: Record "EOS Item Cost History"; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
CapacityLedgerEntry Record "Capacity Ledger Entry"
Handled Boolean
local procedure OnCalcTrueManufCostCalcSubcontractingAmount(var ItemHistory: Record "EOS Item Cost History"; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var RoutingAmount: Decimal; var RoutingOverheadAmount: Decimal; ODPPerc: Decimal; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
CapacityLedgerEntry Record "Capacity Ledger Entry"
RoutingAmount Decimal
RoutingOverheadAmount Decimal
ODPPerc Decimal
Handled Boolean
local procedure OnCalcTrueManufCostSkipItemLedgerEntry(var ItemHistory: Record "EOS Item Cost History"; ItemLedgerEntry: Record "Item Ledger Entry"; StartDate: Date; EndDate: Date; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
ItemLedgerEntry Record "Item Ledger Entry"
StartDate Date
EndDate Date
Handled Boolean
local procedure OnCalcTrueMaterialCostSkipItemLedgerEntry(var ItemHistory: Record "EOS Item Cost History"; ItemLedgerEntry: Record "Item Ledger Entry"; StartDate: Date; EndDate: Date; var Handled: Boolean)
ItemHistory Record "EOS Item Cost History"
ItemLedgerEntry Record "Item Ledger Entry"
StartDate Date
EndDate Date
Handled Boolean
local procedure OnBeforeAddAmountQtyLifoFifo(ItemLedgerEntry: Record "Item Ledger Entry"; EntryQty: Decimal; Search: Boolean; var ItemHistory: Record "EOS Item Cost History"; var SkipAddAmountQty: Boolean)
ItemLedgerEntry Record "Item Ledger Entry"
EntryQty Decimal
Search Boolean
ItemHistory Record "EOS Item Cost History"
SkipAddAmountQty Boolean
local procedure OnBeforeSetRemainingQtyOnCalcPurchaseAmountLifoFifo(ItemLedgerEntry: Record "Item Ledger Entry"; Search: Boolean; var ItemHistory: Record "EOS Item Cost History"; var SkipItemLedgerEntry: Boolean)
ItemLedgerEntry Record "Item Ledger Entry"
Search Boolean
ItemHistory Record "EOS Item Cost History"
SkipItemLedgerEntry Boolean
local procedure OnBeforeSetRemainingQtyOnCalcPurchOutputLifoFifo(ItemLedgerEntry: Record "Item Ledger Entry"; Search: Boolean; var ItemHistory: Record "EOS Item Cost History"; var SkipItemLedgerEntry: Boolean)
ItemLedgerEntry Record "Item Ledger Entry"
Search Boolean
ItemHistory Record "EOS Item Cost History"
SkipItemLedgerEntry Boolean
local procedure OnBeforeInsertTempSNInfo(ItemNo: Code[20]; SerialNo: Code[50]; CostingPeriod: Record "EOS Costing Period"; var SkipSN: Boolean; var IsHandled: Boolean)
ItemNo Code[20]
SerialNo Code[50]
CostingPeriod Record "EOS Costing Period"
SkipSN Boolean
IsHandled Boolean
local procedure OnBeforeCalcDetailCost(var ItemHistory: Record "EOS Item Cost History"; var IsHandled: Boolean)
ItemHistory Record "EOS Item Cost History"
IsHandled Boolean
local procedure OnAfterCalcDetailCost(var ItemHistory: Record "EOS Item Cost History")
Record "EOS Item Cost History"
local procedure OnAfterCalculateProcessedQty(StartDate: Date; EndDate: Date; CostingPeriod: Record "EOS Costing Period"; var ItemHistory: Record "EOS Item Cost History")
StartDate Date
EndDate Date
CostingPeriod Record "EOS Costing Period"
ItemHistory Record "EOS Item Cost History"
local procedure OnBeforeCalcPurchaseAmountLifoFifo(MaxQty: Decimal; Search: Boolean; StartDate: Date; EndDate: Date; var ItemHistory: Record "EOS Item Cost History"; var IsHandled: Boolean)
MaxQty Decimal
Search Boolean
StartDate Date
EndDate Date
ItemHistory Record "EOS Item Cost History"
IsHandled Boolean
local procedure OnBeforeExistFIFOAdditionalCostPercentage(ItemHistory: Record "EOS Item Cost History"; var ItemHistAdditionalCost: Record "EOS Item History Addit. Cost")
ItemHistory Record "EOS Item Cost History"
ItemHistAdditionalCost Record "EOS Item History Addit. Cost"
local procedure OnBeforeCalcFIFOAdditionalCostPercentage(ItemHistory: Record "EOS Item Cost History"; var ItemHistAdditionalCost: Record "EOS Item History Addit. Cost")
ItemHistory Record "EOS Item Cost History"
ItemHistAdditionalCost Record "EOS Item History Addit. Cost"
local procedure OnBeforeSumUpFIFOAdditionalCost(ItemHistory: Record "EOS Item Cost History"; var ItemHistAdditionalCost: Record "EOS Item History Addit. Cost")
ItemHistory Record "EOS Item Cost History"
ItemHistAdditionalCost Record "EOS Item History Addit. Cost"
local procedure OnBeforeCalcPurchOutputLifoFifo(MaxQty: Decimal; Search: Boolean; StartDate: Date; EndDate: Date; var ItemHistory: Record "EOS Item Cost History"; var IsHandled: Boolean)
MaxQty Decimal
Search Boolean
StartDate Date
EndDate Date
ItemHistory Record "EOS Item Cost History"
IsHandled Boolean
local procedure OnBeforeCalcTransformedQtySkipItemLedgerEntry(ItemLedgerEntry: Record "Item Ledger Entry"; CostingPeriod: Record "EOS Costing Period"; var ItemHistory: Record "EOS Item Cost History"; var SkipEntry: Boolean)
ItemLedgerEntry Record "Item Ledger Entry"
CostingPeriod Record "EOS Costing Period"
ItemHistory Record "EOS Item Cost History"
SkipEntry Boolean
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.