---
id: object/codeunit/7006
type: object
title: Codeunit 7006 "Price Helper - V16"
summary: Codeunit 7006 "Price Helper - V16" in Base Application (Microsoft.Pricing.PriceList). 2 public procedures, 2 events, 32 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25.
tier: official
language: en
tags:
  - codeunit
  - 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: 2e84697008ad76dd5688aff3c31aecc58eeacc1eea37854e5a976284b4d18463
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Pricing/PriceList/PriceHelperV16.Codeunit.al
    title: src/Layers/W1/BaseApp/Pricing/PriceList/PriceHelperV16.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: 7006
name: Price Helper - V16
namespace: Microsoft.Pricing.PriceList
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: 0
  procedures: 48
  events: 2
  subscribers: 32
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 1
  implements: 0
---

# Codeunit 7006 "Price Helper - V16"

> Codeunit 7006 "Price Helper - V16" in Base Application (Microsoft.Pricing.PriceList). 2 public procedures, 2 events, 32 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25.

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

## Properties

| Property | Value |
|---|---|
| SingleInstance | true |

## Events published

- `OnBeforeDeletePrices(SourceType: Enum "Price Source Type"; SourceNo: Code[20]; ParentSourceNo: Code[20]; var SkipDeletePriceListHeader: Boolean)` (integration)
- `OnAfterDeletePrices(SourceType: Enum "Price Source Type"; SourceNo: Code[20]; ParentSourceNo: Code[20])` (integration)

## Event subscriptions

- AfterDeleteCampaign subscribes to Table "Campaign" OnAfterDeleteEvent
- AfterDeleteContact subscribes to Table "Contact" OnAfterDeleteEvent
- AfterDeleteCustomer subscribes to Table "Customer" OnAfterDeleteEvent
- AfterDeleteCustomerPriceGroup subscribes to Table "Customer Price Group" OnAfterDeleteEvent
- AfterDeleteCustomerDiscountGroup subscribes to Table "Customer Discount Group" OnAfterDeleteEvent
- AfterDeleteVendor subscribes to Table "Vendor" OnAfterDeleteEvent
- AfterDeleteGLAccount subscribes to Table "G/L Account" OnAfterDeleteEvent
- AfterDeleteJob subscribes to Table "Job" OnAfterDeleteEvent
- AfterDeleteJobTask subscribes to Table "Job Task" OnAfterDeleteEvent
- AfterDeleteItem subscribes to Table "Item" OnAfterDeleteEvent
- AfterDeleteItemDiscountGroup subscribes to Table "Item Discount Group" OnAfterDeleteEvent
- AfterDeleteItemVariant subscribes to Table "Item Variant" OnAfterDeleteEvent
- AfterDeleteResource subscribes to Table "Resource" OnAfterDeleteEvent
- AfterDeleteResourceGroup subscribes to Table "Resource Group" OnAfterDeleteEvent
- AfterModifyStartingDateCampaign subscribes to Table "Campaign" OnAfterValidateEvent (Starting Date)
- AfterModifyEndingDateCampaign subscribes to Table "Campaign" OnAfterValidateEvent (Ending Date)
- AfterRenameCampaign subscribes to Table "Campaign" OnAfterRenameEvent
- AfterRenameContact subscribes to Table "Contact" OnAfterRenameEvent
- AfterRenameCustomer subscribes to Table "Customer" OnAfterRenameEvent
- AfterRenameCustomerDiscGroup subscribes to Table "Customer Discount Group" OnAfterRenameEvent
- AfterRenameCustomerPriceGroup subscribes to Table "Customer Price Group" OnAfterRenameEvent
- AfterRenameGLAccount subscribes to Table "G/L Account" OnAfterRenameEvent
- AfterRenameItem subscribes to Table "Item" OnAfterRenameEvent
- AfterRenameItemDiscountGroup subscribes to Table "Item Discount Group" OnAfterRenameEvent
- AfterRenameItemVariant subscribes to Table "Item Variant" OnAfterRenameEvent
- AfterRenameResource subscribes to Table "Resource" OnAfterRenameEvent
- AfterRenameResourceGroup subscribes to Table "Resource Group" OnAfterRenameEvent
- AfterRenameVendor subscribes to Table "Vendor" OnAfterRenameEvent
- AfterRenameJob subscribes to Table "Job" OnAfterRenameEvent
- AfterRenameJobTask subscribes to Table "Job Task" OnAfterRenameEvent
- AfterRenameUnitOfMeasure subscribes to Table "Unit of Measure" OnAfterRenameEvent
- BeforeCopyJobPrices subscribes to Codeunit "Copy Job" OnBeforeCopyJobPrices

## Procedures

- `DeletePriceLines(AssetType: Enum "Price Asset Type"; AssetNo: Code[20]; VariantCode: Code[10])`
- `RenameAssetInPrices(AssetType: Enum "Price Asset Type"; xAssetNo: Code[20]; AssetNo: Code[20])`

Plus 12 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) (1 call: `CopyJobPrices → IsExtendedPriceCalculationEnabled`)
- [Codeunit 7017 "Price List Management"](../codeunit/7017.md) (1 call: `ConfirmEditingActivePriceList → IsAllowedEditingActivePrice`)

## Called by

- [Codeunit 6457 "Serv. Price Helper V16"](../codeunit/6457.md) (2 calls: `AfterDeleteServiceCost → DeletePriceLines`, `AfterRenameServiceCost → RenameAssetInPrices`)

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