---
id: object/table/7005
type: object
title: Table 7005 "Price Source"
summary: Table 7005 "Price Source" in Base Application (Microsoft.Pricing.Source). 17 fields, 11 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC24-25.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "25"
  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: c2477f75753e523100f7c5e69f593ebbfb4014a283e35712eda6979ce2109b25
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Pricing/Source/PriceSource.Table.al
    title: src/Layers/W1/BaseApp/Pricing/Source/PriceSource.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: 7005
name: Price Source
namespace: Microsoft.Pricing.Source
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 17
  procedures: 25
  events: 6
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7005 "Price Source"

> Table 7005 "Price Source" in Base Application (Microsoft.Pricing.Source). 17 fields, 11 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC24-25.

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

## Properties

| Property | Value |
|---|---|
| TableType | Temporary |
| 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 | Source Type | Enum "Price Source Type" | — | enum [Enum 7003 "Price Source Type"](../enum/7003.md); DataClassification SystemMetadata |
| 2 | Source ID | Guid | — | DataClassification SystemMetadata |
| 3 | Source No. | Code[20] | — | DataClassification SystemMetadata |
| 4 | Parent Source No. | Code[20] | — | DataClassification SystemMetadata |
| 5 | Entry No. | Integer | — | DataClassification SystemMetadata |
| 6 | Level | Integer | — | DataClassification SystemMetadata |
| 7 | Source Group | Enum "Price Source Group" | — | enum [Enum 7002 "Price Source Group"](../enum/7002.md); DataClassification SystemMetadata |
| 8 | Price Type | Enum "Price Type" | — | enum [Enum 7009 "Price Type"](../enum/7009.md); DataClassification SystemMetadata |
| 10 | Currency Code | Code[10] | — | TableRelation [Table 4 "Currency"](../table/4.md); DataClassification SystemMetadata |
| 12 | Starting Date | Date | — | DataClassification SystemMetadata |
| 13 | Ending Date | Date | — | DataClassification SystemMetadata |
| 19 | Filter Source No. | Code[20] | — | not editable; DataClassification SystemMetadata |
| 21 | Allow Line Disc. | Boolean | — | DataClassification SystemMetadata |
| 22 | Allow Invoice Disc. | Boolean | — | DataClassification SystemMetadata |
| 23 | Price Includes VAT | Boolean | — | DataClassification SystemMetadata |
| 24 | VAT Bus. Posting Gr. (Price) | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group); DataClassification SystemMetadata |
| 25 | Description | Text[100] | — |  |

## Keys

- PK: Entry No.
- Level: Level

## Events published

- `OnBeforeVerifyAmountTypeForSourceType(PriceSource: Record "Price Source"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean)` (integration)
- `OnGetParentSourceType(PriceSource: Record "Price Source"; var ParentSourceType: Enum "Price Source Type")` (integration)
  - subscribers: [Codeunit 7037 "Price Source - Job Task"](../codeunit/7037.md) OnGetParentSourceTypeHandler
- `OnAfterInitSource(var PriceSource: Record "Price Source")` (integration)
- `OnBeforeGetDefaultAmountType(PriceSource: Record "Price Source"; var AmountType: Enum "Price Amount Type"; var IsHandled: Boolean)` (integration)
- `OnBeforePriceSourceInterfaceVerifyDate(PriceSource: Record "Price Source"; var IsHandled: Boolean)` (integration)
- `OnAfterFilterPriceLines(PriceSource: Record "Price Source"; var PriceListLine: Record "Price List Line")` (integration)

## Procedures

- `NewEntry(SourceType: Enum "Price Source Type"; NewLevel: Integer)`
- `GetDefaultAmountType(): Enum "Price Amount Type"`
- `InitSource()`
- `GetGroupNo(): Code[20]`
- `GetParentSourceType(): Enum "Price Source Type"`
- `IsForAmountType(AmountType: Enum "Price Amount Type"): Boolean`
- `IsParentSourceAllowed(): Boolean`
- `IsSourceNoAllowed(): Boolean`
- `LookupNo(): Boolean`
- `FilterPriceLines(var PriceListLine: Record "Price List Line"): Boolean`
- `VerifyAmountTypeForSourceType(AmountType: Enum "Price Amount Type")`

Plus 8 local procedures.

## Triggers

OnInsert

## Relations

- VAT Bus. Posting Gr. (Price): TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25

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