Codeunit 7002 Price Calculation - V16

Base Application, Microsoft.Pricing.Calculation

21 procedures

ProcedureVersions
GetLine(var Line: Variant)17-29
Init(NewLineWithPrice: 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
FindDiscount(var TempPriceListLine: Record "Price List Line"; ShowAll: Boolean): Boolean17-29
FindPrice(var TempPriceListLine: Record "Price List Line"; ShowAll: Boolean): Boolean17-29
IsDiscountExists(ShowAll: Boolean): Boolean17-29
IsPriceExists(ShowAll: Boolean): Boolean17-29
PickDiscount()17-29
PickPrice()17-29
ShowPrices(var TempPriceListLine: Record "Price List Line")17-29
IsBetterLine(var PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; BestPriceListLine: Record "Price List Line"): Boolean17-29
AmountTypeFromPriceType(PriceType: Enum "Price Type"): Enum "Price Amount Type"gone after 24
Pending, tag 17.0, obsolete since 17: AmountType::Cost is replaced by the combination of AmountType::Price with PriceType::Purchase.
FindLines(AmountType: Enum "Price Amount Type"; var TempPriceListLine: Record "Price List Line" temporary; var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."; ShowAll: Boolean): Boolean17-29
CopyLinesBySource(var PriceListLine: Record "Price List Line"; PriceSource: Record "Price Source"; var PriceAssetList: Codeunit "Price Asset List"; var TempPriceListLine: Record "Price List Line" temporary): Boolean17-29
CopyLinesBySource(var PriceListLine: Record "Price List Line"; PriceSource: Record "Price Source"; PriceAsset: Record "Price Asset"; var TempPriceListLine: Record "Price List Line" temporary): Boolean17-29
CalcBestAmount(AmountType: Enum "Price Amount Type"; var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."; var PriceListLine: Record "Price List Line"): Boolean17-29
IsDegradedLine(PriceListLine: Record "Price List Line"; BestPriceListLine: Record "Price List Line"): Booleannew in 22
IsImprovedLine(PriceListLine: Record "Price List Line"; BestPriceListLine: Record "Price List Line"): Booleannew in 22