Codeunit 5845 Get Inventory Report

Base Application, Microsoft.Inventory.Reconciliation

src/Layers/W1/BaseApp/Inventory/Reconciliation/GetInventoryReport.Codeunit.al72 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 21, trigger

  1. 28callsCalculate

Calculate line 60, local

  1. 62callsCalcGLPostings
  2. 63callsCalcInvtPostings
  3. 64callsInsertDiffReportEntry
  4. 67callsDetermineDiffError

CalcGLPostings line 70, local

  1. 72callsCalcGenPostingSetup
  2. 73callsCalcInvtPostingSetup

CalcInvtPostings line 76, local

  1. 86callsUpDateWindow
  2. 91callsInsertItemInvtReportEntry

InsertDiffReportEntry line 97, local

  1. 100callsCalcDiff
  2. 105writesTable 5846 Inventory Report Entry Insert

DetermineDiffError line 108, local

  1. 114callsCheckExpectedCostPosting
  2. 116callsCheckIfNoDifference
  3. 118callsCheckCostIsPostedToGL
  4. 120callsCheckValueGLCompression
  5. 122callsCheckGLClosingOverlaps
  6. 124callsCheckDeletedGLAcc
  7. 126callsCheckPostingDateToGLNotTheSame
  8. 128callsCheckDirectPostings

CalcInvtPostingSetup line 133, local

  1. 144callsUpDateWindow
  2. 145callsInsertGLInvtReportEntry
  3. 151callsUpDateWindow
  4. 152callsInsertGLInvtReportEntry
  5. 159callsUpDateWindow
  6. 160callsInsertGLInvtReportEntry
  7. 164callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CanIncNonInvCostIntoProductionItem
  8. 168callsUpDateWindow
  9. 169callsInsertGLInvtReportEntry
  10. 177callsUpDateWindow
  11. 178callsInsertGLInvtReportEntry
  12. 185callsUpDateWindow
  13. 186callsInsertGLInvtReportEntry
  14. 193callsUpDateWindow
  15. 194callsInsertGLInvtReportEntry
  16. 201callsUpDateWindow
  17. 202callsInsertGLInvtReportEntry
  18. 209callsUpDateWindow
  19. 210callsInsertGLInvtReportEntry
  20. 213raisesOnCalcInvtPostingSetupOnBeforeAssignTempInvtPostingSetup
  21. 215writesTable 5813 Inventory Posting Setup Insert

CalcGenPostingSetup line 219, local

  1. 229callsUpDateWindow
  2. 230callsInsertGLInvtReportEntry
  3. 236callsUpDateWindow
  4. 237callsInsertGLInvtReportEntry
  5. 244callsUpDateWindow
  6. 245callsInsertGLInvtReportEntry
  7. 252callsUpDateWindow
  8. 253callsInsertGLInvtReportEntry
  9. 260callsUpDateWindow
  10. 261callsInsertGLInvtReportEntry
  11. 268callsUpDateWindow
  12. 269callsInsertGLInvtReportEntry
  13. 276callsUpDateWindow
  14. 277callsInsertGLInvtReportEntry
  15. 281raisesOnCalcGenPostingSetupOnBeforeAssignTempGenPostingSetup
  16. 283writesTable 252 General Posting Setup Insert
  17. 286raisesOnAfterCalcGenPostingSetup

InsertGLInvtReportEntry line 289, local

  1. 298raisesOnInsertGLInvtReportEntryBeforeCalcGLAccountIsHandled
  2. 300callsCalcGLAccount
  3. 308writesTable 5846 Inventory Report Entry Insert

InsertItemInvtReportEntry line 311, local

  1. 314callsCalcItem
  2. 319writesTable 5846 Inventory Report Entry Insert

CalcItem line 322, local

  1. 327callsValueEntryInFilteredSet
  2. 337callsValueEntryInFilteredSet
  3. 338callsCalcValueEntries

ValueEntryInFilteredSet line 355, local

  1. 365writesTable 5802 Value Entry Insert

CalcValueEntries line 369, local

  1. 373callsUpDateWindow
  2. 374callsCalcDirectCostAppliedActual
  3. 375callsCalcOverheadAppliedActual
  4. 376callsCalcPurchaseVariance
  5. 377callsCalcInventoryAdjmt
  6. 378callsCalcInvtAccrualInterim
  7. 379callsCalcCOGS
  8. 380callsCalcCOGSInterim
  9. 381callsCalcWIPInventory
  10. 382callsCalcMaterialVariance
  11. 383callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CanIncNonInvCostIntoProductionItem
  12. 384callsCalcMaterialNonInventoryVariance
  13. 385callsCalcCapVariance
  14. 386callsCalcSubcontractedVariance
  15. 387callsCalcCapOverheadVariance
  16. 388callsCalcMfgOverheadVariance
  17. 389callsCalcInventoryInterim
  18. 390callsCalcDirectCostAppliedToWIP
  19. 391callsCalcOverheadAppliedToWIP
  20. 392callsCalcInvtToWIP
  21. 393callsCalcWIPToInvtInterim
  22. 394callsCalcInventory
  23. 395callsCalcDirectCostApplied
  24. 396callsCalcOverheadApplied
  25. 398raisesOnAfterCalcValueEntries

