Codeunit 7330 "Item Subst. Suggestion Impl."
CreateProductInformationWithCopilot · Microsoft.Inventory.Item.Substitution
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 13 connected objects and pages
CreateProductInformationWithCopilot · Microsoft.Inventory.Item.Substitution · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Event subscriptions
- OnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
Procedures
GetFeatureName(): Text(internal)GetNoItemSubstSuggestionsMsg(): Text(internal)GetItemSubstitutionSuggestion(var ItemSubstitution: Record "Item Substitution")(internal)GenerateItemSubstitutionSuggestions(SearchQuery: Text; SearchStyle: Enum "Search Style"; ItemType: Enum "Item Type"; ItemNoFilter: Text; var TempItemSubst: Record "Item Substitution" temporary)(internal)AICall(SystemPromptTxt: SecretText; SearchQuery: Text; SearchStyle: Enum "Search Style"; ItemType: Enum "Item Type"; ItemNoFilter: Text; var TempItemSubst: Record "Item Substitution" temporary): Text(internal)
Plus 1 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 7770 “AOAI Operation Response” (5 calls:
AICall → GetFunctionResponses,AICall → GetResult,AICall → GetStatusCode, …) - Codeunit 7771 “Azure OpenAI” (5 calls:
AICall → GenerateChatCompletion,AICall → IsEnabled,AICall → SetAuthorization, …) - Codeunit 7342 “Suggest Substitutions Function” (4 calls:
AICall → SetItemNoFilter,AICall → SetItemType,AICall → SetSearchQuery, …) - Codeunit 7763 “AOAI Chat Messages” (4 calls:
AICall → AddTool,AICall → AddUserMessage,AICall → SetPrimarySystemMessage, …) - Codeunit 8703 “Feature Telemetry” (4 calls:
AICall → LogError,AICall → LogUsage,GetItemSubstitutionSuggestion → LogError, …) - Codeunit 7345 “Create Product Info. Utility” (3 calls:
AICall → GetChatCompletionResponseErr,AICall → GetMaxTokens,OnRegisterCopilotCapability → RegisterCapability) - Codeunit 7758 “AOAI Function Response” (3 calls:
AICall → GetFunctionName,AICall → GetResult,AICall → IsSuccess) - Codeunit 7341 “Magic Function” (2 calls:
AICall → Execute,AICall → GetName) - Codeunit 7761 “AOAI Chat Completion Params” (2 calls:
AICall → SetMaxTokens,AICall → SetTemperature) - Codeunit 7340 “Create Product Info. Prompts” (1 call:
BuildIntentSystemPrompt → GetSuggestSubstitutionsSystemPrompt) - Codeunit 7343 “Notification Manager” (1 call:
AICall → SendNotification) - Codeunit 7768 “AOAI Deployments” (1 call:
AICall → GetGPT41Preview)
Called by
- Page 7410 “Item Subst. Suggestion” (2 calls:
GenerateItemSubstitutions → GenerateItemSubstitutionSuggestions,OnQueryClosePage → GetFeatureName) - Codeunit 7342 “Suggest Substitutions Function” (1 call:
Execute → GetNoItemSubstSuggestionsMsg)
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 Subst. Suggestion Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.