Codeunit "Price Calculation - Undefined"

ID 7005
Namespace: Microsoft.Pricing.Calculation

Implements

Methods

GetLine

procedure GetLine(var Line: Variant)

Parameters

Name Type Description
Line Variant

Init

procedure Init(LineWithPrice: Interface "Line With Price", PriceCalculationSetup: Record "Price Calculation Setup")

Parameters

Name Type Description
LineWithPrice Interface Microsoft.Pricing.PriceList."Line With Price"
PriceCalculationSetup Table Microsoft.Pricing.Calculation."Price Calculation Setup"

ApplyDiscount

procedure ApplyDiscount()

ApplyPrice

procedure ApplyPrice(CalledByFieldNo: Integer)

Parameters

Name Type Description
CalledByFieldNo Integer

CountDiscount

procedure CountDiscount(ShowAll: Boolean): Integer

Parameters

Name Type Description
ShowAll Boolean

Returns

Type Description
Integer

CountPrice

procedure CountPrice(ShowAll: Boolean): Integer

Parameters

Name Type Description
ShowAll Boolean

Returns

Type Description
Integer

FindDiscount

procedure FindDiscount(var TempPriceListLine: Record "Price List Line", ShowAll: Boolean): Boolean

Parameters

Name Type Description
TempPriceListLine Table Microsoft.Pricing.PriceList."Price List Line"
ShowAll Boolean

Returns

Type Description
Boolean

FindPrice

procedure FindPrice(var TempPriceListLine: Record "Price List Line", ShowAll: Boolean): Boolean

Parameters

Name Type Description
TempPriceListLine Table Microsoft.Pricing.PriceList."Price List Line"
ShowAll Boolean

Returns

Type Description
Boolean

IsDiscountExists

procedure IsDiscountExists(ShowAll: Boolean): Boolean

Parameters

Name Type Description
ShowAll Boolean

Returns

Type Description
Boolean

IsPriceExists

procedure IsPriceExists(ShowAll: Boolean): Boolean

Parameters

Name Type Description
ShowAll Boolean

Returns

Type Description
Boolean

PickDiscount

procedure PickDiscount()

PickPrice

procedure PickPrice()

ShowPrices

procedure ShowPrices(var TempPriceListLine: Record "Price List Line")

Parameters

Name Type Description
TempPriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

See also