codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 1410 "Doc. Exch. Service Mgt."

Base Application · Microsoft.EServices.EDocument

Across versions

  1. BC23present
  2. BC241 events changed
  3. BC2517 procedures added, 15 procedures removed
  4. BC26-27unchanged
  5. BC281 procedures removed
  6. BC29unchanged
  7. BC304 procedures added

Neighbourhood 19 connected objects and pages

Codeunit 6468 "Serv. Doc. Exchange Mgt." (event subscribers, 2 links)Serv. Doc. Exchange Mgt.Codeunit 1520 "Workflow Event Handling" (event subscribers)Workflow Event HandlingCodeunit 1297 "Http Web Request Mgt." (calls, 24 links)Http Web Request Mgt.Codeunit 6224 "XML DOM Management" (calls, 8 links)XML DOM ManagementPage 1275 "Doc. Exch. Service Setup" (calls, 8 links)Doc. Exch. Service SetupTable 1275 "Doc. Exch. Service Setup" (calls, 7 links)Doc. Exch. Service SetupCodeunit 1292 "Trace" (calls, 5 links)TraceCodeunit 1411 "Doc. Exch. Links" (calls, 4 links)Codeunit 6468 "Serv. Doc. Exchange Mgt." (calls, 4 links)Serv. Doc. Exchange Mgt.Codeunit 419 "File Management" (calls, 3 links)File ManagementCodeunit 457 "Environment Information" (calls, 3 links)Environment InformationCodeunit 2200 "Azure Key Vault" (calls, 2 links)Azure Key VaultCodeunit 4100 "Temp Blob" (calls, 2 links)Codeunit 8703 "Feature Telemetry" (calls, 2 links)Feature TelemetryCodeunit 1420 "Doc. Exch. Serv.- Doc. Status" (calls)Doc. Exch. Serv.- Doc. StatusCodeunit 1421 "Doc. Exch. Serv. - Recv. Docs." (calls)Doc. Exch. Serv. - Recv. Docs.Codeunit 452 "Report Distribution Management" (calls)Codeunit 501 "OAuth2" (calls)Table 60 "Document Sending Profile" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.EServices.EDocument · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions TableData “Sales Invoice Header” = rm, TableData “Sales Cr.Memo Header” = rm

Events published

  • OnAfterIncomingDocReceivedFromDocExch(var IncomingDocument: Record "Incoming Document") Δ BC24 (integration)
  • OnGetClientId(var ClientId: Text) (integration)
  • OnGetClientSecret(var ClientSecret: Text) (integration)
  • OnBeforeSendActivateAppNotification(var IsHandled: Boolean) (integration)
  • OnBeforeSetURLsToDefault(var DocExchServiceSetup: Record "Doc. Exch. Service Setup"; Sandbox: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeVerifyPrerequisites(ShowFailure: Boolean; var Success: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeCheckDocumentStatus(DocRecRef: RecordRef; var IsHandled: Boolean) + BC25 (integration)
  • OnBeforeGetPostSalesURL(DocRecRef: RecordRef; var URL: Text) + BC25 (integration)

Event subscriptions

  • HandleVANRegisterServiceConnection subscribes to Table “Service Connection” OnRegisterServiceConnection

Procedures

  • IsSandbox(var DocExchServiceSetup: Record "Doc. Exch. Service Setup"): Boolean
  • SetURLsToDefault(var DocExchServiceSetup: Record "Doc. Exch. Service Setup")
  • SetURLsToDefault(var DocExchServiceSetup: Record "Doc. Exch. Service Setup"; Sandbox: Boolean)
  • GetAppUrl(var DocExchServiceSetup: Record "Doc. Exch. Service Setup"): Text
  • GetDefaultRedirectUrl(): Text
  • SetDefaultRedirectUrl(var DocExchServiceSetup: Record "Doc. Exch. Service Setup")
  • SendRenewTokenNotification()
  • RecallActivateAppNotification()
  • SendActivateAppNotification()
  • ActivateApp(var ActivateAppNotification: Notification)
  • RenewToken(var RenewTokenNotification: Notification)
  • RenewToken(TryRefreshToken: Boolean)
  • GetFeatureTelemetryName(): Text (internal)
  • CheckConnection()
  • SendUBLDocument(DocVariant: Variant; var TempBlob: Codeunit "Temp Blob"): Text
  • SendDocument(DocVariant: Variant; var TempBlob: Codeunit "Temp Blob"): Text
  • HasPredefinedOAuth2Params(): Boolean Δ BC25
  • GetClientId(Sandbox: Boolean): Text
  • GetClientSecretAsSecretText(Sandbox: Boolean): SecretText + BC25
  • AcquireAccessTokenByAuthorizationCode(EnabledOnly: Boolean) + BC25 Δ BC25 + BC25 − BC25 − BC25
  • AcquireAccessTokenByRefreshToken() + BC25 Δ BC25 + BC25 − BC25 − BC25
  • GetDocumentStatus(DocRecordID: RecordID; DocIdentifier: Text[50]; DocOrigIdentifier: Text[50]): Text
  • GetDocumentMetadata(DocRecordID: RecordID; DocIdentifier: Text[50]; var NewStatus: Text): Boolean
  • ReceiveDocuments(ContextRecordID: RecordID)
  • CheckCredentials()
  • CheckServiceEnabled()
  • GetServiceSetUp(var DocExchServiceSetup: Record "Doc. Exch. Service Setup")
  • GetPostSalesInvURL(): Text Δ BC25
  • GetPostSalesCrMemoURL(): Text Δ BC25
  • LogActivitySucceeded(RelatedRecordID: RecordID; ActivityDescription: Text; ActivityMessage: Text)
  • LogActivityFailed(RelatedRecordID: RecordID; ActivityDescription: Text; ActivityMessage: Text)
  • LogActivityFailedAndError(RelatedRecordID: RecordID; ActivityDescription: Text; ActivityMessage: Text)
  • EnableTraceLog(NewTraceLogEnabled: Boolean)
  • GetExternalDocURL(DocID: Text): Text
  • VerifyPrerequisites(ShowFailure: Boolean): Boolean

Plus 76 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Doc. Exch. Service Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources