Codeunit 5763 Whse.-Post Shipment

Base Application, Microsoft.Warehouse.Document

src/Layers/W1/BaseApp/Warehouse/Document/WhsePostShipment.Codeunit.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 31, trigger

  1. 35callsCodeunit 9500 Sequence No. Mgt. SetPreviewMode
  2. 36raisesOnBeforeRun
  3. 39callsCode
  4. 42raisesOnAfterRun

Code line 83, local

  1. 91callsCodeunit 9500 Sequence No. Mgt. SetPreviewMode
  2. 95raisesOnBeforeCheckWhseShptLinesIsHandled
  3. 102callsTable 5740 Transfer Header ShouldPostReceiptWithShipment
  4. 106raisesOnRunOnAfterWhseShptLineSetFilters
  5. 110callsCheckShippingAdviceComplete
  6. 113callsCheckDocumentStatus
  7. 114callsGetLocation
  8. 116callsCheckItemTrkgPicked
  9. 119raisesOnCodeOnBeforeTestBinCodeIsHandled
  10. 125raisesOnCodeOnBeforeCheckFullATOPostedIsHandled
  11. 127callsTable 7321 Warehouse Shipment Line FullATOPosted
  12. 131raisesOnAfterCheckWhseShptLine
  13. 134callsCodeunit 9070 Document Errors Mgt. GetNothingToPostErrorMsg
  14. 139callsGetLocation
  15. 141raisesOnCodeOnAfterGetWhseShptHeader
  16. 143raisesOnAfterCheckWhseShptLines
  17. 147callsCodeunit 310 No. Series GetNextNo
  18. 154writesTable 7320 Warehouse Shipment Header Modify
  19. 155raisesOnCodeOnAfterWhseShptHeaderModify
  20. 158raisesOnAfterSetCurrentKeyForWhseShptLine
  21. 161callsTable 7321 Warehouse Shipment Line SetSourceFilter
  22. 163raisesOnAfterSetSourceFilterForWhseShptLineIsHandled
  23. 165callsGetSourceDocument
  24. 166callsMakePreliminaryChecks
  25. 168callsInitSourceDocumentLines
  26. 169callsInitSourceDocumentHeader
  27. 175raisesOnBeforePostSourceHeader
  28. 176callsPostSourceDocument
  29. 183raisesOnAfterReleaseSourceForFilterWhseShptLine
  30. 187callsCodeunit 19 Gen. Jnl.-Post Preview ThrowError
  31. 190raisesOnAfterPostWhseShipmentIsHandled
  32. 194callsPrintDocuments

CheckDocumentStatus line 203, local

  1. 208raisesOnBeforeCheckDocumentStatusIsHandled

GetSourceDocument line 216, local

  1. 218raisesOnGetSourceDocumentOnElseCase
  2. 220raisesOnAfterGetSourceDocument

MakePreliminaryChecks line 223, local

  1. 227callsCodeunit 11 Gen. Jnl.-Check Line DateNotAllowed

InitSourceDocumentHeader line 231, local

  1. 233raisesOnBeforeInitSourceDocumentHeader
  2. 235raisesOnInitSourceDocumentHeader
  3. 237raisesOnAfterInitSourceDocumentHeader

InitSourceDocumentLines line 240, local

  1. 246raisesOnAfterInitSourceDocumentLines

PostSourceDocument line 251, local

  1. 256raisesOnPostSourceDocumentAfterGetWhseShptHeader
  2. 258raisesOnPostSourceDocument
  3. 260raisesOnAfterPostSourceDocument

SetPrint line 263

  1. 267raisesOnAfterSetPrint

PrintDocuments line 275, local

  1. 279raisesOnPrintDocuments

PostUpdateWhseDocuments line 282

  1. 287raisesOnBeforePostUpdateWhseDocuments
  2. 292raisesOnBeforeDeleteUpdateWhseShptLine
  3. 294callsCodeunit 6500 Item Tracking Management SetDeleteReservationEntries
  4. 295callsCodeunit 6500 Item Tracking Management DeleteWhseItemTrkgLines
  5. 297writesTable 7321 Warehouse Shipment Line Delete
  6. 298raisesOnPostUpdateWhseDocumentsOnAfterWhseShptLine2Delete
  7. 300callsUpdateWhseShptLine
  8. 302writesTable 7321 Warehouse Shipment Line DeleteAll
  9. 304raisesOnPostUpdateWhseDocumentsOnAfterWhseShptLineBufLoop
  10. 307raisesOnPostUpdateWhseDocumentsOnBeforeUpdateWhseShptHeader
  11. 310raisesOnPostUpdateWhseDocumentsOnAfterWhseShptLineSetFilters
  12. 312callsTable 7320 Warehouse Shipment Header DeleteRelatedLines
  13. 313writesTable 7320 Warehouse Shipment Header Delete
  14. 315callsTable 7320 Warehouse Shipment Header GetShipmentStatus
  15. 321raisesOnPostUpdateWhseDocumentsOnBeforeWhseShptHeaderParamModify
  16. 322writesTable 7320 Warehouse Shipment Header Modify
  17. 325raisesOnAfterPostUpdateWhseDocuments

