Codeunit 23 Item Jnl.-Post Batch

Base Application, Microsoft.Inventory.Posting

src/Layers/W1/BaseApp/Inventory/Posting/ItemJnlPostBatch.Codeunit.al27 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 32, trigger

  1. 34raisesOnBeforeOnRun
  2. 38callsCode
  3. 41raisesOnAfterOnRun

Code line 91, local

  1. 99raisesOnBeforeCode
  2. 108raisesOnBeforeRaiseExceedLengthError
  3. 122callsOpenProgressDialog
  4. 124callsCheckItemAvailability
  5. 126callsCheckLines
  6. 130callsTable 313 Inventory Setup UseLegacyPosting
  7. 136callsTable 46 Item Register GetLastEntryNo
  8. 144raisesOnCodeOnBeforePostLines
  9. 147callsPostLines
  10. 149callsTable 313 Inventory Setup UseLegacyPosting
  11. 155raisesOnAfterCopyRegNos
  12. 163callsCodeunit 22 Item Jnl.-Post Line PostDeferredValueEntriesToGL
  13. 165callsMakeInventoryAdjustment
  14. 168raisesOnBeforeUpdateDeleteLines
  15. 171callsHandleRecurringLine
  16. 173callsHandleNonRecurringLine
  17. 174callsCodeunit 308 No. Series - Batch SaveState
  18. 178callsCodeunit 7380 Phys. Invt. Count.-Management UpdateItemSKUListPhysInvtCount
  19. 180raisesOnAfterPostJnlLines
  20. 191callsCodeunit 410 Update Analysis View UpdateAll
  21. 192callsCodeunit 7150 Update Item Analysis View UpdateAll
  22. 194raisesOnAfterUpdateAnalysisViews
  23. 196callsMoveItemJournalBatch
  24. 201raisesOnAfterCode

OpenProgressDialog line 204, local

  1. 209raisesOnBeforeOpenProgressDialogIsHandled

CheckLines line 232, local

  1. 238raisesOnBeforeCheckLines
  2. 246callsCheckRecurringLine
  3. 249raisesOnBeforeCheckJnlLineIsHandled
  4. 254callsCodeunit 21 Item Jnl.-Check Line RunCheck
  5. 259callsCheckWMSBin
  6. 264callsCheckRemainingQty
  7. 266raisesOnAfterCheckJnlLine
  8. 274callsTable 313 Inventory Setup UseLegacyPosting
  9. 275callsCodeunit 9500 Sequence No. Mgt. AllocateSeqNoBuffer
  10. 276callsCodeunit 9500 Sequence No. Mgt. AllocateSeqNoBuffer
  11. 279raisesOnAfterCheckLines

PostLines line 282, local

  1. 290raisesOnBeforePostLines
  2. 297callsTable 313 Inventory Setup UseLegacyPosting
  3. 305raisesOnBeforeValidateDocumentNoIsHandled
  4. 307callsTable 83 Item Journal Line EmptyLine
  5. 308callsCodeunit 308 No. Series - Batch GetNextNo
  6. 309callsTable 83 Item Journal Line EmptyLine
  7. 315callsMakeRecurringTexts
  8. 316callsConstructPostingNumber
  9. 319raisesOnBeforeOnPostLinesOnBeforePostLineUpdateItemTrackingIsHandled
  10. 321callsUpdateItemTracking
  11. 323raisesOnPostLinesOnBeforePostLine
  12. 326callsItemJnlPostSumLine
  13. 338raisesOnBeforePostJnlLineIsHandled
  14. 342callsCodeunit 22 Item Jnl.-Post Line RunWithCheck
  15. 343callsCodeunit 22 Item Jnl.-Post Line CheckItemTracking
  16. 345raisesOnHandleWhsePutAwayForProdOutput
  17. 348callsCodeunit 22 Item Jnl.-Post Line CollectTrackingSpecification
  18. 349raisesOnPostLinesBeforePostWhseJnlLine
  19. 350callsPostWhseJnlLine
  20. 351raisesOnPostLinesOnAfterPostWhseJnlLine
  21. 356raisesOnPostLinesOnAfterPostLine
  22. 358callsIsPhysInvtCount
  23. 360callsCodeunit 7380 Phys. Invt. Count.-Management InitTempItemSKUList
  24. 363callsCodeunit 7380 Phys. Invt. Count.-Management AddToTempItemSKUList
  25. 368raisesOnAfterPostLines

