Codeunit 3687 Low-Level Code Calculator

Base Application, Microsoft.Inventory.BOM.Tree

src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/LowLevelCodeCalculator.Codeunit.al11 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 26, trigger

  1. 28callsCalculate

Calculate line 36

  1. 44callsCodeunit 27 Confirm Management GetResponseOrDefault
  2. 49callsLockTables
  3. 51callsCodeunit 3689 Low-Level Code Parameter Create
  4. 53callsPopulateBOMTree
  5. 56callsResetLowLevelCodesForEntitiesNotPartOfBOM
  6. 59callsCodeunit 3689 Low-Level Code Parameter SetRunMode
  7. 60callsCodeunit 3682 BOM Tree TraverseDown
  8. 63callsCodeunit 3689 Low-Level Code Parameter SetRunMode
  9. 64callsCodeunit 3682 BOM Tree TraverseDown
  10. 66callsCodeunit 3689 Low-Level Code Parameter Close
  11. 69raisesOnAfterCalculate

SuggestToRunAsBackgroundJob line 72

  1. 79callsTable 472 Job Queue Entry FindJobQueueEntry
  2. 82callsCodeunit 27 Confirm Management GetResponseOrDefault
  3. 85callsTable 472 Job Queue Entry ScheduleRecurrentJobQueueEntryWithFrequency

PopulateBOMTree line 88, local

  1. 91callsPopulateFromItemAndRelatedBOMs
  2. 92callsPopulateFromSKUAndRelatedBOMs
  3. 93callsPopulateFromProductionBOMAndLines
  4. 94callsPopulateFromBOMComponents

ResetLowLevelCodesForEntitiesNotPartOfBOM line 114, local

  1. 125callsCodeunit 3689 Low-Level Code Parameter ShowHeading
  2. 131callsCodeunit 3689 Low-Level Code Parameter ShowHeading
  3. 134callsCodeunit 3688 BOM Node CreateForItem
  4. 136callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  5. 138callsCodeunit 3688 BOM Node GetKey
  6. 145writesTable 27 Item ModifyAll
  7. 152callsCodeunit 3688 BOM Node CreateForProdBOM
  8. 154callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  9. 156callsCodeunit 3688 BOM Node GetKey
  10. 163writesTable 99000771 Production BOM Header ModifyAll

PopulateFromItemAndRelatedBOMs line 168, local

  1. 183callsCheckItemProductionBOMIsCertified
  2. 185callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  3. 187callsCodeunit 3688 BOM Node CreateForItem
  4. 188callsCodeunit 3688 BOM Node CreateForProdBOM
  5. 190callsAddChildToParent

PopulateFromProductionBOMAndLines line 199, local

  1. 219callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  2. 222callsCodeunit 3688 BOM Node CreateForProdBOM
  3. 226callsCodeunit 3688 BOM Node CreateForItem
  4. 229callsCodeunit 3688 BOM Node CreateForProdBOM
  5. 232callsCodeunit 3688 BOM Node IsInitialized
  6. 233callsCodeunit 3682 BOM Tree ChildHasKey
  7. 233callsCodeunit 3688 BOM Node GetKey
  8. 233callsCodeunit 3688 BOM Node GetKey
  9. 234callsAddChildToParent

PopulateFromBOMComponents line 244, local

  1. 260callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  2. 262callsCodeunit 3688 BOM Node CreateForItem
  3. 263callsCodeunit 3688 BOM Node CreateForItem
  4. 265callsCodeunit 3682 BOM Tree ChildHasKey
  5. 265callsCodeunit 3688 BOM Node GetKey
  6. 265callsCodeunit 3688 BOM Node GetKey
  7. 266callsAddChildToParent

AddChildToParent line 282, local

  1. 285callsCodeunit 3682 BOM Tree ChildHasKey
  2. 285callsCodeunit 3688 BOM Node GetKey
  3. 285callsCodeunit 3688 BOM Node GetKey
  4. 288callsCodeunit 3682 BOM Tree AddRelation
  5. 289callsAddKeyToList
  6. 289callsCodeunit 3688 BOM Node GetKey
  7. 290callsAddKeyToList
  8. 290callsCodeunit 3688 BOM Node GetKey

CheckItemProductionBOMIsCertified line 293, local

  1. 300callsCodeunit 99000756 VersionManagement GetBOMVersion

PopulateFromSKUAndRelatedBOMs line 303, local

  1. 322callsCodeunit 3689 Low-Level Code Parameter ShowDetails
  2. 326callsCodeunit 99000756 VersionManagement GetBOMVersion
  3. 328callsCodeunit 3688 BOM Node CreateForItem
  4. 329callsCodeunit 3688 BOM Node CreateForProdBOM
  5. 331callsAddChildToParent