---
id: object/table/6
type: object
title: Table 6 "Customer Price Group"
summary: Table 6 "Customer Price Group" in Base Application (Microsoft.Sales.Pricing). 9 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: c574d93709737be0150db5060511a4e47bc2fb8cc5c3dcdfc6bc7d032d86e015
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Pricing/CustomerPriceGroup.Table.al
    title: src/Layers/W1/BaseApp/Sales/Pricing/CustomerPriceGroup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-work-with-vat
    - https://learn.microsoft.com/dynamics365/business-central/sales-how-register-new-customers
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/working-with-value-added-tax-vat
    - topic/business-central/business-functionality/sales
    - topic/business-central/business-functionality/set-up-business-central/set-up-sales
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 6
name: Customer Price Group
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:
  - "24"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 46
  pages: 1
  extended_by: 0
  event_subscribers: 4
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6 "Customer Price Group"

> Table 6 "Customer Price Group" in Base Application (Microsoft.Sales.Pricing). 9 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

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

Learn documents this table through its pages: [Page 7 "Customer Price Groups"](../page/7.md) (2 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Customer Price Group |
| DataClassification | CustomerContent |

## 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 |
|---|---|---|---|---|
| 1 | Code | Code[10] | Specifies a code to identify the price group. | NotBlank |
| 2 | Price Includes VAT | Boolean | Specifies whether the prices given for this price group will include VAT. |  |
| 5 | Allow Invoice Disc. | Boolean | Specifies whether the ordinary invoice discount calculation will apply to customers in this price group. |  |
| 6 | VAT Bus. Posting Gr. (Price) | Code[20] | Specifies the VAT business posting group that determines the default VAT percentage to add to sales prices for customers in this group. <small>via [Page 7 "Customer Price Groups"](../page/7.md)</small> | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group) |
| 10 | Description | Text[100] | Specifies the description of the customer price group. |  |
| 720 | Coupled to CRM | Boolean | Coupled to Dynamics 365 Sales <small>caption</small> | obsolete Removed 26.0; #if not CLEANSCHEMA26; not editable |
| 721 | Coupled to Dataverse | Boolean | Specifies that the customer price group is coupled to a price list in Dynamics 365 Sales. | FlowField: exist("CRM Integration Record" where("Integration ID" = field(SystemId), "Table ID" = const(Database::"Customer Price Group"))); not editable |
| 7000 | Price Calculation Method | Enum "Price Calculation Method" | Specifies the price calculation method that will override the method set in the sales setup for customers in this group. | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md) |
| 7001 | Allow Line Disc. | Boolean | Specifies if a line discount will be calculated when the sales price is offered. |  |

## Keys

- Key1: Code (clustered)
- Key2: SystemModifiedAt

## Trigger event subscribers

- OnAfterDeleteEvent: [Codeunit 7006 "Price Helper - V16"](../codeunit/7006.md) AfterDeleteCustomerPriceGroup, [Codeunit 7019 "Price Helper - V15"](../codeunit/7019.md) AfterDeleteCustomerPriceGroup
- OnAfterRenameEvent: [Codeunit 7006 "Price Helper - V16"](../codeunit/7006.md) AfterRenameCustomerPriceGroup, [Codeunit 7019 "Price Helper - V15"](../codeunit/7019.md) AfterRenameCustomerPriceGroup

## Procedures

- `ToPriceSource(var PriceSource: Record "Price Source")`: Converts this customer price group to a price source record.

## Relations

- lookup page [Page 7 "Customer Price Groups"](../page/7.md)
- VAT Bus. Posting Gr. (Price): TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- Coupled to Dataverse: CalcFormula [Table 5331 "CRM Integration Record"](../table/5331.md)

## Referenced by

46 fields in 46 objects relate to this table (TableRelation or CalcFormula).