HandleRecurringLine line 371, local

  1. 377raisesOnBeforeHandleRecurringLineIsHandled
  2. 385raisesOnHandleRecurringLineOnBeforeItemJnlLine2Loop
  3. 392validatesTable 83 Item Journal Line Posting Date
  4. 400raisesOnHandleRecurringLineOnBeforeItemJnlLineModify
  5. 401writesTable 83 Item Journal Line Modify

HandleNonRecurringLine line 405, local

  1. 414raisesOnBeforeHandleNonRecurringLineIsHandled
  2. 425raisesOnHandleNonRecurringLineOnAfterCopyItemJnlLine3
  3. 426callsCodeunit 447 Record Link Management RemoveLinks
  4. 427writesTable 83 Item Journal Line DeleteAll
  5. 434raisesOnBeforeIncrBatchName
  6. 436writesTable 233 Item Journal Batch Delete
  7. 438raisesOnHandleNonRecurringLineOnBeforeSetItemJnlBatchNameIsHandled
  8. 441writesTable 233 Item Journal Batch Insert
  9. 446raisesOnHandleNonRecurringLineOnInsertNewLine
  10. 456writesTable 83 Item Journal Line Insert
  11. 457callsTable 83 Item Journal Line SetUpNewLine
  12. 458writesTable 83 Item Journal Line Modify
  13. 459raisesOnHandleNonRecurringLineOnAfterItemJnlLineModify

ConstructPostingNumber line 463, local

  1. 468raisesOnBeforeConstructPostingNumberIsHandled
  2. 475callsTable 83 Item Journal Line EmptyLine
  3. 480callsCodeunit 308 No. Series - Batch GetNextNo
  4. 484raisesOnAfterConstructPostingNumber

MakeRecurringTexts line 504, local

  1. 507callsTable 50 Accounting Period MakeRecurringTexts

ItemJnlPostSumLine line 510, local

  1. 525raisesOnBeforeItemJournalPostSumLineIsHandled
  2. 539raisesOnItemJnlPostSumLineOnAfterGetItem
  3. 565raisesOnItemJnlPostSumLineOnBeforeIncludeEntry
  4. 566callsIncludeEntryInCalc
  5. 588callsTable 32 Item Ledger Entry CalculateRemInventoryValue
  6. 598callsIncludeEntryInCalc
  7. 599callsTable 32 Item Ledger Entry CalculateRemQuantity
  8. 601raisesOnItemJnlPostSumLineOnAfterCalcThrowPostingsExistError
  9. 612callsIncludeEntryInCalc
  10. 621raisesOnItemJnlPostSumLineOnBeforeCalcAppliedAmount
  11. 630raisesOnBeforeItemJnlPostSumLine
  12. 631callsCodeunit 22 Item Jnl.-Post Line RunWithCheck
  13. 636callsIncludeEntryInCalc
  14. 645callsUpdateStdCost
  15. 648raisesOnAfterItemJnlPostSumLine

IncludeEntryInCalc line 651, local

  1. 660raisesOnAfterIncludeEntryInCalc

UpdateStdCost line 665, local

  1. 672callsUpdateItemStdCost
  2. 675callsUpdateSKUStdCost
  3. 677callsUpdateItemStdCost

