---
id: object/page/7290
type: object
title: Page 7290 "Sales Line From Attachment"
summary: Page 7290 "Sales Line From Attachment" in SalesLinesSuggestions (Microsoft.Sales.Document.Attachment). 2 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: e4426955909b5c319e7626c7bfdf0b5091095e97d3e5a45699477069dee452c9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SalesLinesSuggestions/app/Attachment/SalesLineFromAttachment.Page.al
    title: src/Apps/W1/SalesLinesSuggestions/app/Attachment/SalesLineFromAttachment.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: 7290
name: Sales Line From Attachment
caption: Suggest sales lines from file
namespace: Microsoft.Sales.Document.Attachment
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: 6
  events: 0
  subscribers: 0
  controls: 6
  actions: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 0
  implements: 0
---

# Page 7290 "Sales Line From Attachment"

> Page 7290 "Sales Line From Attachment" in SalesLinesSuggestions (Microsoft.Sales.Document.Attachment). 2 public procedures. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Suggest sales lines from file |
| 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 | AttachmentMappingLbl | label | — |
|  | Column Mapping | part [Page 7289 "Attachment Mapping Part"](../page/7289.md) | — |
| Content | SuggestionStatusLbl | label | — |
|  | 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. |  |

## Procedures

- `LoadData(var FileHandler: interface "File Handler"; FileName: Text; var LoadedTempBlob: Codeunit "Temp Blob"; SalesHeader: Record "Sales Header")` (internal)
- `SetPromptMode(NewMode: PromptMode)` (internal)

Plus 4 local procedures.

## Triggers

OnOpenPage, OnQueryClosePage

## 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 7295 "File Handler Result"](../codeunit/7295.md) (15 calls: `BuildSearchQuery → GetColumnNames`, `BuildSearchQuery → GetContainsHeaderRow`, `BuildSearchQuery → GetProductColumnIndex`, …)
- [Codeunit 7280 "Sales Line Utility"](../codeunit/7280.md) (2 calls: `OnQueryClosePage → CheckIfSuggestedLinesContainErrors`, `OnQueryClosePage → CopySalesLineToDoc`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `OnOpenPage → CreateInStream`)
- [Codeunit 7275 "Sales Lines Suggestions Impl."](../codeunit/7275.md) (1 call: `GenerateSalesLineSuggestions → GenerateSalesLineSuggestions`)
- [Codeunit 7276 "SLS Prompts"](../codeunit/7276.md) (1 call: `BuildSearchQuery → GetProductFromCsvTemplateUserInputPrompt`)
- [Codeunit 7292 "Sales Line From Attachment"](../codeunit/7292.md) (1 call: `BuildSearchQuery → GetMaxPromptSize`)

## 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 From Attachment")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
