Codeunit 2005 Azure AI Usage Impl.

Base Application, System.AI

src/Layers/W1/BaseApp/System/AI/AzureAIUsageImpl.Codeunit.al14 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SetInfiniteImageAnalysisAccess line 19, internal

  1. 23callsTable 2020 Image Analysis Setup GetApiKeyAsSecret
  2. 26callsSetImageAnalysisIsSetup
  3. 27callsGetSingleInstance
  4. 30writesTable 2004 Azure AI Usage Modify

IncrementTotalProcessingTime line 41

  1. 46callsGetSingleInstance
  2. 48callsGetCurrentDateTime
  3. 49writesTable 2004 Azure AI Usage Modify(true)

IsLimitReached line 53

  1. 57callsGetSingleInstance
  2. 58callsGetTotalProcessingTime

GetTotalProcessingTime line 65

  1. 69callsGetSingleInstance

GetLimitPeriod line 73

  1. 77callsGetSingleInstance

GetResourceLimit line 81

  1. 85callsGetSingleInstance

GetLastTimeUpdated line 89

  1. 93callsGetSingleInstance

GetSingleInstance line 97

  1. 113callsCodeunit 457 Environment Information IsSaaS
  2. 120callsGetCurrentDateTime
  3. 121writesTable 2004 Azure AI Usage Insert
  4. 134writesTable 2020 Image Analysis Setup Insert
  5. 138callsTable 2020 Image Analysis Setup GetApiKeyAsSecret
  6. 139callsCodeunit 457 Environment Information IsSaaS
  7. 141callsCodeunit 2020 Image Analysis Management GetImageAnalysisCredentials
  8. 149callsCodeunit 2003 ML Prediction Management GetMachineLearningCredentials
  9. 159callsHasChangedYear
  10. 161callsHasChangedMonth
  11. 163callsHasChangedDay
  12. 165callsHasChangedHour
  13. 174writesTable 2004 Azure AI Usage Modify

HasChangedYear line 184, internal

  1. 186callsHasChangedPeriod

HasChangedMonth line 189, internal

  1. 191callsHasChangedPeriod
  2. 191callsHasChangedYear

HasChangedDay line 194, internal

  1. 196callsHasChangedPeriod
  2. 196callsHasChangedMonth

HasChangedPeriod line 199, internal

  1. 201callsGetCurrentDateTime

HasChangedHour line 204, internal

  1. 210callsGetCurrentDateTime

GetCurrentDateTime line 214, internal

  1. 221raisesOnAfterGetCurrentDateTime