---
id: object/table/7275
type: object
title: Table 7275 "Sales Line AI Suggestions"
summary: Table 7275 "Sales Line AI Suggestions" in SalesLinesSuggestions (Microsoft.Sales.Document). 12 fields, 7 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: a84f1cf196a723bb0fb639613331aa941a0319dcf7cc8ecdea082b3525d39aab
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesLinesSuggestions/app/SalesLineAISuggestions.Table.al
    title: src/Apps/W1/SalesLinesSuggestions/app/SalesLineAISuggestions.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7275
name: Sales Line AI Suggestions
caption: Sales Line AI Suggestion
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: 12
  procedures: 10
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 8
  called_by: 0
  implements: 0
---

# Table 7275 "Sales Line AI Suggestions"

> Table 7275 "Sales Line AI Suggestions" in SalesLinesSuggestions (Microsoft.Sales.Document). 12 fields, 7 public procedures. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Sales Line AI Suggestion |
| Access | Internal |
| TableType | Temporary |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 4 | Line No. | Integer | Specifies the line number of the suggested result. <small>via [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md)</small> |  |
| 5 | Type | Enum "Sales Line Type" | — | enum [Enum 37 "Sales Line Type"](../enum/37.md) |
| 6 | No. | Code[20] | Specifies the item number of the suggested result. <small>via [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md)</small> | TableRelation [Table 27 "Item"](../table/27.md) (Item where(Blocked = const(false), "Sales Blocked" = const(false))) |
| 7 | Variant Code | Code[10] | Specifies the variant of the item on the line. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) (if (Type = const(Item)) "Item Variant".Code where("Item No." = field("No."), Blocked = const(false), "Sales Blocked" = const(false))) |
| 11 | Description | Text[100] | Specifies the description of the suggested result. <small>via [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md)</small> |  |
| 15 | Quantity | Decimal | Specifies the Quantity in the Sales Unit of Measure defined on the Item card. |  |
| 16 | Confidence | Enum "Search Confidence" | Specifies the confidence level of the suggested result. <small>via [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md)</small> | enum [Enum 7331 "Search Confidence"](../enum/7331.md) |
| 20 | Primary Search Terms | Blob | — |  |
| 21 | Additional Search Terms | Blob | Secondary Search Terms <small>caption</small> |  |
| 30 | Source Line Record ID | RecordId | — |  |
| 35 | Line Style | Text[30] | — |  |
| 5407 | Unit of Measure Code | Code[10] | Specifies the unit of measure code of the item on the line. | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) ("Item Unit of Measure".Code where("Item No." = field("No."))) |

## Keys

- Key1: Line No.

## Procedures

- `SetSourceDocument(RecID: RecordId)` (internal)
- `SetPrimarySearchTerms(SearchTerms: List of [Text])` (internal)
- `SetAdditionalSearchTerms(SearchTerms: List of [Text])` (internal)
- `GetPrimarySearchTerms(): Text` (internal)
- `GetAdditionalSearchTerms(): Text` (internal)
- `GetSourceDocumentInfo(var DocumentType: Text; var DocumentNo: Text; var DocumentDate: Date; var CustomerName: Text)` (internal)
- `ShowSourceHeaderDocument()` (internal)

Plus 3 local procedures.

## Relations

- No.: TableRelation [Table 27 "Item"](../table/27.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)

## Pages and codeunits on this table

- [Page 7276 "Sales Line AI Suggestions Sub"](../page/7276.md) (source table)

## 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.

- [Page 130 "Posted Sales Shipment"](../page/130.md) (1 call: `ShowSourceHeaderDocument → (object)`)
- [Page 132 "Posted Sales Invoice"](../page/132.md) (1 call: `ShowSourceHeaderDocument → (object)`)
- [Page 41 "Sales Quote"](../page/41.md) (1 call: `RunSalesHeaderPage → (object)`)
- [Page 42 "Sales Order"](../page/42.md) (1 call: `RunSalesHeaderPage → (object)`)
- [Page 43 "Sales Invoice"](../page/43.md) (1 call: `RunSalesHeaderPage → (object)`)
- [Page 44 "Sales Credit Memo"](../page/44.md) (1 call: `RunSalesHeaderPage → (object)`)
- [Page 507 "Blanket Sales Order"](../page/507.md) (1 call: `RunSalesHeaderPage → (object)`)
- [Page 6630 "Sales Return Order"](../page/6630.md) (1 call: `RunSalesHeaderPage → (object)`)

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