Codeunit 7002 Price Calculation - V16 in 20

App
Base Application

Procedures, 19Events, 9

Versions171819202122232425262728latest

Source29

Procedures, 19

NameParametersReturnsAccessObsolete
GetLine(var Variant)public-
Init(Interface Line With Price, Record Price Calculation Setup)public-
ApplyDiscount()public-
ApplyPrice(Integer)public-
CountDiscount(Boolean)Integerpublic-
CountPrice(Boolean)Integerpublic-
FindDiscount(var Record Price List Line, Boolean)Booleanpublic-
FindPrice(var Record Price List Line, Boolean)Booleanpublic-
IsDiscountExists(Boolean)Booleanpublic-
IsPriceExists(Boolean)Booleanpublic-
PickDiscount()public-
PickPrice()public-
ShowPrices(var Record Price List Line)public-
IsBetterLine(var Record Price List Line, Enum Price Amount Type, Record Price List Line)Booleanpublic-
AmountTypeFromPriceType(Enum Price Type)Enum Price Amount TypepublicPending 17.0
AmountType::Cost is replaced by the combination of AmountType::Price with PriceType::Purchase.
FindLines(Enum Price Amount Type, var Record Price List Line, var Codeunit Price Calculation Buffer Mgt., Boolean)Booleanpublic-
CopyLinesBySource(var Record Price List Line, Record Price Source, var Codeunit Price Asset List, var Record Price List Line)Booleanpublic-
CopyLinesBySource(var Record Price List Line, Record Price Source, Record Price Asset, var Record Price List Line)Booleanpublic-
CalcBestAmount(Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line)Booleanpublic-

Events, 9

KindNameParametersObsolete
Integration eventOnAfterIsBetterLine(Record Price List Line, Enum Price Amount Type, Record Price List Line, var Boolean)-
Integration eventOnAfterPickBestLine(Enum Price Amount Type, Record Price List Line, var Record Price List Line, var Boolean)-
Integration eventOnBeforeCalcBestAmount(Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line)-
Integration eventOnIsDisabled(var Boolean)-
Integration eventOnAfterIsDegradedLine(Record Price List Line, Record Price List Line, var Boolean)-
Integration eventOnAfterIsImprovedLine(Record Price List Line, Record Price List Line, var Boolean)-
Integration eventOnBeforePickBestLine(Enum Price Amount Type, Record Price List Line, var Record Price List Line, var Boolean, var Boolean)-
Integration eventOnFindLinesOnBefoerPriceSourceListGetMinMaxLevel(var Codeunit Price Asset List, var Codeunit Price Source List, Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt.)-
Integration eventOnAfterCalcBestAmount(Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line)-