Codeunit 7499 Item From Picture

Base Application, Microsoft.Inventory.Item.Picture

src/Layers/W1/BaseApp/Inventory/Item/Picture/ItemFromPicture.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

EnableImageAnalysisScenario line 53

  1. 58callsCodeunit 7499 Item From Picture GetItemFromPictureScenario
  2. 59writesTable 2023 Image Analysis Scenario DeleteAll
  3. 62callsCodeunit 7499 Item From Picture GetItemFromPictureScenario
  4. 65writesTable 2023 Image Analysis Scenario Insert(true)

GetNewFromPictureActionVisible line 68

  1. 76callsCodeunit 4030 Client Type Management GetCurrentClientType

CleanTenantMediaSet line 108

  1. 126writesTable 2000000184 Tenant Media Delete
  2. 129writesTable 2000000183 Tenant Media Set DeleteAll

ItemFromImage line 141

  1. 145callsPromptOnHttpCallsIfSandbox
  2. 147runsPage 7498 Item From Picture

AnalyzeImage line 175

  1. 188callsCodeunit 2020 Image Analysis Management ToCommaSeparatedList
  2. 189callsGetTelemetryCategory
  3. 191callsCodeunit 2020 Image Analysis Management Initialize
  4. 192callsCodeunit 2020 Image Analysis Management SetMedia
  5. 193callsCodeunit 2020 Image Analysis Management Analyze
  6. 195callsGetTelemetryCategory
  7. 197callsCodeunit 2020 Image Analysis Management GetLastError
  8. 198callsCreateErrorNotification
  9. 202callsIdentifyBestItemCategory
  10. 204validatesTable 7499 Item From Picture Buffer ItemCategoryCode
  11. 206callsIdentifyTemplateFromCategory
  12. 208validatesTable 7499 Item From Picture Buffer ItemTemplateCode
  13. 210callsCodeunit 2020 Image Analysis Management GetLimitParams
  14. 211callsTable 2020 Image Analysis Setup IsUsageLimitReached
  15. 213callsCreateErrorNotification
  16. 216callsTable 7499 Item From Picture Buffer SetResult
  17. 216callsCodeunit 2021 Image Analysis Result GetResultVerbatim
  18. 219callsTable 2020 Image Analysis Setup IsUsageLimitReached
  19. 220callsGetTelemetryCategory

IdentifyBestItemCategory line 240, local

  1. 248callsCodeunit 2021 Image Analysis Result TagCount
  2. 249callsIdentifyBetterItemCategory
  3. 249callsCodeunit 2021 Image Analysis Result TagName
  4. 250callsCodeunit 2021 Image Analysis Result TagConfidence

IdentifyBetterItemCategory line 259, local

  1. 267callsCodeunit 5722 Item Category Management FindMatchInCategories
  2. 277callsCodeunit 5722 Item Category Management FindMatchInCategories

CanRunImageAnalysis line 298

  1. 302callsCodeunit 2020 Image Analysis Management Initialize
  2. 304callsCodeunit 2020 Image Analysis Management IsCurrentUserLanguageSupported

ClearAttributeValues line 317

  1. 324callsTable 7500 Item Attribute RemoveUnusedArbitraryValues

SaveAttributeValues line 328

  1. 333callsGetTelemetryCategory
  2. 337writesTable 7505 Item Attribute Value Mapping DeleteAll
  3. 342callsTable 7504 Item Attribute Value Selection FindAttributeValue
  4. 348writesTable 7505 Item Attribute Value Mapping Insert

ApprovePrivacyNotice line 353

  1. 359callsTable 2023 Image Analysis Scenario Enabled
  2. 362callsTable 1518 My Notifications IsEnabled

OnInitializingNotificationWithDefaultState line 380, local

  1. 384callsTable 1518 My Notifications InsertDefault

DisableNotification line 387

  1. 394callsTable 1518 My Notifications Disable
  2. 396callsTable 1518 My Notifications InsertDefault

RunWizard line 399

  1. 413callsTable 2020 Image Analysis Setup GetSingleInstance
  2. 414callsCodeunit 457 Environment Information IsOnPrem
  3. 415callsTable 2020 Image Analysis Setup GetApiKeyAsSecret

PromptOnHttpCallsIfSandbox line 435, local

  1. 446callsCodeunit 457 Environment Information IsSandbox
  2. 464writesTable 2000000201 NAV App Setting Insert(true)
  3. 470writesTable 2000000201 NAV App Setting Insert(true)