---
id: object/codeunit/7049
type: object
title: Codeunit 7049 "Feature - Price Calculation"
summary: Codeunit 7049 "Feature - Price Calculation" in Base Application (Microsoft.Pricing.Calculation). 9 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.
tier: official
language: en
tags:
  - codeunit
  - 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: 1a0480f8f863760f9bfc711c44a62cdc3ebfd55936854e5754373ffba4c0682d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Pricing/Calculation/FeaturePriceCalculation.Codeunit.al
    title: src/Layers/W1/BaseApp/Pricing/Calculation/FeaturePriceCalculation.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 7049
name: Feature - Price Calculation
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"
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 20
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 22
  implements: 1
---

# Codeunit 7049 "Feature - Price Calculation"

> Codeunit 7049 "Feature - Price Calculation" in Base Application (Microsoft.Pricing.Calculation). 9 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28.

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

## Events published

- `OnAfterCountRecords(var TempDocumentEntry: Record "Document Entry" temporary)` (integration)
- `OnAfterGetListOfTables(var Result: Text)` (integration)
- `OnUpdateDataOnBeforeUpdateAmountTypeOnHeaders(FeatureDataUpdateStatus: Record "Feature Data Update Status")` (integration)

## Procedures

- `IsDataUpdateRequired(): Boolean`
- `ReviewData()`
- `AfterUpdate(FeatureDataUpdateStatus: Record "Feature Data Update Status")`
- `UpdateData(FeatureDataUpdateStatus: Record "Feature Data Update Status")`
- `GetTaskDescription(): Text`
- `GetPriceListNoSeries(SeriesCode: Code[20]; Description: Text[100]; StartingNo: Code[20]; EndingNo: Code[20]): Code[20]`
- `DefineDefaultPriceList(PriceType: Enum "Price Type"; SourceGroup: Enum "Price Source Group"): Code[20]`
- `FailIfFeatureDisabled()`
- `FailIfFeatureEnabled()`

Plus 8 local procedures.

## 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 7001 "Price Calculation Mgt."](../codeunit/7001.md) (3 calls: `AfterUpdate → (object)`, `FailIfFeatureDisabled → IsExtendedPriceCalculationEnabled`, `FailIfFeatureEnabled → IsExtendedPriceCalculationEnabled`)
- [Codeunit 7009 "CopyFromToPriceListLine"](../codeunit/7009.md) (2 calls: `UpdateData → CopyFrom`, `UpdateData → SetGenerateHeader`)
- [Codeunit 2614 "Feature Data Update Mgt."](../codeunit/2614.md) (1 call: `UpdateData → LogTask`)
- [Codeunit 5330 "CRM Integration Management"](../codeunit/5330.md) (1 call: `AdjustCRMConnectionSetup → IsCRMIntegrationEnabled`)
- [Codeunit 5334 "CRM Setup Defaults"](../codeunit/5334.md) (1 call: `AdjustCRMConnectionSetup → ResetExtendedPriceListConfiguration`)
- [Codeunit 7017 "Price List Management"](../codeunit/7017.md) (1 call: `DefineDefaultPriceList → DefineDefaultPriceList`)

## Called by

- [Page 1011 "Job Resource Prices"](../page/1011.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 1012 "Job Item Prices"](../page/1012.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 1013 "Job G/L Account Prices"](../page/1013.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 1345 "Sales Price and Line Discounts"](../page/1345.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 203 "Resource Costs"](../page/203.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 204 "Resource Prices"](../page/204.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 493 "Resource Price Changes"](../page/493.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 7002 "Sales Prices"](../page/7002.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 7004 "Sales Line Discounts"](../page/7004.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 7006 "Price Calculation Setup"](../page/7006.md) (1 call: `OnOpenPage → FailIfFeatureDisabled`)
- [Page 7014 "Purchase Line Discounts"](../page/7014.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 7015 "Sales Price Lists"](../page/7015.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7016 "Sales Price List"](../page/7016.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7017 "Purchase Price Lists"](../page/7017.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7018 "Purchase Price List"](../page/7018.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7019 "Sales Job Price Lists"](../page/7019.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7020 "Purchase Job Price Lists"](../page/7020.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7022 "Price Worksheet"](../page/7022.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7023 "Sales Price Worksheet"](../page/7023.md) (1 call: `OnInit → FailIfFeatureEnabled`)
- [Page 7024 "Prices Overview"](../page/7024.md) (1 call: `OnInit → FailIfFeatureDisabled`)
- [Page 7025 "Price Calculation Methods"](../page/7025.md) (1 call: `OnOpenPage → FailIfFeatureDisabled`)
- [Page 7026 "Price Calculation Method Card"](../page/7026.md) (1 call: `OnInit → FailIfFeatureDisabled`)

## Implements

- [Interface "Feature Data Update"](../interface/feature-data-update.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, 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). 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: "codeunit", object_name: "Feature - Price Calculation")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
