Table 5804 Avg. Cost Adjmt. Entry Point

Base Application, Microsoft.Inventory.Costing

src/Layers/W1/BaseApp/Inventory/Costing/AvgCostAdjmtEntryPoint.Table.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnDelete line 68, trigger

  1. 70callsUpdateItem

OnInsert line 73, trigger

  1. 75callsUpdateItem

OnModify line 78, trigger

  1. 80callsUpdateItem

UpdateItem line 87, local

  1. 89callsGetItem
  2. 93writesTable 27 Item Modify

ValuationExists line 97

  1. 105callsGetItem
  2. 106raisesOnValuationExistsOnAfterGetItem
  3. 109callsGetValuationPeriod
  4. 113callsIsAvgCostCalcTypeItem

UpdateValuationDate line 144

  1. 148callsTable 313 Inventory Setup GetRecordOnce
  2. 157callsValuationExists
  3. 158callsUpdateNextValuations
  4. 162callsValuationExists
  5. 170writesTable 5804 Avg. Cost Adjmt. Entry Point Modify
  6. 173writesTable 5804 Avg. Cost Adjmt. Entry Point Insert
  7. 176callsUpdateNextValuations

UpdateNextValuations line 179, local

  1. 189callsIsAvgCostCalcTypeItem
  2. 190callsAvgCostCalcTypeIsChanged
  3. 195callsTable 313 Inventory Setup GetRecordOnce
  4. 200writesTable 5804 Avg. Cost Adjmt. Entry Point ModifyAll

AvgCostCalcTypeIsChanged line 204

  1. 208callsGetAvgCostCalcTypeIsChgPeriod

GetValuationPeriod line 219

  1. 223callsGetFiscalYearAccPeriod
  2. 233callsCodeunit 362 PeriodPageManagement FindDate
  3. 242callsGetFiscalYearAccPeriod

IsAvgCostCalcTypeItem line 250

  1. 252callsGetFiscalYearAccPeriod

GetFiscalYearAccPeriod line 256, local

  1. 261callsCodeunit 360 Accounting Period Mgt. InitStartYearAccountingPeriod

SetAvgCostAjmtFilter line 273

  1. 281callsAvgCostCalcTypeIsChanged
  2. 282callsGetAvgCostCalcTypeIsChgPeriod
  3. 287raisesOnAfterSetAvgCostAjmtFilter

RunCostAdjustmentUntilValuationDate line 297

  1. 305callsGetItem
  2. 311callsCodeunit 5824 Cost Adjustment Params Mgt. SetParameters
  3. 312callsCodeunit 5823 Cost Adjustment Item Runner SetParameters
  4. 313runsCodeunit 5823 Cost Adjustment Item Runner
  5. 316callsTable 27 Item UpdateCostIsAdjusted