Report 5899 Calculate Inventory Value

Base Application, Microsoft.Inventory.Journal

src/Layers/W1/BaseApp/Inventory/Journal/CalculateInventoryValue.Report.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Item.OnAfterGetRecord line 29, trigger

  1. 40raisesOnBeforeOnAfterGetRecord
  2. 46callsCodeunit 5849 Avg. Cost Entry Point Handler GetValuationPeriod
  3. 52writesTable 5803 Item Journal Buffer DeleteAll
  4. 61raisesOnItemAfterGetRecordOnAfterItemLedgEntrySetFilters
  5. 64callsIncludeEntryInCalc
  6. 66callsCalcRemainingCost
  7. 70raisesOnAfterGetRecordItemOnBeforInsertItemJnlLine
  8. 71callsInsertItemJnlLine
  9. 76callsInsertValJnlBuffer
  10. 99callsCalculate
  11. 102callsCalculate
  12. 104callsCalculate
  13. 114callsCalculate
  14. 117callsCalculate
  15. 119callsCalculate
  16. 131callsCalculate
  17. 136callsCalculate
  18. 141callsCalculate

Item.OnPostDataItem line 145, trigger

  1. 163callsCodeunit 5804 ItemCostManagement UpdateStdCostShares
  2. 170raisesOnPostDataItemForItemOnBeforeValidateStandardCostIsHandled
  3. 172validatesTable 5700 Stockkeeping Unit Standard Cost
  4. 173writesTable 5700 Stockkeeping Unit Modify

Item.OnPreDataItem line 179, trigger

  1. 192callsCodeunit 308 No. Series - Batch GetNextNo
  2. 199callsCodeunit 5899 Calc. Inventory Value-Check SetParameters
  3. 200callsCodeunit 5899 Calc. Inventory Value-Check RunCheck
  4. 219raisesOnAfterOnPreDataItem

CalculatePer.OnValidate line 252, trigger

  1. 255callsItemCalculatePerOnValidate
  2. 257callsItemLedgerEntryCalculatePerOnV

OnOpenPage line 304, trigger

  1. 308callsValidatePostingDate
  2. 310callsValidateCalcLevel

OnPreReport line 318, trigger

  1. 320raisesOnBeforePreReport

IncludeEntryInCalc line 371, local

  1. 376raisesOnBeforeIncludeEntryInCalcIsHandled

ValidatePostingDate line 390, local

  1. 398callsCodeunit 310 No. Series PeekNextNo

ValidateCalcLevel line 401, local

  1. 403callsPageValidateCalcLevel

InsertValJnlBuffer line 407, local

  1. 418writesTable 5803 Item Journal Buffer Modify
  2. 429writesTable 5803 Item Journal Buffer Insert

CalcAverageUnitCost line 433, local

  1. 448callsTable 5802 Value Entry SumCostsTillValuationDate
  2. 452callsCalcNotComplInvcdTransfer
  3. 472raisesOnCalcAverageUnitCostOnBeforeCheckNegCostIsHandled

CalcNotComplInvcdTransfer line 483, local

  1. 504callsTable 32 Item Ledger Entry CalculateRemInventoryValue

InsertItemJnlLine line 512, local

  1. 521callsItemJnlLineExists
  2. 527callsInitItemJnlLine
  3. 529validatesTable 83 Item Journal Line Unit Amount
  4. 545callsTable 83 Item Journal Line CopyDim
  5. 547validatesTable 83 Item Journal Line Quantity
  6. 548validatesTable 83 Item Journal Line Inventory Value (Calculated)
  7. 551validatesTable 83 Item Journal Line Inventory Value (Revalued)
  8. 554validatesTable 83 Item Journal Line Unit Cost (Revalued)
  9. 557validatesTable 83 Item Journal Line Unit Cost (Revalued)
  10. 562validatesTable 83 Item Journal Line Unit Cost (Revalued)
  11. 573raisesOnInsertItemJnlLineOnCaseCalcBaseOnStandardCostAssemblyOrManufacturing
  12. 577writesTable 5700 Stockkeeping Unit Insert
  13. 579validatesTable 83 Item Journal Line Inventory Value (Revalued)
  14. 581raisesOnInsertItemJnlLineOnCaseCalcBaseOnElse
  15. 586writesTable 83 Item Journal Line Insert
  16. 587raisesOnAfterInsertItemJnlLine

InitItemJnlLine line 590, local

  1. 605raisesOnInitItemJnlLineOnBeforeValidateFields
  2. 607validatesTable 83 Item Journal Line Posting Date
  3. 608validatesTable 83 Item Journal Line Entry Type
  4. 609validatesTable 83 Item Journal Line Document No.
  5. 610validatesTable 83 Item Journal Line Item No.
  6. 613validatesTable 83 Item Journal Line Location Code
  7. 616raisesOnAfterInitItemJnlLine

ItemLedgerEntryCalculatePerOnV line 645, local

  1. 647callsValidateCalcLevel

ItemCalculatePerOnValidate line 650, local

  1. 652callsValidateCalcLevel

CalcRemainingCost line 666, local

  1. 679callsTable 32 Item Ledger Entry CalculateRemInventoryValue
  2. 683callsTable 32 Item Ledger Entry CalculateRemInventoryValue

Calculate line 691, local

  1. 699callsCalcAverageUnitCost
  2. 701callsInsertItemJnlLine