---
id: object/page/351
type: object
title: Page 351 "Customer Sales Lines"
summary: Page 351 "Customer Sales Lines" in Base Application (Microsoft.Sales.Analysis). 1 public procedures, 2 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  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: 756542d82442edd9c16ae45816228118ad129312dc9a13c0adf45b74f27cb066
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Analysis/CustomerSalesLines.Page.al
    title: src/Layers/W1/BaseApp/Sales/Analysis/CustomerSalesLines.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: 351
name: Customer Sales Lines
caption: Lines
namespace: Microsoft.Sales.Analysis
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 2
  subscribers: 0
  controls: 5
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 351 "Customer Sales Lines"

> Page 351 "Customer Sales Lines" in Base Application (Microsoft.Sales.Analysis). 1 public procedures, 2 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Sales.Analysis · captioned "Lines" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Analysis/CustomerSalesLines.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Lines |
| SourceTable | Customer Sales Buffer |
| PageType | ListPart |

## 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 |
|---|---|---|---|
| Control1 | Period Start | [Period Start](../table/923.md#fields) | Specifies the starting date of the period that you want to view. <small>from the table field</small> |
|  | Period Name | [Period Name](../table/923.md#fields) | Specifies the name of the period that you want to view. <small>from the table field</small> |
|  | Balance Due (LCY) | [Balance Due (LCY)](../table/923.md#fields) | Specifies the balance due, in local currency. |
|  | Sales (LCY) | [Sales (LCY)](../table/923.md#fields) | Specifies the sales related to the customer, in local currency. |
|  | Profit (LCY) | [Profit (LCY)](../table/923.md#fields) | Specifies the profit related to the customer, in local currency. |

## Events published

- `OnAfterCalcLine(var Customer: Record Customer; var CustomerSalesBuffer: Record "Customer Sales Buffer")` (integration): Raised after calculating the sales line amounts for a customer.
- `OnAfterSet(var NewCust: Record Customer; NewPeriodType: Integer; NewAmountType: Enum "Analysis Amount Type")` (integration): Raised after setting the customer and display options for the sales lines.

## Procedures

- `SetLines(var NewCust: Record Customer; NewPeriodType: Enum "Analysis Period Type"; NewAmountType: Enum "Analysis Amount Type")`: Sets the customer filter and display options for the sales lines.

Plus 4 local procedures.

## Triggers

OnAfterGetRecord, OnFindRecord, OnNextRecord, OnOpenPage

## Relations

- source table [Table 923 "Customer Sales Buffer"](../table/923.md)

## 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 920 "Period Form Lines Mgt."](../codeunit/920.md) (2 calls: `OnFindRecord → FindDate`, `OnNextRecord → NextDate`)

## Across versions

- Present in: BC23-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: "Customer Sales Lines")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
