Codeunit 6468 Serv. Doc. Exchange Mgt.

Base Application, Microsoft.EServices.EDocument

src/Layers/W1/BaseApp/Service/EServices/EDocument/ServDocExchangeMgt.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnBeforeUpdateDocumentRecord line 21, local

  1. 26callsSetServiceInvoiceDocSent
  2. 31callsSetServiceCrMemoDocSent

SetServiceInvoiceDocSent line 37, local

  1. 43validatesTable 5992 Service Invoice Header Document Exchange Identifier
  2. 45validatesTable 5992 Service Invoice Header Doc. Exch. Original Identifier
  3. 47validatesTable 5992 Service Invoice Header Document Exchange Status
  4. 48writesTable 5992 Service Invoice Header Modify(true)

SetServiceCrMemoDocSent line 51, local

  1. 57validatesTable 5994 Service Cr.Memo Header Document Exchange Identifier
  2. 59validatesTable 5994 Service Cr.Memo Header Doc. Exch. Original Identifier
  3. 61validatesTable 5994 Service Cr.Memo Header Document Exchange Status
  4. 62writesTable 5994 Service Cr.Memo Header Modify(true)

CheckAndUpdateDocExchServiceInvoiceStatus line 66, internal

  1. 70callsMapDocExchStatusToServiceInvStatus
  2. 71callsCodeunit 1410 Doc. Exch. Service Mgt. GetDocumentStatus
  3. 73validatesTable 5992 Service Invoice Header Document Exchange Status
  4. 74writesTable 5992 Service Invoice Header Modify(true)

CheckAndUpdateDocExchServiceCrMemoStatus line 79, internal

  1. 83callsMapDocExchStatusToServiceCMStatus
  2. 84callsCodeunit 1410 Doc. Exch. Service Mgt. GetDocumentStatus
  3. 86validatesTable 5994 Service Cr.Memo Header Document Exchange Status
  4. 87writesTable 5994 Service Cr.Memo Header Modify(true)

OnAfterCheckPostedDocs line 120, local

  1. 122callsCheckPostedServiceInvoices
  2. 123callsCheckPostedServiceCrMemos

CheckPostedServiceInvoices line 126, local

  1. 137callsCheckAndUpdateDocExchServiceInvoiceStatus

CheckPostedServiceCrMemos line 142, local

  1. 153callsCheckAndUpdateDocExchServiceCrMemoStatus

OnBeforeCheckAndUpdateDocExchStatus line 159, local

  1. 168callsCheckAndUpdateDocExchServiceInvoiceStatus
  2. 174callsCheckAndUpdateDocExchServiceCrMemoStatus

OnBeforeGetPostSalesURL line 220, local

  1. 224callsCodeunit 1410 Doc. Exch. Service Mgt. GetPostSalesInvURL
  2. 226callsCodeunit 1410 Doc. Exch. Service Mgt. GetPostSalesCrMemoURL

OnBeforeSetFiltersFromMainRecord line 231, local

  1. 240callsGetServiceIncomingDocumentType

OnBeforeCreateNewSalesPurchIncomingDoc line 248, local

  1. 268callsCodeunit 134 Import Attachment - Inc. Doc. CreateIncomingDocumentExtended
  2. 270writesTable 5900 Service Header Modify

OnAfterClearRelatedRecords line 307, local

  1. 316writesTable 5900 Service Header ModifyAll

SetServiceDoc line 321

  1. 326callsTable 130 Incoming Document TestReadyForProcessing
  2. 327callsTable 130 Incoming Document TestIfAlreadyExists
  3. 334writesTable 130 Incoming Document Modify
  4. 335callsTable 130 Incoming Document DocLinkExists
  5. 336callsTable 130 Incoming Document GetURL

OnAfterGetRelatedRecordCaption line 379, local

  1. 385callsTable 130 Incoming Document GetRecordCaption

GetServiceIncomingDocumentType line 424

  1. 439raisesOnGetServiceIncomingDocumentTypeIsHandled