Codeunit "Get Average Cost Calc Overview"

ID 5847
Namespace: Microsoft.Inventory.Costing

Properties

Name Value
TableNo Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

Methods

Calculate

procedure Calculate(var AvgCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
AvgCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

EntriesExist

procedure EntriesExist(var AvgCostCalcOverview: Record "Average Cost Calc. Overview"): Boolean

Parameters

Name Type Description
AvgCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

Returns

Type Description
Boolean

Events

OnAfterCopyAvgCostAdjmtEntryPointFieldsToAverageCostCalcOverview

[IntegrationEvent(False,False)]
local procedure OnAfterCopyAvgCostAdjmtEntryPointFieldsToAverageCostCalcOverview(var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point", var AverageCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

OnAfterCopyItemLedgerEntryFieldsToAverageCostCalcOverview

[IntegrationEvent(False,False)]
local procedure OnAfterCopyItemLedgerEntryFieldsToAverageCostCalcOverview(var ItemLedgerEntry: Record "Item Ledger Entry", var AverageCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

OnBeforeAvgCostAdjmtEntryPointInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeAvgCostAdjmtEntryPointInsert(var AverageCostCalcOverview: Record "Average Cost Calc. Overview", AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point")

Parameters

Name Type Description
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"

OnBeforeModifyAvgCostCalcOverview

[IntegrationEvent(False,False)]
local procedure OnBeforeModifyAvgCostCalcOverview(var AverageCostCalcOverview: Record "Average Cost Calc. Overview", ValueEntry: Record "Value Entry", ModifyLine: Boolean)

Parameters

Name Type Description
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
ModifyLine Boolean

OnCalculateOnAfterGetItem

[IntegrationEvent(False,False)]
local procedure OnCalculateOnAfterGetItem(var Item: Record Item, var AvgCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
AvgCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

OnEntriesExistOnAfterGetItem

[IntegrationEvent(False,False)]
local procedure OnEntriesExistOnAfterGetItem(var Item: Record Item, var AvgCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
AvgCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

OnEntriesExistOnBeforeFind

[IntegrationEvent(False,False)]
local procedure OnEntriesExistOnBeforeFind(var ValueEntry: Record "Value Entry", var Item: Record Item, var AverageCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
ValueEntry Table Microsoft.Inventory.Ledger."Value Entry"
Item Table Microsoft.Inventory.Item.Item
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

OnRunOnSetAvgCostAdjmtEntryPointFilters

[IntegrationEvent(False,False)]
local procedure OnRunOnSetAvgCostAdjmtEntryPointFilters(var AvgCostAdjmtEntryPoint: Record "Avg. Cost Adjmt. Entry Point", var AverageCostCalcOverview: Record "Average Cost Calc. Overview")

Parameters

Name Type Description
AvgCostAdjmtEntryPoint Table Microsoft.Inventory.Costing."Avg. Cost Adjmt. Entry Point"
AverageCostCalcOverview Table Microsoft.Inventory.Costing."Average Cost Calc. Overview"

See also