---
id: object/table/7008
type: object
title: Table 7008 "Dtld. Price Calculation Setup"
summary: Table 7008 "Dtld. Price Calculation Setup" in Base Application (Microsoft.Pricing.Calculation). 14 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, 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: 555ef97c4a8824d94c9d993b2d1b6930c145b84a58db455c29be7756910a78df
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Pricing/Calculation/DtldPriceCalculationSetup.Table.al
    title: src/Layers/W1/BaseApp/Pricing/Calculation/DtldPriceCalculationSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7008
name: Dtld. Price Calculation Setup
caption: Detailed Price Calculation Setup
namespace: Microsoft.Pricing.Calculation
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 14
  procedures: 7
  events: 0
  subscribers: 0
relations:
  out: 10
  referenced_by: 1
  pages: 1
  extended_by: 1
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7008 "Dtld. Price Calculation Setup"

> Table 7008 "Dtld. Price Calculation Setup" in Base Application (Microsoft.Pricing.Calculation). 14 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Pricing.Calculation · captioned "Detailed Price Calculation Setup" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Pricing/Calculation/DtldPriceCalculationSetup.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Detailed Price Calculation Setup |
| 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 | Line No. | Integer | — | AutoIncrement |
| 2 | Setup Code | Code[100] | Specifies a price calculation setup code. | TableRelation [Table 7006 "Price Calculation Setup"](../table/7006.md) ("Price Calculation Setup".Code where(Enabled = const(true))) |
| 3 | Method | Enum "Price Calculation Method" | Specifies a price calculation method. | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md); not editable |
| 4 | Type | Enum "Price Type" | Specifies what type of amount to calculate - sale or purchase. | enum [Enum 7009 "Price Type"](../enum/7009.md); not editable |
| 5 | Asset Type | Enum "Price Asset Type" | Specifies a product type. | enum [Enum 7004 "Price Asset Type"](../enum/7004.md); not editable |
| 6 | Asset No. | Code[20] | Specifies a product number. |  |
| 7 | Source Group | Enum "Price Source Group" | Specifies whether the prices come from groups of customers, vendors or projects. | enum [Enum 7002 "Price Source Group"](../enum/7002.md) |
| 8 | Source Type | Enum "Price Source Type" | Assign-to Type <small>caption</small> | enum [Enum 7003 "Price Source Type"](../enum/7003.md); not editable |
| 9 | Source No. | Code[20] | Specifies the unique identifier of the source of the price on the price list line. |  |
| 10 | Implementation | Enum "Price Calculation Handler" | Specifies a price calculation implementation name. | enum [Enum 7011 "Price Calculation Handler"](../enum/7011.md); not editable |
| 11 | Group Id | Code[100] | — | DataClassification SystemMetadata |
| 12 | Enabled | Boolean | Specifies whether the implementation codeunit is enabled. |  |
| 13 | Product No. | Code[20] | Specifies a product number. | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 152 "Resource Group"](../table/152.md), [Table 156 "Resource"](../table/156.md) (if ("Asset Type" = const(Item)) Item where("No." = field("Product No.")) else if ("Asset Type" = const("G/L Account")) "G/L Account" else if ("Asset Type" = const(Resource)) Resource else if ("Asset Type" = const("Resource Group")) "Resource Group" else if ("Asset Type" = const("Item Discount Group"...) |
| 14 | Assign-to No. | Code[20] | Specifies the unique identifier of the source of the price on the price list line. | TableRelation [Table 167 "Job"](../table/167.md), [Table 18 "Customer"](../table/18.md), [Table 23 "Vendor"](../table/23.md) (if ("Source Type" = const(Customer)) Customer else if ("Source Type" = const(Job)) Job else if ("Source Type" = const(Vendor)) Vendor) |

## Keys

- PK: Line No. (clustered)
- Key2: Group Id, Enabled

## Procedures

- `CopyTo(var PriceAsset: Record "Price Asset")`
- `CopyTo(var PriceSource: Record "Price Source")`

Plus 5 local procedures.

## Triggers

OnInsert

## Relations

- drill-down page [Page 7008 "Dtld. Price Calculation Setup"](../page/7008.md)
- lookup page [Page 7008 "Dtld. Price Calculation Setup"](../page/7008.md)
- Product No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- Product No.: TableRelation [Table 152 "Resource Group"](../table/152.md) (conditional)
- Product No.: TableRelation [Table 156 "Resource"](../table/156.md) (conditional)
- Assign-to No.: TableRelation [Table 167 "Job"](../table/167.md) (conditional)
- Assign-to No.: TableRelation [Table 18 "Customer"](../table/18.md) (conditional)
- Assign-to No.: TableRelation [Table 23 "Vendor"](../table/23.md) (conditional)
- Product No.: TableRelation [Table 27 "Item"](../table/27.md) (conditional)
- Setup Code: TableRelation [Table 7006 "Price Calculation Setup"](../table/7006.md)

## Referenced by

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

- [Table 7006 "Price Calculation Setup"](../table/7006.md): Details

## Pages and codeunits on this table

- [Page 7008 "Dtld. Price Calculation Setup"](../page/7008.md) (source table)

## Extended by

- [Table extension 6473 "Serv. Dtld. Price Calc. Setup"](../tableextension/6473.md)

## Across versions

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

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