Codeunit 102 Import Consolidation from API
src/Layers/W1/BaseApp/Finance/Consolidation/ImportConsolidationFromAPI.Codeunit.al38 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
GetPrivacyConsentChoice line 79, internal
- 87callsPage 109 Privacy Statement GetConsentState
AcquireTokenAndStoreInIsolatedStorage line 95, internal
- 100callsSetAPIParameters
- 101callsIsolatedStorageKey
- 102callsGetToken
- 102callsCurrentAuthorityUrl
- 103callsGetTokenLength
IsStoredTokenValidForBusinessUnit line 115, internal
- 121callsIsolatedStorageKey
- 121callsGuidToText
- 125callsHttpGetText
- 125callsTestEndpointForBusinessUnit
GetCurrencyFactorFromBusinessUnit line 143, internal
- 152callsSetAPIParameters
- 153callsIsStoredTokenValidForBusinessUnit
- 154callsAcquireTokenAndStoreInIsolatedStorage
- 157callsFormatDateForAPICall
- 158callsHttpGetTextWithStatusHandling
- 158callsAPIV2RootEndpointForBusinessUnit
- 159callsParseCount
- 162callsParseDataSingle
SelectCompanyForBusinessUnit line 172, internal
- 180callsAcquireTokenAndStoreInIsolatedStorage
- 181callsHttpGet
- 181callsCompaniesEndpointForBusinessUnit
- 188writesTable 2000000006 Company Insert
- 190callsPage 244 Company Selector SetCompanies
- 195callsPage 244 Company Selector GetSelectedCompany
- 200validatesTable 220 Business Unit External Company Name
- 201callsSetBusinessUnitAPIBaseUrl
- 202callsVerifySubsidiaryConsent
- 209callsCodeunit 8703 Feature Telemetry LogUptake
- 209callsGetFeatureTelemetryName
- 210callsTable 1833 Consolidation Setup GetTelemetryCategory
SetBusinessUnitAPIBaseUrl line 213, local
- 215callsCompaniesEndpointForBusinessUnit
- 215callsGuidToText
GetAADTenantIdFromBCUrl line 218, internal
- 223callsCodeunit 3960 Regex Match
- 225callsTable 3965 Matches ReadValue
ValidateBCUrl line 228, internal
- 234callsGetAADTenantIdFromBCUrl
- 237callsIsPPE
TestEndpointForBusinessUnit line 257, local
GetToken line 278, local
- 292callsIsPPE
- 293callsTable 1833 Consolidation Setup GetTelemetryCategory
- 294callsCodeunit 457 Environment Information IsSaaS
- 295callsTable 1833 Consolidation Setup GetTelemetryCategory
- 298callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 299callsTable 1833 Consolidation Setup GetTelemetryCategory
- 307callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 308callsTable 1833 Consolidation Setup GetTelemetryCategory
- 312callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
- 313callsTable 1833 Consolidation Setup GetTelemetryCategory
- 316callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultCertificate
- 317callsTable 1833 Consolidation Setup GetTelemetryCategory
- 323callsCodeunit 501 OAuth2 AcquireAuthorizationCodeTokenFromCache
- 326callsCodeunit 501 OAuth2 AcquireTokensByAuthorizationCode
- 329callsCodeunit 501 OAuth2 AcquireAuthorizationCodeTokenFromCacheWithCertificate
- 332callsCodeunit 501 OAuth2 AcquireTokensByAuthorizationCodeWithCertificate
HttpGetTextWithTokenInIsolatedStorage line 337, local
- 343callsIsolatedStorageKey
- 346callsHttpGetText
- 348callsTable 1833 Consolidation Setup GetTelemetryCategory
- 349callsAcquireTokenAndStoreInIsolatedStorage
- 351callsHttpGetText
- 353callsTable 1833 Consolidation Setup GetTelemetryCategory
HttpGetText line 358, local
LogRequestIfLoggingEnabled line 379, local
- 388writesTable 1834 Consolidation Log Entry Insert
- 391writesTable 1834 Consolidation Log Entry Modify
- 395writesTable 1834 Consolidation Log Entry Modify
HttpGetTextWithStatusHandling line 399, local
ImportConsolidationDataForBusinessUnit line 426
- 438callsTable 1833 Consolidation Setup GetOrCreateWithDefaults
- 439callsTable 141 Bus. Unit Consolidation Data GetConsolidate
- 446callsTable 1833 Consolidation Setup GetTelemetryCategory
- 447callsSetAPIParameters
- 448callsSetBusinessUnitAPIBaseUrl
- 454callsCodeunit 432 Consolidate SetDocNo
- 456callsCodeunit 432 Consolidate SetGenJnlBatch
- 461callsCodeunit 432 Consolidate SetSelectedDim
- 464callsVerifySubsidiaryConsent
- 471callsGetAndSetPostingGLAccounts
- 472callsGetAndSetGLEntriesForGLAccountsToConsolidate
- 474callsGetAndSetCurrencyExchangeRates
- 476callsCodeunit 432 Consolidate SetGlobals
- 477callsCodeunit 432 Consolidate UpdateGLEntryDimSetID
- 478callsTable 141 Bus. Unit Consolidation Data SetConsolidate
VerifySubsidiaryConsent line 488, local
- 492callsGetGLSetup
GetAndSetCurrencyExchangeRates line 502, local
- 536callsGetCurrencyExchangeRates
- 547callsCodeunit 432 Consolidate InsertExchRate
GetAndSetGLEntriesForGLAccountsToConsolidate line 552, local
- 566callsFormatDateForAPICall
- 566callsFormatDateForAPICall
- 568callsFormatDateForAPICall
- 568callsFormatDateForAPICall
- 570callsCodeunit 432 Consolidate GetGLAccounts
- 579callsGLAccountToFilter
- 582callsGetAndSetGLEntries
- 589callsGetAndSetGLEntries
GetAndSetGLEntries line 592, local
- 605callsGetGLEntries
- 611callsGetDimensionsFromOtherCompanyMatchingSelected
- 628callsCodeunit 432 Consolidate InsertGLEntry
- 648callsCodeunit 432 Consolidate InsertEntryDim
GetDimensionsFromOtherCompanyMatchingSelected line 653, local
- 657callsGetDimensionsRequestFilter
- 658callsGetDimensionsFromOtherCompany
- 659callsGetDimensionsRequestFilter
- 660callsGetDimensionsFromOtherCompany
GetDimensionsFromOtherCompany line 680, local
- 686callsGetDimensions
- 691writesTable 348 Dimension Insert
GLAccountToFilter line 701, local
- 707callsCodeunit 10 Type Helper UrlEncode
GetAndSetPostingGLAccounts line 711, local
- 722callsGetAccountingPeriods
- 725writesTable 50 Accounting Period Insert
- 730callsGetPostingGLAccounts
- 734callsCheckNoPostingsAtClosingDates
- 736callsCodeunit 10 Type Helper GetOptionNo
- 741callsCodeunit 432 Consolidate InsertGLAccount
CheckNoPostingsAtClosingDates line 745, local
GetGLSetup line 760, local
- 765raisesOnBeforeGetGLSetupIsHandled
- 767callsParseDataSingle
- 768callsHttpGetSingle
GetCurrencyExchangeRates line 771, local
GetDimensions line 793, local
- 798raisesOnBeforeGetDimensionsIsHandled
- 800callsParseData
- 801callsHttpGet
GetGLEntriesCountAtDate line 804, local
- 809raisesOnBeforeGetGLEntriesCountAtDateIsHandled
- 811callsParseCount
- 812callsHttpGetCount
- 812callsGLAccountToFilter
- 812callsFormatDateForAPICall
GetPostingGLAccounts line 815, local
- 820raisesOnBeforeGetPostingGLAccountsIsHandled
- 822callsParseData
- 823callsHttpGet
GetAccountingPeriods line 826, local
HttpGetCount line 869, local
- 871callsParseCount
- 871callsHttpGetTextWithStatusHandling
HttpGet line 879, local
- 887callsHttpGetCount
- 891callsParseData
- 891callsHttpGetTextWithStatusHandling
- 898callsParseData
- 898callsHttpGetTextWithStatusHandling