Codeunit 7499 "Item From Picture"
Base Application · Microsoft.Inventory.Item.Picture
Across versions
- BC23present
- BC241 procedures changed
- BC25-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.Inventory.Item.Picture · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Nav App Setting” = rm, tabledata “Image Analysis Scenario” = Rimd |
Event subscriptions
- OnInitializingNotificationWithDefaultState subscribes to Page “My Notifications” OnInitializingNotificationWithDefaultState
- OnGetKnownScenariosAddItemFromPicture subscribes to Table “Image Analysis Scenario” OnGetKnownScenarios
Procedures
EnableImageAnalysisScenario()GetNewFromPictureActionVisible(): BooleanImportFile(var ItemFromPictureBuffer: Record "Item From Picture Buffer" temporary): BooleanCleanTenantMediaSet(MediaSetId: Guid)GetFirstMediaFromMediaSet(MediaSetId: Guid): GuidItemFromImage()GenerateItemDescription(ItemFromPictureBuffer: Record "Item From Picture Buffer" temporary): Text[100]AnalyzeImage(MediaId: Guid; var ItemFromPictureBuffer: Record "Item From Picture Buffer" temporary; ImageAnalysisTypes: List of [Enum "Image Analysis Type"]; var NotificationBuffer: List of [Notification])IdentifyTemplateFromCategory(CategoryCode: Code[20]): Code[20]CanRunImageAnalysis(AnalysisTypes: List of [Enum "Image Analysis Type"]): BooleanApprovePrivacyNotice(): BooleanClearAttributeValues(var ItemAttributeValueSelection: Record "Item Attribute Value Selection" temporary)SaveAttributeValues(var ItemAttributeValueSelection: Record "Item Attribute Value Selection" temporary; Item: Record Item)ApprovePrivacyNotice(var NotificationBuffer: List of [Notification]): BooleanDisableNotification(HostNotification: Notification)RunWizard(Notification: Notification)Δ BC24GetItemFromPictureScenario(): Code[20]GetTelemetryCategory(): Text(internal)
Plus 4 local procedures.
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.
- Codeunit 2020 “Image Analysis Management” (8 calls:
AnalyzeImage → Analyze,AnalyzeImage → GetLastError,AnalyzeImage → GetLimitParams, …) - Codeunit 2021 “Image Analysis Result” (4 calls:
AnalyzeImage → GetResultVerbatim,IdentifyBestItemCategory → TagConfidence,IdentifyBestItemCategory → TagCount, …) - Codeunit 457 “Environment Information” (2 calls:
PromptOnHttpCallsIfSandbox → IsSandbox,RunWizard → IsOnPrem) - Codeunit 4030 “Client Type Management” (1 call:
GetNewFromPictureActionVisible → GetCurrentClientType) - Codeunit 5722 “Item Category Management” (1 call:
IdentifyBetterItemCategory → FindMatchInCategories)
Called by
- Page 7498 “Item From Picture” (8 calls:
ClearMediaAndAttributes → CleanTenantMediaSet,OnOpenPage → AnalyzeImage,OnOpenPage → ApprovePrivacyNotice, …) - Page 7499 “Item From Picture-Attrib Part” (2 calls:
ClearValues → ClearAttributeValues,SaveValues → SaveAttributeValues) - Page 31 “Item List” (1 call:
OnOpenPage → GetNewFromPictureActionVisible)
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: "Item From Picture"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.