Codeunit 9033 Invite External Accountant

Base Application, Microsoft.AccountantPortal

src/Layers/W1/BaseApp/OtherCapabilities/AccountantPortal/InviteExternalAccountant.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

InvokeInvitationsRequest line 50

  1. 69callsInvokeRequestWithGraphAccessToken
  2. 69callsGetGraphInvitationsUrl
  3. 70callsCodeunit 5459 JSON Management InitializeObject
  4. 71callsCodeunit 5459 JSON Management GetJSONObject
  5. 73callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  6. 75callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  7. 76callsCodeunit 5459 JSON Management InitializeObject
  8. 77callsCodeunit 5459 JSON Management GetJSONObject
  9. 78callsCodeunit 5459 JSON Management GetGuidPropertyValueFromJObjectByName
  10. 87callsGetMessageFromErrorJSON

InvokeUserProfileUpdateRequest line 92

  1. 98callsGetGraphUserUrl
  2. 102callsInvokeRequestWithGraphAccessToken
  3. 105callsGetMessageFromErrorJSON

InvokeUserAssignLicenseRequest line 110

  1. 116callsGetGraphUserUrl
  2. 127callsInvokeRequestWithGraphAccessToken
  3. 130callsGetMessageFromErrorJSON

InvokeIsExternalAccountantLicenseAvailable line 135

  1. 148callsInvokeRequestWithGraphAccessToken
  2. 148callsGetGraphSubscribedSkusUrl
  3. 149callsCodeunit 5459 JSON Management TryParseJObjectFromString
  4. 152callsCodeunit 5459 JSON Management GetArrayPropertyValueFromJObjectByName
  5. 154callsCodeunit 5459 JSON Management InitializeCollectionFromJArray
  6. 156callsCodeunit 5459 JSON Management GetCollectionCount
  7. 159callsCodeunit 5459 JSON Management GetJObjectFromCollectionByIndex
  8. 160callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  9. 162callsCodeunit 5459 JSON Management GetDecimalPropertyValueFromJObjectByName
  10. 167callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  11. 169callsCodeunit 5459 JSON Management TryParseJObjectFromString
  12. 171callsCodeunit 5459 JSON Management GetDecimalPropertyValueFromJObjectByName
  13. 183callsGetMessageFromErrorJSON

InvokeIsUserAdministrator line 188

  1. 192callsGetCurrentUserTokenClaim

CreateNewUser line 212

  1. 225callsCodeunit 9012 Azure AD Graph TryGetUserByObjectId
  2. 226callsCodeunit 9012 Azure AD Graph GetUserAssignedPlans
  3. 234raisesOnInvitationCreateNewUser
  4. 235callsCodeunit 9010 Azure AD User Management CreateNewUserFromGraphUser
  5. 237raisesOnInvitationCreateNewUser

IsLicenseAlreadyAssigned line 241

  1. 246callsCodeunit 9012 Azure AD Graph GetUserAssignedPlans

TryGetGuestGraphUser line 253

  1. 262callsCodeunit 9012 Azure AD Graph TryGetUserByObjectId

UpdateAssistedSetup line 268

  1. 272callsCodeunit 1990 Guided Experience CompleteAssistedSetup

InvokeRequestWithGraphAccessToken line 275, local

  1. 277callsInvokeRequest
  2. 277callsCodeunit 9005 Url Helper GetGraphUrl

InvokeRequest line 280, local

  1. 291callsCodeunit 6300 Azure AD Mgt. GetGuestAccessToken
  2. 291callsCodeunit 433 Azure AD Tenant GetAadTenantId
  3. 296callsCodeunit 1297 Http Web Request Mgt. Initialize
  4. 297callsCodeunit 1297 Http Web Request Mgt. DisableUI
  5. 298callsCodeunit 1297 Http Web Request Mgt. SetReturnType
  6. 299callsCodeunit 1297 Http Web Request Mgt. SetContentType
  7. 300callsCodeunit 1297 Http Web Request Mgt. SetMethod
  8. 301callsCodeunit 1297 Http Web Request Mgt. AddHeader
  9. 303callsCodeunit 1297 Http Web Request Mgt. AddBodyAsText
  10. 305callsCodeunit 1297 Http Web Request Mgt. SendRequestAndReadTextResponse

GetMessageFromErrorJSON line 316, local

  1. 323callsCodeunit 5459 JSON Management InitializeObject
  2. 324callsCodeunit 5459 JSON Management GetJSONObject
  3. 325callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName
  4. 326callsCodeunit 5459 JSON Management InitializeObject
  5. 327callsCodeunit 5459 JSON Management GetJSONObject
  6. 328callsCodeunit 5459 JSON Management GetStringPropertyValueFromJObjectByName

GetGraphInvitationsUrl line 334, local

  1. 336callsCodeunit 9005 Url Helper GetGraphUrl

GetGraphUserUrl line 339, local

  1. 341callsCodeunit 9005 Url Helper GetGraphUrl

GetGraphSubscribedSkusUrl line 344, local

  1. 346callsCodeunit 9005 Url Helper GetGraphUrl