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

# Codeunit 7007 "Price Asset List"

> Codeunit 7007 "Price Asset List" in Base Application (Microsoft.Pricing.Asset). 18 public procedures, 2 events. Present since at least BC23, still in BC30.

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

## Events published

- `OnAddOnBeforeInsert(var PriceAsset: Record "Price Asset")` (integration)
- `OnAfterGetValue(AssetType: Enum "Price Asset Type"; var Result: Code[20])` (integration)

## Procedures

- `Init()`
- `Count(): Integer`
- `GetMinMaxLevel(var Level: array[2] of Integer)`
- `IncLevel()`
- `SetLevel(Level: Integer)`
- `Add(AssetType: Enum "Price Asset Type"; AssetNo: Code[20])`
- `Add(AssetType: Enum "Price Asset Type"; AssetId: Guid)`
- `Add(AssetType: Enum "Price Asset Type")`
- `Add(PriceAsset: Record "Price Asset")`
- `Add(PriceCalculationBuffer: Record "Price Calculation Buffer")`
- `GetValue(AssetType: Enum "Price Asset Type"): Code[20]`
- `Copy(var FromPriceAssetList: Codeunit "Price Asset List")`
- `Append(var FromPriceAssetList: Codeunit "Price Asset List")`
- `GetList(var ToTempPriceAsset: Record "Price Asset" temporary): Boolean`
- `First(var PriceAsset: Record "Price Asset"; AtLevel: Integer): Boolean`
- `Next(var PriceAsset: Record "Price Asset"): Boolean`
- `Remove(AssetType: Enum "Price Asset Type"): Boolean`
- `RemoveAtLevel(AssetType: Enum "Price Asset Type"; Level: Integer): Boolean`

Plus 4 local procedures.

## Called by

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 7008 "Price Calculation Buffer Mgt."](../codeunit/7008.md) (5 calls: `AddAsset → Add`, `GetAssets → Copy`, `Set → Add`, …)
- [Codeunit 7017 "Price List Management"](../codeunit/7017.md) (4 calls: `BuildAssetFilters → First`, `BuildAssetFilters → Next`, `CheckIfPriceListLineMarkingIsNeeded → First`, …)
- [Codeunit 7002 "Price Calculation - V16"](../codeunit/7002.md) (3 calls: `CopyLinesBySource → First`, `CopyLinesBySource → GetMinMaxLevel`, `CopyLinesBySource → Next`)
- [Codeunit 7018 "Price UX Management"](../codeunit/7018.md) (2 calls: `ShowPriceListLines → Add`, `ShowPriceListLines → Init`)
- [Codeunit 7041 "Price Asset - Item"](../codeunit/7041.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Codeunit 7042 "Price Asset - Item Disc. Group"](../codeunit/7042.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Codeunit 7043 "Price Asset - Resource"](../codeunit/7043.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Codeunit 7044 "Price Asset - Resource Group"](../codeunit/7044.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Codeunit 7045 "Price Asset - Service Cost"](../codeunit/7045.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Codeunit 7046 "Price Asset - G/L Account"](../codeunit/7046.md) (2 calls: `PutRelatedAssetsToList → Add`, `PutRelatedAssetsToList → SetLevel`)
- [Page 30 "Item Card"](../page/30.md) (1 call: `GetPriceActionText → Add`)
- [Page 7005 "Price List Line Review"](../page/7005.md) (1 call: `SetDataCaptionExpr → GetList`)
- [Page 7010 "Get Price Line"](../page/7010.md) (1 call: `SetDataCaptionExpr → GetList`)
- [Table 7003 "Price Asset"](../table/7003.md) (1 call: `PutRelatedAssetsToList → Count`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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