codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 2005 "Azure AI Usage Impl."

Base Application · System.AI

Across versions

  1. BC23present
  2. BC241 procedures changed
  3. BC251 procedures added
  4. BC26-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 2006 "Azure AI Usage" (calls, 7 links)Azure AI UsagePage 2020 "Image Analysis Setup" (calls, 3 links)Image Analysis SetupCodeunit 2003 "ML Prediction Management" (calls)ML Prediction ManagementCodeunit 2020 "Image Analysis Management" (calls)Image Analysis ManagementCodeunit 457 "Environment Information" (calls)Environment Information

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 · System.AI · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Permissions TableData “Azure AI Usage” = rimd

Events published

  • OnAfterGetCurrentDateTime(var CurrentDateTime: DateTime) (internal)

Procedures

  • SetInfiniteImageAnalysisAccess(ImageAnalysisSetupRec: Record "Image Analysis Setup") + BC25 (internal)
  • IncrementTotalProcessingTime(Service: Enum "Azure AI Service"; ProcessingTime: Decimal)
  • IncrementTotalProcessingTime(Service: Enum "Azure AI Service"; ProcessingTime: Decimal; var AzureAIUsage: Record "Azure AI Usage")
  • IsLimitReached(Service: Enum "Azure AI Service"; UsageLimit: Decimal): Boolean
  • GetTotalProcessingTime(Service: Enum "Azure AI Service"): Decimal
  • GetLimitPeriod(Service: Enum "Azure AI Service"): Option
  • GetResourceLimit(Service: Enum "Azure AI Service"): Decimal
  • GetLastTimeUpdated(Service: Enum "Azure AI Service"): DateTime
  • GetSingleInstance(Service: Enum "Azure AI Service"; var AzureAIUsage: Record "Azure AI Usage"): Boolean Δ BC24
  • SetImageAnalysisIsSetup(NewValue: Boolean)
  • HasChangedYear(PreviousDateTime: DateTime): Boolean (internal)
  • HasChangedMonth(PreviousDateTime: DateTime): Boolean (internal)
  • HasChangedDay(PreviousDateTime: DateTime): Boolean (internal)
  • HasChangedPeriod(PreviousDateTime: DateTime; What: Integer): Boolean (internal)
  • HasChangedHour(PreviousDateTime: DateTime): Boolean (internal)
  • GetCurrentDateTime(): DateTime (internal)
  • SetTestMode(NewCurrentDatetime: DateTime)

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

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: "Azure AI Usage Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources