Codeunit 7005 Price Calculation - Undefined

Base Application, Microsoft.Pricing.Calculation

Source AL, 97 lines

src/Layers/W1/BaseApp/Pricing/Calculation/PriceCalculationUndefined.Codeunit.allines 9 to 24 of 97, Copyright (c) Microsoft Corporation. MIT

codeunit 7005 "Price Calculation - Undefined" implements "Price Calculation"{    var        CurrPriceCalculationSetup: Record "Price Calculation Setup";        CurrLineWithPrice: Interface "Line With Price";        MissingPriceSetupErr: Label 'There is no active price calculation setup (default ones: %1) matching the line: Price Type = %2, TableNo = %3, Record content = %4',            Comment = '%1 -  list of default setup records, %2 - price type value, %3 - table id, %4 - content of the line';    local procedure ShowError()    var        PriceCalculationSetup: Record "Price Calculation Setup";        SetupList: Text;        Line: Variant;    begin        CurrLineWithPrice.GetLine(Line);        PriceCalculationSetup.SetRange(Default);

All 97 lines

Public procedures 13 in 29

GetLine(var Line: Variant)17-29
Init(LineWithPrice: Interface "Line With Price"; PriceCalculationSetup: Record "Price Calculation Setup")17-29
ApplyDiscount()17-29
ApplyPrice(CalledByFieldNo: Integer)17-29
CountDiscount(ShowAll: Boolean): Integer17-29
CountPrice(ShowAll: Boolean): Integer17-29

All 13 procedures