Codeunit 5810 Change Average Cost Setting

Base Application, Microsoft.Inventory.Costing

src/Layers/W1/BaseApp/Inventory/Costing/ChangeAverageCostSetting.Codeunit.al9 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 16, trigger

  1. 21callsCodeunit 5849 Avg. Cost Entry Point Handler LockBuffer
  2. 40writesTable 50 Accounting Period Modify
  3. 44callsProcessItemsFromDate

UpdateAvgCostFromAccPeriodChg line 72

  1. 88callsProcessItemsFromDate

ProcessItemsFromDate line 91, local

  1. 96callsProcessItemAvgCostPoint

ProcessItemAvgCostPoint line 100, local

  1. 104callsCodeunit 5849 Avg. Cost Entry Point Handler DeleteBuffer
  2. 113callsUpDateWindow
  3. 115callsCodeunit 5849 Avg. Cost Entry Point Handler UpdateValuationDate
  4. 124raisesOnProcessItemAvgCostPointOnBeforeFindLastValueEntry
  5. 131writesTable 27 Item Modify

UpDateWindow line 145, local

  1. 150callsIsTimeForUpdate
  2. 152callsOpenWindow

UpdateAvgCostOnAfterDeleteAccountingPeriod line 170, local

  1. 175callsUpdateAvgCostFromAccPeriodChg

UpdateAvgCostOnAfterInsertAccountingPeriod line 179, local

  1. 184callsUpdateAvgCostFromAccPeriodChg

UpdateAvgCostOnAfterModifyAccountingPeriod line 188, local

  1. 193callsUpdateAvgCostFromAccPeriodChg

UpdateAvgCostOnAfterRenameAccountingPeriod line 197, local

  1. 212callsUpdateAvgCostFromAccPeriodChg