CalcGLAccount line 401, local

  1. 406raisesOnBeforeCalcGLAccountIsHandled
  2. 410callsUpDateWindow

CalcDiff line 415, local

  1. 434raisesOnCalcDiffOnAfterCalcSumsTypeGLAccount
  2. 448raisesOnCalcDiffOnAfterCalcSumsTypeItem
  3. 461callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CanIncNonInvCostIntoProductionItem
  4. 474raisesOnCalcDiffOnBeforeCopytoInventoryReportEntry

DrillDownGL line 478, local

  1. 484raisesOnDrillDownGLBeforeRunPage

DrillDownDirectCostApplActual line 831

  1. 833callsDrillDownInventoryReportEntryAmount

SetFiltersDirectCostApplActual line 837, local

  1. 842callsCopyFiltersFronInventoryReportLine

DrillDownOverheadAppliedActual line 856

  1. 858callsDrillDownInventoryReportEntryAmount

SetFiltersOverheadAppliedActual line 862, local

  1. 868callsCopyFiltersFronInventoryReportLine
  2. 884raisesOnAfterSetFiltersOverheadAppliedActual

DrillDownPurchaseVariance line 887

  1. 889callsDrillDownInventoryReportEntryAmount

SetFiltersPurchaseVariance line 893, local

  1. 895callsCopyFiltersFronInventoryReportLine

DrillDownInventoryAdjmt line 900

  1. 902callsDrillDownInventoryReportEntryAmount

SetFiltersInventoryAdjmt line 906, local

  1. 914callsCopyFiltersFronInventoryReportLine

DrillDownInvtAccrualInterim line 940

  1. 942callsDrillDownInventoryReportEntryAmount

SetFiltersInvtAccrualInterim line 946, local

  1. 948callsCopyFiltersFronInventoryReportLine

DrillDownCOGS line 954

  1. 956callsDrillDownInventoryReportEntryAmount

SetFiltersCOGS line 959, local

  1. 961callsCopyFiltersFronInventoryReportLine

DrillDownCOGSInterim line 967

  1. 969callsDrillDownInventoryReportEntryAmount

SetFiltersCOGSInterim line 973, local

  1. 975callsCopyFiltersFronInventoryReportLine

DrillDownWIPInventory line 981

  1. 983callsDrillDownInventoryReportEntryAmount

SetFiltersWIPInventory line 987, local

  1. 995callsCopyFiltersFronInventoryReportLine
  2. 1016raisesOnAfterSetFiltersWIPInventory

DrillDownMaterialVariance line 1019

  1. 1021callsDrillDownInventoryReportEntryAmount

DrillDownMaterialNonInventoryVariance line 1025

  1. 1027callsDrillDownInventoryReportEntryAmount

SetFiltersMaterialVariance line 1031, local

  1. 1033callsCopyFiltersFronInventoryReportLine

SetFiltersMaterialNonInventoryVariance line 1041, local

  1. 1043callsCopyFiltersFronInventoryReportLine

DrillDownCapVariance line 1051

  1. 1053callsDrillDownInventoryReportEntryAmount

SetFiltersCapVariance line 1057, local

  1. 1059callsCopyFiltersFronInventoryReportLine

DrillDownSubcontractedVariance line 1067

  1. 1069callsDrillDownInventoryReportEntryAmount

SetFiltersSubcontractedVariance line 1073, local

  1. 1075callsCopyFiltersFronInventoryReportLine

DrillDownCapOverheadVariance line 1083

  1. 1085callsDrillDownInventoryReportEntryAmount

SetFiltersCapOverheadVariance line 1089, local

  1. 1091callsCopyFiltersFronInventoryReportLine

DrillDownMfgOverheadVariance line 1099

  1. 1101callsDrillDownInventoryReportEntryAmount

SetFiltersMfgOverheadVariance line 1105, local

  1. 1107callsCopyFiltersFronInventoryReportLine

DrillDownInventoryInterim line 1115

  1. 1117callsDrillDownInventoryReportEntryAmount

SetFiltersInventoryInterim line 1121, local

  1. 1123callsCopyFiltersFronInventoryReportLine

DrillDownOverheadAppliedToWIP line 1132

  1. 1134callsDrillDownInventoryReportEntryAmount

