Interface Price Calculation

Base Application, Microsoft.Pricing.Calculation

Source AL, 95 lines

src/Layers/W1/BaseApp/Pricing/Calculation/PriceCalculation.Interface.allines 9 to 24 of 95, Copyright (c) Microsoft Corporation. MIT

interface "Price Calculation"{    /// <summary>    /// Save the source line as an interface variable inside the price calculation codeunit    /// </summary>    /// <param name="LineWithPrice">The interface parameter for the document or journal line.</param>    /// <returns>The updated source line.</returns>    procedure Init(LineWithPrice: Interface "Line With Price"; PriceCalculationSetup: Record "Price Calculation Setup")    /// <summary>    /// After the calculation is done by calling ApplyPrice() or ApplyDiscount()     /// the updated line is retrieved by this method.     /// </summary>    /// <param name="Line">The updated source line.</param>    procedure GetLine(var Line: Variant)

All 95 lines

Public procedures 13 in 29

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

All 13 procedures

Implemented by 4

codeunit 7002 "Price Calculation - V16"Base Application17-29
codeunit 7003 "Price Calculation - V15"Base Application17-29
codeunit 7005 "Price Calculation - Undefined"Base Application17-29
enum 7011 "Price Calculation Handler"Base Application17-29