---
title: "Codeunit 7018 Price UX Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7018-price-ux-management/
type: codeunit
id: 7018
name: "Price UX Management"
app: "Base Application"
namespace: Microsoft.Pricing.PriceList
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7018-price-ux-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 7018 Price UX Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7018-price-ux-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Pricing.PriceList |
| Versions | 17-28 |
| Source file | Pricing/PriceList/PriceUXManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetFirstSourceFromFilter | (var Record Price List Header, var Record Price Source, Enum Price Source Type) | - | public | 17-28 | - | - |
| IsAmountTypeFiltered | (var Record Price List Header) | Boolean | public | 17-28 | - | - |
| IsAmountTypeFiltered | (var Record Price List Header, var Enum Price Amount Type) | Boolean | public | 17-28 | - | - |
| GetSupportedMethods | (var Record Price Calculation Setup, var Dictionary) | - | public | 17-28 | - | - |
| PickImplementation | (var Record Price Calculation Setup) | - | public | 17-28 | - | - |
| LookupPriceLists | (Enum Price Source Group, Enum Price Type, var Code[20]) | Boolean | public | 17-28 | - | - |
| ShowExceptions | (Record Price Calculation Setup) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Campaign, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Contact, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Customer, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Customer Discount Group) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Customer Price Group) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Vendor, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceLists | (Record Job, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceListLines | (Record Price Asset, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceListLines | (Record Price Source, Record Price Asset, Enum Price Amount Type) | - | public | 17-28 | - | - |
| ShowPriceLists | (Codeunit Price Source List, Enum Price Amount Type) | - | public | 17-28 | - | - |
| SetPriceListsFilters | (var Record Price List Header, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| SetPriceListsFilters | (var Record Price List Header, Codeunit Price Source List, Enum Price Amount Type) | - | public | 17-28 | - | - |
| SetPriceListLineFilters | (var Record Price List Line, Codeunit Price Asset List, Enum Price Type, Enum Price Amount Type) | - | public | 17-28 | - | - |
| SetPriceListLineFilters | (var Record Price List Line, Record Price Source, Codeunit Price Asset List, Enum Price Amount Type) | - | public | 17-28 | - | - |
| GetFirstAlternateSetupCode | (Record Price Calculation Setup) | Code[100] | public | 17-28 | - | - |
| PickAlternateImplementation | (var Record Dtld. Price Calculation Setup) | - | public | 17-28 | - | - |
| TestAlternateImplementation | (Record Price Calculation Setup) | - | public | 17-28 | - | - |
| EditPriceList | (Code[20]) | - | public | 18-28 | - | - |
| ShowPriceListLines | (Record Price Source, Enum Price Amount Type) | - | public | 18-28 | - | - |
| SetPriceListLineFilters | (var Record Price List Line, Codeunit Price Source List, Enum Price Amount Type) | - | public | 18-28 | - | - |
| SetPriceListLineFilters | (Codeunit Price Asset List, Enum Price Type, Enum Price Amount Type) | Boolean | public | 18-28 | - | - |
| InitSmartListDesigner | () | - | public | 18-21 | Pending 19.0 | Work item 393486 is closed so this function is not necessary anymore. |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeShowPriceLists | (Variant, Enum Price Type, Enum Price Amount Type, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeShowPriceListLines | (Record Price Source, Record Price Asset, Enum Price Type, Enum Price Amount Type, var Boolean) | 17-25 | - | - |
| Integration event | OnBeforeGetPriceSource | (Variant, Enum Price Type, var Codeunit Price Source List) | 18-28 | - | - |
| Integration event | OnAfterGetPriceSource | (Variant, var Codeunit Price Source List) | 18-28 | - | - |
| Integration event | OnShowPriceListLinesOnAfterPriceAssetListAdd | (Record Price Asset, Enum Price Type, var Codeunit Price Asset List) | 19-20 | - | - |
| Integration event | OnAfterSelectPriceLists | (var Record Price List Header, var Code[20]) | 20-28 | - | - |
| Integration event | OnAfterLookupPriceLists | (var Record Price List Header, var Enum Price Source Group, Enum Price Type, var Code[20]) | 20 | - | - |
| Integration event | OnAfterEditPriceList | (var Record Price List Header, var Code[20]) | 20-28 | - | - |
| Integration event | OnAfterShowPriceLists | (Codeunit Price Source List, Enum Price Amount Type, Enum Price Type) | 20-28 | - | - |
| Integration event | OnShowPriceListLinesOnAfterPriceAssetListAdd | (Record Price Asset, Enum Price Type, var Codeunit Price Asset List, var Page Price List Line Review) | 21-28 | - | - |
| Integration event | OnAfterLookupPriceLists | (var Record Price List Header, var Enum Price Source Group, Enum Price Type, var Code[20], var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeRunPurchasePriceList | (var Page Purchase Price Lists, var Record Price List Header) | 24-28 | - | - |
| Integration event | OnBeforeRunSalesPriceList | (var Page Sales Price Lists, var Record Price List Header) | 24-28 | - | - |
| Integration event | OnBeforeShowPriceListLines | (Record Price Source, var Record Price Asset, Enum Price Type, Enum Price Amount Type, var Boolean) | 26-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
