---
id: object/page/7275
type: object
title: Page 7275 "Sales Line AI Suggestions"
summary: Page 7275 "Sales Line AI Suggestions" in SalesLinesSuggestions (Microsoft.Sales.Document). 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - saleslinessuggestions
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: c2aef3c8421064fc1d4c1ba10ee67d2df2be9f582601a50a2f6c167a5f5f71c0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesLinesSuggestions/app/SalesLineAISuggestions.Page.al
    title: src/Apps/W1/SalesLinesSuggestions/app/SalesLineAISuggestions.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 7275
name: Sales Line AI Suggestions
caption: Suggest Sales Lines
namespace: Microsoft.Sales.Document
app: SalesLinesSuggestions
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 0
  subscribers: 0
  controls: 5
  actions: 12
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Page 7275 "Sales Line AI Suggestions"

> Page 7275 "Sales Line AI Suggestions" in SalesLinesSuggestions (Microsoft.Sales.Document). 1 public procedures. Introduced in BC29, still in BC30.

SalesLinesSuggestions · Microsoft.Sales.Document · captioned "Suggest Sales Lines" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesLinesSuggestions/app/SalesLineAISuggestions.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Suggest Sales Lines |
| Extensible | false |
| PageType | PromptDialog |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Prompt | Search Query | `SearchQueryTxt` | Enter your search query here. You can use natural language to describe what you are looking for. |
| StatusLineGroup | Status Line | `StatusLine` | — |
| Content | Suggested sales lines | part [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md) | — |
| PromptOptions | Matching | `SearchStyle` | Specifies the search confidence to use when generating sales line suggestions. |
|  | View | `ViewOptions` | Specifies whether to show lines or lines and confidence about the sales line suggestions when possible. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| SystemActions | Generate | Generate sales line suggestions from Copilot. |  |
|  | Insert | Keep sales line suggestions proposed by Copilot. |  |
|  | Discard | Discard sales line suggestions proposed by Copilot. |  |
|  | Attach | Attach a file to get sales line suggestions from Copilot. |  |
| Copy line items | Copy from order [No.] | Sample prompt for copying line items from another sales order. Text in brackets refers to the order. |  |
|  | Copy from posted invoice [No.] | Sample prompt for copying line items from a posted sales invoice. Text in brackets refers to the invoice. |  |
|  | Copy from the latest posted invoice | Sample prompt for copying line items from the customer's latest posted sales invoice. |  |
|  | Copy items [description] from posted invoice [No.] | Sample prompt for copying specific items from another posted sales invoice. Texts in brackets specify item description and invoice number. |  |
| Add line items | Add item: [description] | Sample prompt for adding a line item by description. Text in brackets describes the item to add. |  |
|  | Add item: [internal/external no.] | Sample prompt for adding a line item by item no. Text in brackets specifies the item to add. |  |
|  | Add item: [quantity] [description] | Sample prompt for adding a line item by quantity and description. Text in brackets describes the quantity and item to add. |  |
|  | Add items: [description 1, description 2, ...] | Sample prompt for adding multiple line items. Text in brackets describes the items, separated by comma. |  |

## Procedures

- `SetSalesHeader(OriginSalesHeader: Record "Sales Header")`

Plus 6 local procedures.

## Triggers

OnQueryClosePage, OnOpenPage

## 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 7275 "Sales Lines Suggestions Impl."](../codeunit/7275.md) (2 calls: `GenerateSalesLineSuggestions → GenerateSalesLineSuggestions`, `OnQueryClosePage → GetFeatureName`)
- [Codeunit 7280 "Sales Line Utility"](../codeunit/7280.md) (2 calls: `OnQueryClosePage → CheckIfSuggestedLinesContainErrors`, `OnQueryClosePage → CopySalesLineToDoc`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `OnQueryClosePage → LogUptake`, `OnQueryClosePage → LogUsage`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "page", object_name: "Sales Line AI Suggestions")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
