---
id: object/page/512
type: object
title: Page 512 "Customer Disc. Groups"
summary: Page 512 "Customer Disc. Groups" in Base Application (Microsoft.Sales.Pricing). 1 public procedures. 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: ce1f3144156b8e535edfecb1fde4f8386e9c004d7269a0e4ffb01b0b93985987
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Pricing/CustomerDiscGroups.Page.al
    title: src/Layers/W1/BaseApp/Sales/Pricing/CustomerDiscGroups.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/sales-how-register-new-customers
    title: Register new customers by creating a Customer Card
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/sales-how-register-new-customers
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sales
    - topic/business-central/business-functionality/set-up-business-central/set-up-sales
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 512
name: Customer Disc. Groups
namespace: Microsoft.Sales.Pricing
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:
  - docs/learn-smb-docs/business-central/sales-how-register-new-customers.md
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
  controls: 2
  actions: 3
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 1
  implements: 0
---

# Page 512 "Customer Disc. Groups"

> Page 512 "Customer Disc. Groups" in Base Application (Microsoft.Sales.Pricing). 1 public procedures. Present since at least BC23, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Customer Disc. Groups |
| SourceTable | Customer Discount Group |
| PageType | List |
| UsageCategory | Administration |
| ApplicationArea | Basic, Suite |

## 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 | Code | [Code](../table/340.md#fields) | Specifies a code for the customer discount group. <small>from the table field</small> |
|  | Description | [Description](../table/340.md#fields) | Specifies a description for the customer discount group. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Cust. Disc. Groups | Sales Line Discounts | View the sales line discounts that are available. These discount agreements can be for individual customers, for a group of customers, for all customers or for a campaign. |  |
|  | Sales Price Lists | View or set up sales price lists with discounts for products that you sell to customers that belong to the customer discount group. |  |
|  | Sales Discounts | View or set up sales discounts for products that you sell to customers that belong to the customer discount group. |  |

## Procedures

- `GetSelectionFilter(): Text`: Gets a filter string for the selected customer discount groups on the page.

## Triggers

OnOpenPage

## Relations

- source table [Table 340 "Customer Discount Group"](../table/340.md)

## Pages and codeunits on this table

- [Table 340 "Customer Discount Group"](../table/340.md) (lookup page)

## 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 46 "SelectionFilterManagement"](../codeunit/46.md) (1 call: `GetSelectionFilter → GetSelectionFilterForCustomerDiscountGroup`)
- [Codeunit 7001 "Price Calculation Mgt."](../codeunit/7001.md) (1 call: `OnOpenPage → IsExtendedPriceCalculationEnabled`)

## Called by

- [Codeunit 7034 "Price Source - Cust. Disc. Gr."](../codeunit/7034.md) (1 call: `IsLookupOK → (object)`)

## Across versions

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

## Documented on Microsoft Learn

- [Register new customers by creating a Customer Card](https://learn.microsoft.com/dynamics365/business-central/sales-how-register-new-customers)

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