Codeunit 5747 Purch. Whse. Post Shipment

Base Application, Microsoft.Warehouse.Posting

src/Layers/W1/BaseApp/Purchases/PurchWhsePostShipment.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnInitSourceDocumentHeader line 34, local

  1. 48raisesOnInitSourceDocumentHeaderOnBeforePurchaseHeaderUpdatePostingDateIsHandled
  2. 53raisesOnInitSourceDocumentHeaderOnBeforeReopenPurchHeader
  3. 54callsCodeunit 415 Release Purchase Document SetSkipWhseRequestOperations
  4. 55callsCodeunit 415 Release Purchase Document Reopen
  5. 56callsCodeunit 415 Release Purchase Document SetSkipCheckReleaseRestrictions
  6. 57callsTable 38 Purchase Header SetHideValidationDialog
  7. 58callsTable 38 Purchase Header SetCalledFromWhseDoc
  8. 59validatesTable 38 Purchase Header Posting Date
  9. 60runsCodeunit 415 Release Purchase Document
  10. 79raisesOnInitSourceDocumentHeaderOnBeforePurchHeaderModify
  11. 81writesTable 38 Purchase Header Modify

OnAfterInitSourceDocumentLines line 87, local

  1. 96callsHandlePurchaseLine

HandlePurchaseLine line 101, local

  1. 109raisesOnBeforeHandlePurchaseLineIsHandled
  2. 119raisesOnAfterFindWhseShptLineForPurchLine
  3. 123validatesTable 39 Purchase Line Qty. to Receive
  4. 124raisesOnHandlePurchaseLineOnAfterValidateQtytoReceive
  5. 126validatesTable 39 Purchase Line Qty. to Invoice
  6. 134validatesTable 39 Purchase Line Return Qty. to Ship
  7. 135raisesOnHandlePurchaseLineOnAfterValidateRetQtytoShip
  8. 137validatesTable 39 Purchase Line Qty. to Invoice
  9. 147raisesOnHandlePurchLineOnAfterCalcShouldModifyExpectedReceiptDate
  10. 158callsUpdateAllNonInventoryLines
  11. 159callsUpdateAttachedLine
  12. 160callsClearPurchLineQtyToShipReceive
  13. 161raisesOnBeforePurchLineModify
  14. 163writesTable 39 Purchase Line Modify
  15. 166raisesOnAfterHandlePurchaseLine

ClearPurchLineQtyToShipReceive line 169, local

  1. 175raisesOnHandlePurchLineOnNonWhseLineOnAfterCalcModifyLine
  2. 179validatesTable 39 Purchase Line Qty. to Receive
  3. 181validatesTable 39 Purchase Line Return Qty. to Ship
  4. 182validatesTable 39 Purchase Line Qty. to Invoice

UpdateAttachedLine line 186, local

  1. 225validatesTable 39 Purchase Line Qty. to Receive
  2. 229validatesTable 39 Purchase Line Return Qty. to Ship

UpdateAllNonInventoryLines line 235, local

  1. 239callsTable 39 Purchase Line IsInventoriableItem
  2. 249validatesTable 39 Purchase Line Qty. to Receive
  3. 253validatesTable 39 Purchase Line Return Qty. to Ship

OnPostSourceDocument line 260, local

  1. 279callsCodeunit 90 Purch.-Post SetWhseShptHeader
  2. 280callsCodeunit 90 Purch.-Post SetPreviewMode
  3. 281callsCodeunit 90 Purch.-Post SetSuppressCommit
  4. 282callsCodeunit 90 Purch.-Post SetCalledBy
  5. 284raisesOnPostSourceDocumentOnBeforePostPurchHeaderIsHandled
  6. 287callsPostSourcePurchDocument
  7. 292callsTryPostSourcePurchDocument
  8. 294callsPostSourcePurchDocument
  9. 301raisesOnPostSourceDocumentOnBeforePrintPurchReturnShipmentIsHandled
  10. 303callsInsertDocumentEntryToPrint
  11. 307raisesOnPostSourceDocumentOnBeforePrintPurchCreditMemoIsHandled
  12. 309callsInsertDocumentEntryToPrint
  13. 314raisesOnAfterPurchPost

InsertDocumentEntryToPrint line 320, local

  1. 326writesTable 265 Document Entry Insert

TryPostSourcePurchDocument line 329, local

  1. 335raisesOnBeforeTryPostSourcePurchDocumentIsHandled
  2. 337runsCodeunit 90 Purch.-Post
  3. 342raisesOnAfterTryPostSourcePurchDocument

PostSourcePurchDocument line 345, local

  1. 347raisesOnBeforePostSourcePurchDocument
  2. 349callsCodeunit 90 Purch.-Post RunWithCheck
  3. 352raisesOnAfterPostSourcePurchDocument

OnPrintDocuments line 356, local

  1. 358callsPrintDocuments

PrintDocuments line 361, local

  1. 375callsTable 124 Purch. Cr. Memo Hdr. PrintRecords
  2. 387callsTable 6650 Return Shipment Header PrintRecords