Codeunit 7304 Whse. Jnl.-Register Batch

Base Application, Microsoft.Warehouse.Journal

src/Layers/W1/BaseApp/Warehouse/Journal/WhseJnlRegisterBatch.Codeunit.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 28, trigger

  1. 31callsCode

Code line 71, local

  1. 83raisesOnBeforeCodeIsHandled
  2. 93raisesOnCodeOnAfterWhseJnlBatchGet
  3. 109callsCheckItemAvailability
  4. 111callsCheckLines
  5. 112callsCodeunit 9500 Sequence No. Mgt. AllocateSeqNoBuffer
  6. 122raisesOnBeforeRegisterLines
  7. 127callsTable 7311 Warehouse Journal Line EmptyLine
  8. 131callsCodeunit 308 No. Series - Batch GetNextNo
  9. 132callsTable 7311 Warehouse Journal Line EmptyLine
  10. 137callsTable 7311 Warehouse Journal Line EmptyLine
  11. 142callsCodeunit 308 No. Series - Batch GetNextNo
  12. 153callsCodeunit 7302 WMS Management CalcCubageAndWeight
  13. 156callsCodeunit 6500 Item Tracking Management SplitWhseJnlLine
  14. 159raisesOnBeforeWhseJnlRegisterLineRun
  15. 160runsCodeunit 7301 Whse. Jnl.-Register Line
  16. 163callsPostItemJnlLine
  17. 165callsIsPhysInvtCount
  18. 167callsCodeunit 7380 Phys. Invt. Count.-Management InitTempItemSKUList
  19. 170callsCodeunit 7380 Phys. Invt. Count.-Management AddToTempItemSKUList
  20. 178callsUpdateDeleteLines
  21. 180callsCodeunit 308 No. Series - Batch SaveState
  22. 183callsCodeunit 7380 Phys. Invt. Count.-Management UpdateItemSKUListPhysInvtCount
  23. 185raisesOnAfterPostJnlLines
  24. 193raisesOnAfterCode

PostItemJnlLine line 196, local

  1. 202raisesOnBeforePostItemJnlLineIsHandled
  2. 206callsTable 7311 Warehouse Journal Line IsReclass
  3. 207callsCreateItemJnlLine
  4. 208callsCodeunit 22 Item Jnl.-Post Line RunWithCheck
  5. 210raisesOnAfterItemJnlPostLine

CheckLines line 213, local

  1. 220callsCodeunit 6500 Item Tracking Management InitCollectItemTrkgInformation
  2. 226raisesOnCheckLinesOnBeforeCheckWhseJnlLineIsHandled
  3. 228callsCodeunit 7302 WMS Management CheckWhseJnlLine
  4. 230callsUpdateTempBinContentBuffer
  5. 232callsUpdateTempBinContentBuffer
  6. 234callsCodeunit 6500 Item Tracking Management GetWhseItemTrkgSetup
  7. 235raisesOnCheckLinesOnAfterGetWhseItemTrkgSetup
  8. 236callsTable 6565 Item Tracking Setup TrackingRequired
  9. 240callsCreateTrackingSpecification
  10. 242raisesOnCheckWhseJnlLine
  11. 243callsTable 7311 Warehouse Journal Line CheckTrackingIfRequired
  12. 246callsCodeunit 6500 Item Tracking Management CollectItemTrkgInfWhseJnlLine
  13. 247raisesOnAfterCollectTrackingInformation
  14. 251callsCodeunit 6500 Item Tracking Management CheckItemTrkgInfBeforePost
  15. 252callsCheckIncreaseBin

UpdateDeleteLines line 256, local

  1. 262raisesOnBeforeUpdateDeleteLines
  2. 272callsCodeunit 6500 Item Tracking Management DeleteWhseItemTrkgLines
  3. 276writesTable 7311 Warehouse Journal Line DeleteAll
  4. 285callsIncreaseBatchName
  5. 294writesTable 7311 Warehouse Journal Line Insert
  6. 295callsTable 7311 Warehouse Journal Line SetUpNewLine
  7. 296writesTable 7311 Warehouse Journal Line Modify

