Codeunit 5849 Avg. Cost Entry Point Handler

Base Application, Microsoft.Inventory.Costing

Source AL, 72 lines

src/Layers/W1/BaseApp/Inventory/Costing/AvgCostEntryPointHandler.Codeunit.allines 10 to 25 of 72, Copyright (c) Microsoft Corporation. MIT

codeunit 5849 "Avg. Cost Entry Point Handler"{    var        AverageCostEntryPoint: Interface "Average Cost Entry Point";        IsInitialized: Boolean;    local procedure Initialize()    var        IsHandled: Boolean;    begin        if IsInitialized then            exit;        IsHandled := false;        OnBeforeInitialize(AverageCostEntryPoint, IsHandled);        if not IsHandled then

All 72 lines

Events 1 in 29

[IntegrationEvent] OnBeforeInitialize(var AverageCostEntryPoint: Interface "Average Cost Entry Point"; var IsHandled: Boolean)new in 20

Public procedures 6 in 29

GetMaxValuationDate(ItemLedgerEntry: Record "Item Ledger Entry"; ValueEntry: Record "Value Entry"): Datenew in 20
GetValuationPeriod(var CalendarPeriod: Record Date; PostingDate: Date)new in 20
LockBuffer()new in 20
UpdateValuationDate(ValueEntry: Record "Value Entry")new in 20
IsEntriesAdjusted(itemNo: Code[20]; EndingDate: Date): Booleannew in 20
DeleteBuffer(ItemNo: Code[20]; FromValuationDate: Date)new in 20