UpdateWhseShptLine line 328, local

  1. 333raisesOnBeforePostUpdateWhseShptLineIsHandled
  2. 337validatesTable 7321 Warehouse Shipment Line Qty. Shipped
  3. 339validatesTable 7321 Warehouse Shipment Line Qty. Outstanding
  4. 341callsTable 7321 Warehouse Shipment Line GetShipmentLineStatus
  5. 342raisesOnBeforePostUpdateWhseShptLineModify
  6. 343writesTable 7321 Warehouse Shipment Line Modify
  7. 344raisesOnAfterPostUpdateWhseShptLine

GetResultMessage line 347

  1. 358raisesOnGetResultMessageOnBeforeShowMessageIsHandled

CreatePostedShptHeader line 368

  1. 403raisesOnBeforePostedWhseShptHeaderInsert
  2. 404writesTable 7322 Posted Whse. Shipment Header Insert
  3. 405callsCodeunit 447 Record Link Management CopyLinks
  4. 406raisesOnAfterPostedWhseShptHeaderInsert
  5. 417writesTable 5770 Warehouse Comment Line Insert
  6. 420raisesOnAfterCreatePostedShptHeader

CreatePostedShptLine line 423

  1. 425callsUpdateWhseShptLineBuf
  2. 429raisesOnAfterInitPostedShptLine
  3. 455raisesOnCreatePostedShptLineOnBeforePostedWhseShptLineInsert
  4. 456writesTable 7323 Posted Whse. Shipment Line Insert
  5. 458raisesOnCreatePostedShptLineOnBeforePostWhseJnlLine
  6. 459callsPostWhseJnlLine
  7. 460raisesOnAfterPostWhseJnlLine

UpdateWhseShptLineBuf line 463, local

  1. 470writesTable 7321 Warehouse Shipment Line Insert

PostWhseJnlLine line 474, local

  1. 481raisesOnBeforePostWhseJnlLineIsHandled
  2. 485callsGetLocation
  3. 487callsCreateWhseJnlLine
  4. 488callsCheckWhseJnlLine
  5. 489raisesOnBeforeRegisterWhseJnlLines
  6. 490callsCodeunit 6500 Item Tracking Management SplitWhseJnlLine
  7. 491raisesOnPostWhseJnlLineOnAfterSplitWhseJnlLine
  8. 494runsCodeunit 7301 Whse. Jnl.-Register Line
  9. 498raisesOnAfterPostWhseJnlLines

CheckWhseJnlLine line 501, local

  1. 506raisesOnBeforeCheckWhseJnlLineIsHandled
  2. 510callsCodeunit 7302 WMS Management CheckWhseJnlLine

CreateWhseJnlLine line 513

  1. 530callsTable 7311 Warehouse Journal Line SetSource
  2. 534callsTable 7311 Warehouse Journal Line SetWhseDocument
  3. 536callsGetItemUnitOfMeasure2
  4. 570raisesOnCreateWhseJnlLineOnSetSourceCode
  5. 573raisesOnAfterCreateWhseJnlLine

CheckItemTrkgPicked line 594, local

  1. 605raisesOnCheckItemTrkgPickedOnBeforeGetWhseItemTrkgSetupIsHandled
  2. 609callsCodeunit 6500 Item Tracking Management GetWhseItemTrkgSetup
  3. 612callsTable 337 Reservation Entry SetSourceFilter
  4. 616callsTable 337 Reservation Entry TrackingExists
  5. 618callsTable 6550 Whse. Item Tracking Line SetTrackingKey
  6. 619callsTable 6550 Whse. Item Tracking Line SetTrackingFilterFromReservEntry
  7. 620callsTable 6550 Whse. Item Tracking Line SetSourceFilter

CheckShippingAdviceComplete line 632, local

  1. 638raisesOnBeforeCheckShippingAdviceCompleteIsHandled