Codeunit 7018 Price UX Management

Base Application, Microsoft.Pricing.PriceList

Source AL, 705 lines

src/Layers/W1/BaseApp/Pricing/PriceList/PriceUXManagement.Codeunit.allines 18 to 33 of 705, Copyright (c) Microsoft Corporation. MIT

codeunit 7018 "Price UX Management"{    var        MissingAlternateImplementationErr: Label 'You cannot setup exceptions because there is no alternate implementation.';    procedure GetFirstSourceFromFilter(var PriceListHeader: Record "Price List Header"; var PriceSource: Record "Price Source"; DefaultSourceType: Enum "Price Source Type")    var        Job: Record Job;        SourceType: Enum "Price Source Type";        SourceGroup: Enum "Price Source Group";        OpenFromJobCard: Boolean;    begin        PriceSource.InitSource();        PriceListHeader.FilterGroup(2);        if PriceListHeader.GetFilter("Source Group") <> '' then            Evaluate(SourceGroup, GetFirstFilterValue(PriceListHeader.GetFilter("Source Group")));

All 705 lines

Events 11 in 29

[IntegrationEvent] OnBeforeShowPriceLists(FromRecord: Variant; PriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var Handled: Boolean)17-29
[IntegrationEvent] OnBeforeGetPriceSource(FromRecord: Variant; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List")new in 18
[IntegrationEvent] OnAfterGetPriceSource(FromRecord: Variant; var PriceSourceList: Codeunit "Price Source List")new in 18
[IntegrationEvent] OnAfterSelectPriceLists(var PriceListHeader: Record "Price List Header"; var PriceListCode: Code[20])new in 20
[IntegrationEvent] OnAfterEditPriceList(var PriceListHeader: Record "Price List Header"; var PriceListCode: Code[20])new in 20
[IntegrationEvent] OnAfterShowPriceLists(PriceSourceList: Codeunit "Price Source List"; AmountType: Enum "Price Amount Type"; PriceType: Enum "Price Type")new in 20
[IntegrationEvent] OnShowPriceListLinesOnAfterPriceAssetListAdd(PriceAsset: Record "Price Asset"; PriceType: Enum "Price Type"; var PriceAssetList: Codeunit "Price Asset List"; var PriceListLineReview: Page "Price List Line Review")new in 21

All 14 events in 17-29

Public procedures 28 in 29

GetFirstSourceFromFilter(var PriceListHeader: Record "Price List Header"; var PriceSource: Record "Price Source"; DefaultSourceType: Enum "Price Source Type")17-29
IsAmountTypeFiltered(var PriceListHeader: Record "Price List Header"): Boolean17-29
IsAmountTypeFiltered(var PriceListHeader: Record "Price List Header"; var FirstFilterValue: Enum "Price Amount Type"): Boolean17-29
GetSupportedMethods(var TempPriceCalculationSetup: Record "Price Calculation Setup" temporary; var ImplementationsPerMethod: Dictionary of [Integer, Integer])17-29
PickImplementation(var CurrPriceCalculationSetup: Record "Price Calculation Setup")17-29
LookupPriceLists(SourceGroup: Enum "Price Source Group"; PriceType: Enum "Price Type"; var PriceListCode: Code[20]): Boolean17-29

All 29 procedures in 17-29

Changes 2 in 26

List17181920212223242526272829
Procedures511
Events214422
[IntegrationEvent] OnBeforeShowPriceListLines(PriceSource: Record "Price Source"; PriceAsset: Record "Price Asset"; PriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean)gone after 25
gone
[IntegrationEvent] OnBeforeShowPriceListLines(PriceSource: Record "Price Source"; var PriceAsset: Record "Price Asset"; PriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean)new in 26
added

All 22 changes in 17-29