UpdateItemStdCost line 680, local

  1. 685validatesTable 27 Item Standard Cost
  2. 686callsSetItemSingleLevelCosts
  3. 687callsSetItemRolledUpCosts
  4. 689writesTable 27 Item Modify

UpdateSKUStdCost line 692, local

  1. 694validatesTable 5700 Stockkeeping Unit Standard Cost
  2. 695callsSetSKUSingleLevelCosts
  3. 696callsSetSKURolledUpCosts
  4. 697raisesOnAfterUpdateStdCostSKUValidate
  5. 698writesTable 5700 Stockkeeping Unit Modify

CheckRemainingQty line 701, local

  1. 707raisesOnBeforeCheckRemainingQtyIsHandled
  2. 710callsTable 32 Item Ledger Entry CalculateRemQuantity

PostWhseJnlLine line 716

  1. 724callsTable 27 Item IsNonInventoriableType
  2. 729callsGetLocation
  3. 732raisesOnPostWhseJnlLineOnBeforeCreateWhseJnlLinesIsHandled
  4. 736callsPostWhseJnlLines
  5. 739callsGetLocation
  6. 740callsPostWhseJnlLines

PostWhseJnlLines line 744, local

  1. 752raisesOnBeforePostWhseJnlLinesIsHandled
  2. 757callsCodeunit 7302 WMS Management CreateWhseJnlLine
  3. 758callsCodeunit 6500 Item Tracking Management SplitWhseJnlLine
  4. 761callsCodeunit 7302 WMS Management CheckWhseJnlLine
  5. 763raisesOnBeforeWhseJnlPostLineRunIsHandled
  6. 765runsCodeunit 7301 Whse. Jnl.-Register Line
  7. 767raisesOnAfterPostWhseJnlLine

CheckWMSBin line 771, local

  1. 777raisesOnBeforeCheckWMSBinIsHandled
  2. 782callsTable 27 Item IsNonInventoriableType
  3. 785callsGetLocation
  4. 792callsCodeunit 7302 WMS Management CheckAdjmtBin
  5. 800callsCodeunit 7302 WMS Management CheckAdjmtBin
  6. 801callsGetLocation
  7. 803callsCodeunit 7302 WMS Management CheckAdjmtBin

GetLocation line 810, local

  1. 818raisesOnAfterGetLocation

CheckItemAvailability line 839, local

  1. 850raisesOnBeforeCheckItemAvailabilityHandledIsHandled
  2. 857callsTable 83 Item Journal Line IsNotInternalWhseMovement
  3. 859callsInsertTempSKU
  4. 860raisesOnBeforeCheckItemAvailability
  5. 865callsCalcRequiredQty
  6. 872raisesOnCheckItemAvailabilityOnAfterSetAvailableQty
  7. 875callsCodeunit 27 Confirm Management GetResponseOrDefault

InsertTempSKU line 885, local

  1. 891raisesOnBeforeInsertTempSKU
  2. 892writesTable 5700 Stockkeeping Unit Insert

UpdateItemTracking line 966, local

  1. 971raisesOnBeforeUpdateItemTrackingIsHandled
  2. 976callsTable 83 Item Journal Line CreateItemTrackingLines
  3. 977callsTable 83 Item Journal Line ClearTracking
  4. 978callsTable 83 Item Journal Line ClearDates

MakeInventoryAdjustment line 981, local

  1. 983callsCodeunit 5894 Inventory Adjustment Handler MakeAutomaticInventoryAdjustment

MoveItemJournalBatch line 986, local

  1. 991callsTable 233 Item Journal Batch OnMoveItemJournalBatch

OnBeforePostValueEntryToGL line 995, local

  1. 999callsTable 313 Inventory Setup UseLegacyPosting

OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem line 1041, local

  1. 1043callsTable 313 Inventory Setup UseLegacyPosting

RunOnBeforeSelfReservedQty line 1261, internal

  1. 1263raisesOnBeforeSelfReservedQtyIsHandled