Codeunit 7341 "Magic Function"
CreateProductInformationWithCopilot · Microsoft.Inventory.Item.Substitution
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
CreateProductInformationWithCopilot · Microsoft.Inventory.Item.Substitution · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
GetPrompt(): JsonObjectExecute(Arguments: JsonObject): VariantGetName(): Text
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 7345 “Create Product Info. Utility” (2 calls:
Execute → GetChatCompletionResponseErr,Execute → GetFeatureName) - Codeunit 7340 “Create Product Info. Prompts” (1 call:
GetPrompt → GetMagicFunctionPrompt) - Codeunit 7343 “Notification Manager” (1 call:
Execute → SendNotification) - Codeunit 8703 “Feature Telemetry” (1 call:
Execute → LogUsage)
Called by
- Codeunit 2012 “Entity Text Impl.” (2 calls:
GenerateAndReviewCompletion → Execute,GenerateCompletion → GetName) - Codeunit 7275 “Sales Lines Suggestions Impl.” (2 calls:
AICall → Execute,AICall → GetName) - Codeunit 7330 “Item Subst. Suggestion Impl.” (2 calls:
AICall → Execute,AICall → GetName)
Implements
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: "Magic Function"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.