Table 340 "Customer Discount Group"
Base Application · Microsoft.Sales.Pricing
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC27declaration changed
- BC282 fields changed
- BC29-30unchanged
Neighbourhood 37 connected objects and pages
Base Application · Microsoft.Sales.Pricing · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 512 “Customer Disc. Groups” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | Customer Discount 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 Δ BC28 | Code[20] | Specifies a code for the customer discount group. | NotBlank |
| 2 | Description Δ BC28 | Text[100] | Specifies a description for the customer discount group. |
Keys
- Key1: Code (clustered)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 7006 “Price Helper - V16” AfterDeleteCustomerDiscountGroup, Codeunit 7019 “Price Helper - V15” AfterDeleteCustomerDiscountGroup
- OnAfterRenameEvent: Codeunit 7006 “Price Helper - V16” AfterRenameCustomerDiscGroup
Procedures
ToPriceSource(var PriceSource: Record "Price Source"): Converts this customer discount group to a price source record.
Triggers
OnDelete
Relations
- lookup page Page 512 “Customer Disc. Groups”
Referenced by
33 fields in 33 objects relate to this table (TableRelation or CalcFormula).
- Table 110 “Sales Shipment Header”: Customer Disc. Group
- Table 111 “Sales Shipment Line”: Customer Disc. Group
- Table 112 “Sales Invoice Header”: Customer Disc. Group
- Table 113 “Sales Invoice Line”: Customer Disc. Group
- Table 114 “Sales Cr.Memo Header”: Customer Disc. Group
- Table 115 “Sales Cr.Memo Line”: Customer Disc. Group
- Table 1304 “Sales Price and Line Disc Buff”: Sales Code
- Table 1381 “Customer Templ.”: Customer Disc. Group
- Table 167 “Job”: Customer Disc. Group
- Table 18 “Customer”: Customer Disc. Group
- Table 30102 “Shpfy Shop”: Customer Discount Group
- Table 30152 “Shpfy Catalog”: Customer Discount Group
- Table 36 “Sales Header”: Customer Disc. Group
- Table 37 “Sales Line”: Customer Disc. Group
- Table 5107 “Sales Header Archive”: Cust./Item Disc. Gr.
- Table 5108 “Sales Line Archive”: Customer Disc. Group
- Table 5135 “Job Archive”: Customer Disc. Group
- Table 5900 “Service Header”: Customer Disc. Group
- Table 5902 “Service Line”: Customer Disc. Group
- Table 5990 “Service Shipment Header”: Customer Disc. Group
- Table 5991 “Service Shipment Line”: Customer Disc. Group
- Table 5992 “Service Invoice Header”: Customer Disc. Group
- Table 5993 “Service Invoice Line”: Customer Disc. Group
- Table 5994 “Service Cr.Memo Header”: Customer Disc. Group
- Table 5995 “Service Cr.Memo Line”: Customer Disc. Group
- Table 6010 “Service Header Archive”: Customer Disc. Group
- Table 6012 “Service Line Archive”: Customer Disc. Group
- Table 6660 “Return Receipt Header”: Customer Disc. Group
- Table 6661 “Return Receipt Line”: Customer Disc. Group
- Table 7000 “Price List Header”: Assign-to No.
- Table 7001 “Price List Line”: Assign-to No.
- Table 7004 “Sales Line Discount”: Sales Code
- Table 7022 “Price Worksheet Line”: Assign-to No.
Pages and codeunits on this table
- Page 512 “Customer Disc. Groups” (source table)
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 Discount Group"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.