Codeunit 1410 Doc. Exch. Service Mgt.
src/Layers/W1/BaseApp/eServices/EDocument/DocExchServiceMgt.Codeunit.al90 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
SetURLsToDefault line 157
- 162raisesOnBeforeSetURLsToDefaultIsHandled
- 179callsTable 1275 Doc. Exch. Service Setup SetDefaultRedirectUrl
GetAppUrl line 184
- 194callsIsSandbox
- 195callsGetClientId
GetDefaultRedirectUrl line 204
- 209callsCodeunit 501 OAuth2 GetDefaultRedirectUrl
SetDefaultRedirectUrl line 214
SetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn line 222, local
- 231callsPage 1276 Doc. Exch. Service Auth. SetOAuth2Properties
- 235callsPage 1276 Doc. Exch. Service Auth. GetAuthCodeAsSecretText
- 236callsPage 1276 Doc. Exch. Service Auth. GetAuthError
AcquireAccessTokenByAuthorizationCode line 239, local
- 248callsGetGUID
- 249callsUrlEncode
- 249callsUrlEncode
- 249callsUrlEncode
- 249callsUrlEncode
- 250callsSetPropertiesBasedOnAuthRequestUrlAndRunOAuth2ControlAddIn
- 259callsGetDefaultRedirectUrl
- 260callsUrlEncode
- 260callsUrlEncode
- 260callsUrlEncode
- 260callsUrlEncode
- 261callsTryAcquireAccessToken
AcquireAccessTokenByRefreshToken line 278, local
- 287callsGetServiceSetUp
- 288callsTable 1275 Doc. Exch. Service Setup GetRefreshTokenAsSecretText
- 294callsUrlEncode
- 294callsUrlEncode
- 294callsUrlEncode
- 294callsUrlEncode
- 295callsTryAcquireAccessToken
TryAcquireAccessToken line 314, local
- 327callsCodeunit 4100 Temp Blob CreateOutStream
- 330callsCodeunit 1297 Http Web Request Mgt. Initialize
- 331callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 332callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 333callsCodeunit 1297 Http Web Request Mgt. SetContentType
- 334callsCodeunit 1297 Http Web Request Mgt. SetContentLength
- 334callsCodeunit 4100 Temp Blob Length
- 335callsCodeunit 1297 Http Web Request Mgt. SetUserAgent
- 335callsGetUserAgent
- 336callsCodeunit 1297 Http Web Request Mgt. SetReturnType
- 337callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 338callsCodeunit 1297 Http Web Request Mgt. AddBasicAuthentication
- 339callsCodeunit 1297 Http Web Request Mgt. AddBodyBlob
- 341callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse
- 348callsParseTokenResponse
ParseTokenResponse line 375, local
MarkTokenAsExpired line 436, local
- 440callsGetServiceSetUp
- 442writesTable 1275 Doc. Exch. Service Setup Modify
SendRenewTokenNotification line 446
RecallActivateAppNotification line 459
SendActivateAppNotification line 468
- 477raisesOnBeforeSendActivateAppNotificationIsHandled
- 487callsIsSandbox
- 488callsGetClientId
- 492callsGetActivateAppNotificationId
- 496callsGetAppUrl
RenewToken line 518
- 526callsTryAcquireAccessTokenByRefreshToken
- 527callsSaveTokens
- 528callsTryCheckConnection
- 532callsAcquireAccessTokenByAuthorizationCode
- 533callsTryCheckConnection
- 536callsGetServiceSetUp
- 538callsLogActivitySucceeded
- 543callsLogActivityFailedAndError
TryCheckConnection line 572, local
- 576callsVerifyPrerequisites
- 578callsGetServiceSetUp
- 579callsExecuteWebServiceGetRequest
- 579callsGetCheckConnectionURL
CheckConnection line 583
- 587callsVerifyPrerequisites
- 589callsGetServiceSetUp
- 590callsExecuteWebServiceGetRequest
- 590callsGetCheckConnectionURL
- 591callsLogActivityFailedAndError
- 593callsLogActivitySucceeded
- 599callsCodeunit 1292 Trace LogStreamToTempFile
SendUBLDocument line 603
- 608callsCheckServiceEnabled
- 609callsCodeunit 8703 Feature Telemetry LogUptake
- 610callsCodeunit 8703 Feature Telemetry LogUsage
- 614callsCheckDocumentStatus
- 616callsExecuteWebServicePostRequest
- 616callsGetPostSalesURL
- 617callsLogActivityFailedAndError
- 619callsLogActivitySucceeded
- 621callsCodeunit 1411 Doc. Exch. Links UpdateDocumentRecord
- 623callsLogTelemetryDocumentSent
SendDocument line 632
- 637callsCheckServiceEnabled
- 639callsGetGUID
- 642callsCheckDocumentStatus
- 644callsPutDocument
- 645callsDispatchDocument
- 647callsLogTelemetryDocumentSent
HasPredefinedOAuth2Params line 656
GetClientId line 670
GetPredefinedClientId line 682, local
- 692callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 693callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 699raisesOnGetClientId
GetClientSecretAsSecretText line 705
- 710callsGetPredefinedClientSecret
- 713callsTable 1275 Doc. Exch. Service Setup GetClientSecretAsSecretText
GetPredefinedClientSecret line 717, local
- 730callsCodeunit 457 Environment Information IsSaaSInfrastructure
- 731callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 737raisesOnGetClientSecret
VerifyIdToken line 745, local
- 757callsTryGetSecurityToken
- 763callsGetServiceSetUp
- 765callsIsSandbox
- 766callsGetClientId
ParseIdToken line 782, local
- 788callsTryParseIdToken
SaveTokens line 826, local
- 833callsGetServiceSetUp
- 834callsTable 1275 Doc. Exch. Service Setup SetAccessToken
- 835callsTable 1275 Doc. Exch. Service Setup SetRefreshToken
- 837callsParseIdToken
- 847writesTable 1275 Doc. Exch. Service Setup Modify
AcquireAccessTokenByAuthorizationCode line 851
- 858callsVerifyIdToken
- 859callsSaveTokens
AcquireAccessTokenByAuthorizationCode line 862, local
- 875callsGetOAuth2Params
AcquireAccessTokenByRefreshToken line 880
- 886callsSaveTokens
AcquireAccessTokenByRefreshToken line 895, local
- 903callsGetOAuth2Params
GetOAuth2Params line 907, local
- 912callsGetServiceSetUp
- 914callsCheckServiceEnabled
- 933callsIsSandbox
- 935callsGetClientId
- 938callsGetMissingClientIdOrSecretErr
- 941callsGetClientSecretAsSecretText
- 944callsGetMissingClientIdOrSecretErr
GetMissingClientIdOrSecretErr line 948, local
- 950callsCodeunit 457 Environment Information IsSaaSInfrastructure
PutDocument line 956, local
- 960callsExecuteWebServicePutRequest
- 960callsGetPUTDocURL
- 961callsLogActivityFailedAndError
- 966callsLogActivityFailedAndError
- 968callsLogActivitySucceeded
- 971callsCodeunit 1292 Trace LogStreamToTempFile
DispatchDocument line 974, local
- 981callsExecuteWebServicePostRequest
- 981callsGetDispatchDocURL
- 982callsLogActivityFailedAndError
- 987callsCodeunit 1411 Doc. Exch. Links UpdateDocumentRecord
- 988callsLogActivityFailedAndError
- 992callsCodeunit 1292 Trace LogStreamToTempFile
- 994callsGetDocumentIDKey
- 996callsLogActivityFailedAndError
- 997callsCodeunit 1411 Doc. Exch. Links UpdateDocumentRecord
- 999callsLogActivitySucceeded
GetDocumentStatus line 1003
GetDocDispatchErrors line 1023, local
- 1027callsCheckServiceEnabled
- 1029callsExecuteWebServiceGetRequest
- 1029callsGetDispatchErrorsURL
- 1030callsLogActivityFailed
- 1034callsCodeunit 1297 Http Web Request Mgt. TryLoadXMLResponse
- 1035callsLogActivityFailed
- 1039callsCodeunit 6224 XML DOM Management FindNodeTextWithNamespace
- 1039callsGetErrorXPath
- 1040callsGetPrefix
- 1040callsGetApiNamespace
- 1042callsLogActivitySucceeded
- 1045callsCodeunit 1292 Trace LogStreamToTempFile
GetDocumentMetadata line 1051
- 1055callsCheckServiceEnabled
- 1058callsExecuteWebServiceGetRequest
- 1058callsGetDocStatusURL
- 1059callsLogActivityFailed
- 1063callsCodeunit 1297 Http Web Request Mgt. TryLoadXMLResponse
- 1064callsLogActivityFailed
- 1069callsCodeunit 1292 Trace LogStreamToTempFile
- 1071callsCodeunit 6224 XML DOM Management FindNodeTextWithNamespace
- 1071callsGetStatusXPath
- 1071callsGetPrefix
- 1071callsGetPublicNamespace
- 1072callsLogActivitySucceeded
ReceiveDocuments line 1077
- 1081callsCheckServiceEnabled
- 1083callsExecuteWebServiceGetRequest
- 1083callsGetRetrieveDocsURL
- 1084callsLogActivityFailedAndError
- 1086callsCodeunit 1297 Http Web Request Mgt. TryLoadXMLResponse
- 1087callsLogActivityFailedAndError
- 1089callsProcessReceivedDocs
ProcessReceivedDocs line 1092, local
- 1104callsCodeunit 6224 XML DOM Management FindNodeTextWithNamespace
- 1104callsGetDocumentIDXPath
- 1105callsGetPrefix
- 1105callsGetPublicNamespace
- 1108callsLogActivityFailedAndError
- 1109callsTryGetDocumentDescription
- 1112callsGetOriginalDocument
- 1113callsCreateIncomingDocEntry
- 1115callsMarkDocBusinessProcessed
- 1116writesTable 130 Incoming Document Delete
- 1117callsLogActivityFailed
- 1119callsLogActivitySucceeded
- 1123callsLogTelemetryDocumentReceived
- 1124raisesOnAfterIncomingDocReceivedFromDocExch
GetOriginalDocument line 1128, local
GetDocument line 1137, local
MarkDocBusinessProcessed line 1146, local
CreateIncomingDocEntry line 1154, local
- 1160callsCodeunit 1297 Http Web Request Mgt. TryLoadXMLResponse
- 1161callsLogActivityFailedAndError
- 1163callsTable 130 Incoming Document CreateIncomingDocument
- 1164callsGetExternalDocURL
- 1167callsTable 130 Incoming Document AddAttachmentFromStream
- 1168callsProcessAttachments
ProcessAttachments line 1171, local
- 1176callsCodeunit 6224 XML DOM Management FindNodesWithNamespace
- 1176callsGetEmbeddedDocXPath
- 1176callsGetPrefix
- 1176callsGetCBCNamespace
- 1179callsExtractAdditionalAttachment
ExtractAdditionalAttachment line 1182, local
- 1190callsCodeunit 6224 XML DOM Management GetAttributeValue
- 1191callsCodeunit 419 File Management ServerTempFileName
- 1191callsCodeunit 419 File Management GetExtension
- 1192callsCodeunit 419 File Management IsAllowedPath
- 1194callsTable 130 Incoming Document AddAttachmentFromServerFile
Initialize line 1197, local
- 1202callsCheckCredentials
- 1203callsGetServiceSetUp
- 1204callsTable 1275 Doc. Exch. Service Setup GetAccessTokenAsSecretText
- 1211callsCodeunit 1297 Http Web Request Mgt. Initialize
- 1212callsCodeunit 1297 Http Web Request Mgt. SetMethod
- 1213callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 1215callsSetDefaults
SetDefaults line 1218, local
- 1222callsCodeunit 1297 Http Web Request Mgt. SetContentType
- 1223callsCodeunit 1297 Http Web Request Mgt. SetReturnType
- 1224callsCodeunit 1297 Http Web Request Mgt. SetUserAgent
- 1224callsGetUserAgent
- 1225callsCodeunit 1297 Http Web Request Mgt. AddHeader
- 1226callsCodeunit 1297 Http Web Request Mgt. AddBodyBlob
- 1229callsGetServiceSetUp
- 1231callsCodeunit 1297 Http Web Request Mgt. SetTraceLogEnabled
CheckCredentials line 1234
ExecuteWebServiceRequest line 1265, local
- 1270callsInitialize
- 1277callsAcquireAccessTokenByRefreshToken
- 1278callsInitialize
- 1286callsGetServiceSetUp
- 1287callsLogActivityFailed
- 1288callsMarkTokenAsExpired
- 1289callsSendRenewTokenNotification
ExecuteWebServiceRequest line 1294, local
- 1302callsCodeunit 4100 Temp Blob CreateInStream
- 1305callsCodeunit 1297 Http Web Request Mgt. DisableUI
- 1307callsCodeunit 1297 Http Web Request Mgt. GetResponse
- 1308callsCodeunit 1297 Http Web Request Mgt. ProcessFaultXMLResponse
- 1308callsGetErrorXPath
- 1308callsGetPrefix
- 1308callsGetApiNamespace
CheckDocumentStatus line 1342, local
- 1349raisesOnBeforeCheckDocumentStatusIsHandled
GetCheckConnectionURL line 1403, local
- 1405callsGetFullURL
GetPostSalesURL line 1408, local
GetPostSalesInvURL line 1424
- 1427callsGetFullURL
- 1427callsGetGUID
GetPostSalesCrMemoURL line 1430
- 1433callsGetFullURL
- 1433callsGetGUID
GetDocStatusURL line 1436, local
- 1438callsGetFullURL
GetPUTDocURL line 1441, local
- 1443callsGetFullURL
GetDispatchDocURL line 1446, local
- 1448callsGetFullURL
GetDispatchErrorsURL line 1451, local
- 1453callsGetFullURL
GetRetrieveDocsURL line 1456, local
- 1458callsGetFullURL
- 1458callsGetChunckSize
GetRetrieveDocIDURL line 1461, local
- 1463callsGetFullURL
GetRetrieveOriginalDocIDURL line 1466, local
- 1468callsGetFullURL
GetSetTagURL line 1471, local
- 1473callsGetFullURL
TryGetDocumentDescription line 1559, local
- 1567callsCodeunit 6224 XML DOM Management FindNodeWithNamespace
- 1567callsGetDocumentTypeXPath
- 1567callsGetPrefix
- 1568callsGetPublicNamespace
- 1569callsMapDocumentType
- 1569callsCodeunit 6224 XML DOM Management GetAttributeValue
- 1570callsCodeunit 6224 XML DOM Management FindNodeTextWithNamespace
- 1570callsGetDocumentIDForDescriptionXPath
- 1571callsGetPrefix
- 1571callsGetPublicNamespace
LogActivitySucceeded line 1589
- 1593callsTable 710 Activity Log LogActivity
LogActivityFailed line 1597
LogActivityFailedAndError line 1605
LogActivityFailedCommon line 1612, local
- 1619callsTable 710 Activity Log LogActivity
- 1623callsTable 710 Activity Log SetDetailedInfoFromStream
HandleVANRegisterServiceConnection line 1634
- 1641writesTable 1275 Doc. Exch. Service Setup Insert
- 1651callsTable 1400 Service Connection InsertServiceConnection
GetExternalDocURL line 1671
- 1676callsGetFullURL
VerifyPrerequisites line 1682
- 1690raisesOnBeforeVerifyPrerequisitesIsHandled