IncreaseBatchName line 300, local

  1. 305raisesOnBeforeIncrBatchNameIsHandled
  2. 310writesTable 7310 Warehouse Journal Batch Delete
  3. 312writesTable 7310 Warehouse Journal Batch Insert

CreateTrackingSpecification line 317, local

  1. 326raisesOnBeforeCreateTrackingSpecificationIsHandled
  2. 352raisesOnCreateTrackingSpecificationOnBeforeItemTrackingMgtGetWhseItemTrkgSetup
  3. 353callsCodeunit 6500 Item Tracking Management GetWhseItemTrkgSetup
  4. 354raisesOnCreateTrackingSpecificationOnAfterItemTrackingMgtGetWhseItemTrkgSetup
  5. 355callsTable 6550 Whse. Item Tracking Line CheckTrackingIfRequired
  6. 363callsTable 7302 Bin Content SetTrackingFilterFromWhseItemTrackingLine
  7. 372raisesOnBeforeInsertTempHandlingSpecs
  8. 377raisesOnBeforeTempHandlingSpecificationInsert
  9. 378writesTable 336 Tracking Specification Insert
  10. 386callsTable 7302 Bin Content SetTrackingFilterFromTrackingSpecification
  11. 387callsTable 7302 Bin Content CheckDecreaseBinContent

UpdateTempBinContentBuffer line 392, local

  1. 401writesTable 7330 Bin Content Buffer Insert
  2. 408callsCodeunit 7302 WMS Management CalcCubageAndWeight
  3. 414writesTable 7330 Bin Content Buffer Modify

CheckIncreaseBin line 417, local

  1. 423raisesOnBeforeCheckBinIsHandled
  2. 431callsTable 7354 Bin CheckIncreaseBin

CreateItemJnlLine line 441, local

  1. 461validatesTable 83 Item Journal Line Entry Type
  2. 463callsTable 6550 Whse. Item Tracking Line HasSameNewTracking
  3. 465raisesOnCreateItemJnlLineOnAfterCalcShouldCreateReservEntry
  4. 467callsTable 337 Reservation Entry CopyTrackingFromWhseItemTrackingLine
  5. 468callsCodeunit 99000830 Create Reserv. Entry CreateReservEntryFor
  6. 471callsCodeunit 99000830 Create Reserv. Entry SetNewTrackingFromNewWhseItemTrackingLine
  7. 472callsCodeunit 99000830 Create Reserv. Entry SetDates
  8. 473callsCodeunit 99000830 Create Reserv. Entry SetNewExpirationDate
  9. 474raisesOnBeforeCreateReservEntry
  10. 475callsCodeunit 99000830 Create Reserv. Entry CreateEntry
  11. 482callsCopyFieldsFromWhseJnlLineToItemJnlLine
  12. 483raisesOnAfterCreateItemJnlLine
  13. 487raisesOnCreateItemJnlLineOnBeforeExit

CopyFieldsFromWhseJnlLineToItemJnlLine line 491

  1. 493raisesOnBeforeCopyFieldsFromWhseJnlLineToItemJnlLine
  2. 495validatesTable 83 Item Journal Line Posting Date
  3. 496validatesTable 83 Item Journal Line Item No.
  4. 497validatesTable 83 Item Journal Line Variant Code
  5. 498validatesTable 83 Item Journal Line Location Code
  6. 499validatesTable 83 Item Journal Line Unit of Measure Code
  7. 500validatesTable 83 Item Journal Line Quantity
  8. 500callsCodeunit 5402 Unit of Measure Management QtyRndPrecision

CheckItemAvailability line 518, local

  1. 531callsInsertTempSKU
  2. 533callsCalcRequiredQty
  3. 535callsCalcReservedQtyOnInventory
  4. 536callsCalcQtyOnWarehouseEntry
  5. 537raisesOnCheckItemAvailabilityOnAfterCalcQtyOnWarehouseEntry
  6. 539callsCodeunit 27 Confirm Management GetResponseOrDefault
  7. 549raisesOnAfterCheckItemAvailability

InsertTempSKU line 574, local

  1. 580writesTable 5700 Stockkeeping Unit Insert