Codeunit 7275 "Sales Lines Suggestions Impl."
SalesLinesSuggestions · Microsoft.Sales.Document
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 21 connected objects and pages
SalesLinesSuggestions · Microsoft.Sales.Document · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Events published
OnAICallOnAfterGenerateChatCompletion(SearchQuery: Text; IsAttachment: Boolean; OperationResponse: Codeunit "AOAI Operation Response")(internal)
Event subscriptions
- OnRegisterCopilotCapability subscribes to Page “Copilot AI Capabilities” OnRegisterCopilotCapability
Procedures
GetFeatureName(): Text(internal)GetChatCompletionResponseErr(): Text(internal)GetNoSalesLinesSuggestionsMsg(): Text(internal)GetUnknownDocTypeMsg(): Text(internal)GetDocumentNotFoundMsg(): Text(internal)GetItemNotFoundMsg(): Text(internal)GetCopyFromMultipleDocsMsg(): Text(internal)GetLinesSuggestions(SalesLine: Record "Sales Line")(internal)GenerateSalesLineSuggestions(SearchQuery: Text; SearchStyle: Enum "Search Style"; SourceSalesHeader: Record "Sales Header"; var TempSalesLineAiSuggestion: Record "Sales Line AI Suggestions" temporary)(internal)AICall(SystemPromptTxt: SecretText; SearchQuery: Text; SearchStyle: Enum "Search Style"; SourceSalesHeader: Record "Sales Header"; var TempSalesLineAiSuggestion: Record "Sales Line AI Suggestions" temporary): Text(internal)AICall(SystemPromptTxt: SecretText; SearchQuery: Text; AOAIFunction: interface "AOAI Function"; var CompletionAnswer: Text): Variant(internal)RegisterCapability()
Plus 2 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 7763 “AOAI Chat Messages” (4 calls:
AICall → AddTool,AICall → AddUserMessage,AICall → SetPrimarySystemMessage, …) - Codeunit 8703 “Feature Telemetry” (4 calls:
AICall → LogError,AICall → LogUsage,GetLinesSuggestions → LogError, …) - Codeunit 7291 “Search Items With Filters Func” (3 calls:
AICall → SetSearchQuery,AICall → SetSearchStyle,AICall → SetSourceDocumentRecordId) - 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 7773 “Copilot Capability” (2 calls:
RegisterCapability → IsCapabilityRegistered,RegisterCapability → RegisterCapability) - Codeunit 457 “Environment Information” (1 call:
RegisterCapability → IsSaaSInfrastructure) - Codeunit 7276 “SLS Prompts” (1 call:
BuildIntentSystemPrompt → GetSLSSystemPrompt) - Codeunit 7343 “Notification Manager” (1 call:
AICall → SendNotification) - Codeunit 7768 “AOAI Deployments” (1 call:
AICall → GetGPT56CeresLatest)
Called by
- Codeunit 7291 “Search Items With Filters Func” (6 calls:
Execute → GetChatCompletionResponseErr,Execute → GetCopyFromMultipleDocsMsg,Execute → GetFeatureName, …) - Codeunit 7284 “Magic Function” (2 calls:
Execute → GetFeatureName,Execute → GetNoSalesLinesSuggestionsMsg) - Page 7275 “Sales Line AI Suggestions” (2 calls:
GenerateSalesLineSuggestions → GenerateSalesLineSuggestions,OnQueryClosePage → GetFeatureName) - Codeunit 7276 “SLS Prompts” (1 call:
GetAzureKeyVaultSecret → GetFeatureName) - Codeunit 7277 “Sales Line Suggestions Install” (1 call:
OnInstallAppPerCompany → RegisterCapability) - Codeunit 7278 “Sales Line Suggestions Upgrade” (1 call:
RegisterCapability → RegisterCapability) - Codeunit 7280 “Sales Line Utility” (1 call:
PrepareSalesLine → GetFeatureName) - Codeunit 7282 “Search” (1 call:
SearchMultiple → GetFeatureName) - Codeunit 7293 “Csv Handler” (1 call:
GenerateCsvMappingSuggestionFromAttachment → AICall) - Page 7290 “Sales Line From Attachment” (1 call:
GenerateSalesLineSuggestions → GenerateSalesLineSuggestions)
Recent changes
- 2026-11-19 #14307 [SLS][29.x] Backport production app updates for GPT-5.6 Ceres (releases/29.x, BC29, feature)
- 2026-11-17 #14143 Enable internal SLS hooks for harms evaluations (main, BC30, feature)
- 2026-11-03 #13506 Upgrade Marketing Text, Sales Lines Suggestions, and Item Substitution to GPT-5.6 (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Sales line suggestions with Copilot — possibly related: Sales Lines Suggestions Impl. implements AI-powered sales document suggestions with Copilot (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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: "Sales Lines Suggestions Impl."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.