SetFiltersOverheadAppliedToWIP line 1138, local

  1. 1140callsCopyFiltersFronInventoryReportLine

DrillDownDirectCostApplToWIP line 1147

  1. 1149callsDrillDownInventoryReportEntryAmount

SetFiltersDirectCostApplToWIP line 1153, local

  1. 1155callsCopyFiltersFronInventoryReportLine

DrillDownWIPToInvtInterim line 1162

  1. 1164callsDrillDownInventoryReportEntryAmount

SetFiltersWIPToInvtInterim line 1168, local

  1. 1170callsCopyFiltersFronInventoryReportLine

DrillDownInvtToWIP line 1177

  1. 1182raisesOnBeforeDrillDownInvtToWIPIsHandled
  2. 1186callsDrillDownInventoryReportEntryAmount

SetFiltersInvtToWIP line 1190, local

  1. 1192callsCopyFiltersFronInventoryReportLine

DrillDownInventory line 1201

  1. 1203callsDrillDownInventoryReportEntryAmount

SetFiltersInventory line 1207, local

  1. 1209callsCopyFiltersFronInventoryReportLine

DrillDownDirectCostApplied line 1216

  1. 1218callsDrillDownInventoryReportEntryAmount

SetFiltersDirectCostApplied line 1222, local

  1. 1224callsCopyFiltersFronInventoryReportLine

DrillDownOverheadApplied line 1232

  1. 1234callsDrillDownInventoryReportEntryAmount

SetFiltersOverheadApplied line 1238, local

  1. 1240callsCopyFiltersFronInventoryReportLine

DrillDownInventoryReportEntryAmount line 1250, local

  1. 1253callsDrillDownGL
  2. 1255callsDrillDownInventoryReportValueEntry

DrillDownInventoryReportValueEntry line 1258, local

  1. 1264callsSetFiltersDirectCostApplActual
  2. 1266callsSetFiltersOverheadAppliedActual
  3. 1268callsSetFiltersPurchaseVariance
  4. 1270callsSetFiltersInventoryAdjmt
  5. 1272callsSetFiltersInvtAccrualInterim
  6. 1274callsSetFiltersCOGS
  7. 1276callsSetFiltersCOGSInterim
  8. 1278callsSetFiltersWIPInventory
  9. 1280callsSetFiltersMaterialVariance
  10. 1282callsSetFiltersMaterialNonInventoryVariance
  11. 1284callsSetFiltersCapVariance
  12. 1286callsSetFiltersSubcontractedVariance
  13. 1288callsSetFiltersCapOverheadVariance
  14. 1290callsSetFiltersMfgOverheadVariance
  15. 1292callsSetFiltersInventoryInterim
  16. 1294callsSetFiltersOverheadAppliedToWIP
  17. 1296callsSetFiltersDirectCostApplToWIP
  18. 1298callsSetFiltersWIPToInvtInterim
  19. 1300callsSetFiltersInvtToWIP
  20. 1302callsSetFiltersInventory
  21. 1304callsSetFiltersDirectCostApplied
  22. 1306callsSetFiltersOverheadApplied

UpDateWindow line 1328, local

  1. 1334callsIsTimeForUpdate
  2. 1336callsOpenWindow

CheckExpectedCostPosting line 1352, local

  1. 1363writesTable 5846 Inventory Report Entry Modify

CheckIfNoDifference line 1369, local

  1. 1396raisesOnBeforeCheckIfNoDifference

CheckCostIsPostedToGL line 1401, local

  1. 1410callsValueEntryInFilteredSet
  2. 1417callsValueEntryInFilteredSet
  3. 1422writesTable 5846 Inventory Report Entry Modify

CheckValueGLCompression line 1442, local

  1. 1456writesTable 5846 Inventory Report Entry Modify

CheckGLClosingOverlaps line 1462, local

  1. 1490raisesOnCheckGLClosingOverlapsOnAfterEmptyAccountingPeriodBeforeExit
  2. 1523writesTable 5846 Inventory Report Entry Modify

CheckDeletedGLAcc line 1532, local

  1. 1542writesTable 5846 Inventory Report Entry Modify

CheckPostingDateToGLNotTheSame line 1548, local

  1. 1561callsCalcInventory
  2. 1570callsIsGLNotTheSameHandled
  3. 1573callsCalcGLAccount
  4. 1575writesTable 5813 Inventory Posting Setup Insert
  5. 1579writesTable 5846 Inventory Report Entry Modify

CheckDirectPostings line 1585, local

  1. 1590raisesOnBeforeCheckDirectPostingsIsHandled
  2. 1616writesTable 5846 Inventory Report Entry Modify

IsGLNotTheSameHandled line 1622, local

  1. 1624raisesOnBeforeIsGLNotTheSameHandledIsHandled