Codeunit 85 Sales Post Batch via Job Queue

Base Application, Microsoft.Sales.Posting

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

OnRun line 22, trigger

  1. 24callsPostSalesBatch

PostSalesBatch line 36, local

  1. 53callsSetJobQueueStatus
  2. 54raisesOnPostSalesBatchOnBeforeRunSalesPost
  3. 55runsCodeunit 80 Sales-Post
  4. 56callsSetJobQueueStatus
  5. 57callsCodeunit 28 Error Message Management LogLastError
  6. 60raisesOnPostSalesBatchOnAfterRunSalesPost
  7. 61callsSetJobQueueStatus
  8. 64callsPrintSalesDocument
  9. 71callsThrowErrorMessage

EnqueueSalesBatch line 79

  1. 81callsEnqueueJobQueueEntry

EnqueueJobQueueEntry line 84, local

  1. 93callsGetJobQueueCategoryCode
  2. 94callsGetDescription
  3. 96runsCodeunit 453 Job Queue - Enqueue

SetJobQueueStatus line 99, local

  1. 104writesTable 36 Sales Header Modify

GetJobQueueCategoryCode line 109, local

  1. 118callsTable 471 Job Queue Category InsertRec

PrintSalesDocument line 134, local

  1. 140callsPrintShipmentDocument
  2. 142callsPrintInvoiceDocument
  3. 145callsPrintInvoiceDocument
  4. 147callsPrintCrMemoDocument

PrintShipmentDocument line 151, local

  1. 159callsPrintDocument

PrintInvoiceDocument line 162, local

  1. 173callsPrintDocument

PrintCrMemoDocument line 176, local

  1. 187callsPrintDocument

PrintDocument line 190, local

  1. 198raisesOnBeforePrintDocumentIsHandled
  2. 206callsCheckReportId
  3. 207callsPrintToPDF
  4. 208callsCodeunit 28 Error Message Management LogLastError
  5. 212callsCodeunit 28 Error Message Management LogLastError

PrintToPDF line 220, local

  1. 235raisesOnPrintToPDFOnBeforeReportRunIsHandled
  2. 241writesTable 477 Report Inbox Insert(true)
  3. 242raisesOnPrintToPDFOnAfterReportInboxInsert