- [Table 1003 "Job Planning Line"](../table/1003.md): Customer Price Group
- [Table 110 "Sales Shipment Header"](../table/110.md): Customer Price Group
- [Table 111 "Sales Shipment Line"](../table/111.md): Customer Price Group
- [Table 112 "Sales Invoice Header"](../table/112.md): Customer Price Group
- [Table 113 "Sales Invoice Line"](../table/113.md): Customer Price Group
- [Table 114 "Sales Cr.Memo Header"](../table/114.md): Customer Price Group
- [Table 115 "Sales Cr.Memo Line"](../table/115.md): Customer Price Group
- [Table 1304 "Sales Price and Line Disc Buff"](../table/1304.md): Sales Code
- [Table 1381 "Customer Templ."](../table/1381.md): Customer Price Group
- [Table 167 "Job"](../table/167.md): Customer Price Group
- [Table 169 "Job Ledger Entry"](../table/169.md): Customer Price Group
- [Table 18 "Customer"](../table/18.md): Customer Price Group
- [Table 210 "Job Journal Line"](../table/210.md): Customer Price Group
- [Table 30102 "Shpfy Shop"](../table/30102.md): Customer Price Group
- [Table 30152 "Shpfy Catalog"](../table/30152.md): Customer Price Group
- [Table 36 "Sales Header"](../table/36.md): Customer Price Group
- [Table 37 "Sales Line"](../table/37.md): Customer Price Group
- [Table 459 "Sales Prepayment %"](../table/459.md): Sales Code
- [Table 5107 "Sales Header Archive"](../table/5107.md): Price Group Code
- [Table 5108 "Sales Line Archive"](../table/5108.md): Price Group Code
- [Table 5135 "Job Archive"](../table/5135.md): Customer Price Group
- [Table 5137 "Job Planning Line Archive"](../table/5137.md): Customer Price Group
- [Table 5900 "Service Header"](../table/5900.md): Customer Price Group
- [Table 5902 "Service Line"](../table/5902.md): Customer Price Group
- [Table 5990 "Service Shipment Header"](../table/5990.md): Customer Price Group
- [Table 5991 "Service Shipment Line"](../table/5991.md): Customer Price Group
- [Table 5992 "Service Invoice Header"](../table/5992.md): Customer Price Group
- [Table 5993 "Service Invoice Line"](../table/5993.md): Customer Price Group
- [Table 5994 "Service Cr.Memo Header"](../table/5994.md): Customer Price Group
- [Table 5995 "Service Cr.Memo Line"](../table/5995.md): Customer Price Group
- [Table 6010 "Service Header Archive"](../table/6010.md): Customer Price Group
- [Table 6012 "Service Line Archive"](../table/6012.md): Customer Price Group
- [Table 6081 "Serv. Price Group Setup"](../table/6081.md): Cust. Price Group Code
- [Table 6660 "Return Receipt Header"](../table/6660.md): Customer Price Group
- [Table 6661 "Return Receipt Line"](../table/6661.md): Customer Price Group
- [Table 7002 "Sales Price"](../table/7002.md): Sales Code
- [Table 7023 "Sales Price Worksheet"](../table/7023.md): Sales Code
- [Table 8002 "Planned Subscription Line"](../table/8002.md): Customer Price Group
- [Table 8052 "Customer Subscription Contract"](../table/8052.md): Customer Price Group
- [Table 8055 "Subscription Package"](../table/8055.md): Price Group
- [Table 8057 "Subscription Header"](../table/8057.md): Customer Price Group
- [Table 8058 "Item Subscription Package"](../table/8058.md): Price Group
- [Table 8059 "Subscription Line"](../table/8059.md): Customer Price Group
- [Table 8068 "Sales Subscription Line"](../table/8068.md): Customer Price Group
- [Table 8069 "Sales Sub. Line Archive"](../table/8069.md): Customer Price Group
- [Table 8073 "Subscription Line Archive"](../table/8073.md): Customer Price Group

## Pages and codeunits on this table

- [Page 7 "Customer Price Groups"](../page/7.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28

## Deprecations

- field Coupled to CRM: Removed 26.0 (#if not CLEANSCHEMA26), "Replaced by flow field Coupled to Dataverse"

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). 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: "Customer Price Group")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
