Codeunit 7002 Price Calculation - V16 in 21
- App
- Base Application
Versions171819202122232425262728latest
Source29
Procedures, 19
| Name | Parameters | Returns | Access | Obsolete | |||
|---|---|---|---|---|---|---|---|
| GetLine | (var Variant) | public | - | ||||
| Init | (Interface Line With Price, Record Price Calculation Setup) | public | - | ||||
| ApplyDiscount | () | public | - | ||||
| ApplyPrice | (Integer) | public | - | ||||
| CountDiscount | (Boolean) | Integer | public | - | |||
| CountPrice | (Boolean) | Integer | public | - | |||
| FindDiscount | (var Record Price List Line, Boolean) | Boolean | public | - | |||
| FindPrice | (var Record Price List Line, Boolean) | Boolean | public | - | |||
| IsDiscountExists | (Boolean) | Boolean | public | - | |||
| IsPriceExists | (Boolean) | Boolean | public | - | |||
| 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) | Boolean | public | - | |||
| AmountTypeFromPriceType | (Enum Price Type) | Enum Price Amount Type | public | Pending 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) | Boolean | public | - | |||
| CopyLinesBySource | (var Record Price List Line, Record Price Source, var Codeunit Price Asset List, var Record Price List Line) | Boolean | public | - | |||
| CopyLinesBySource | (var Record Price List Line, Record Price Source, Record Price Asset, var Record Price List Line) | Boolean | public | - | |||
| CalcBestAmount | (Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line) | Boolean | public | - | |||
Events, 10
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnAfterIsBetterLine | (Record Price List Line, Enum Price Amount Type, Record Price List Line, var Boolean) | - |
| Integration event | OnAfterPickBestLine | (Enum Price Amount Type, Record Price List Line, var Record Price List Line, var Boolean) | - |
| Integration event | OnBeforeCalcBestAmount | (Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line) | - |
| Integration event | OnIsDisabled | (var Boolean) | - |
| Integration event | OnAfterIsDegradedLine | (Record Price List Line, Record Price List Line, var Boolean) | - |
| Integration event | OnAfterIsImprovedLine | (Record Price List Line, Record Price List Line, var Boolean) | - |
| Integration event | OnBeforePickBestLine | (Enum Price Amount Type, Record Price List Line, var Record Price List Line, var Boolean, var Boolean) | - |
| Integration event | OnFindLinesOnBefoerPriceSourceListGetMinMaxLevel | (var Codeunit Price Asset List, var Codeunit Price Source List, Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt.) | - |
| Integration event | OnBeforeFindLines | (Enum Price Amount Type, var Record Price List Line, var Codeunit Price Calculation Buffer Mgt., Boolean, var Boolean, var Boolean) | - |
| Integration event | OnAfterCalcBestAmount | (Enum Price Amount Type, var Codeunit Price Calculation Buffer Mgt., var Record Price List Line, var Boolean) | - |