Codeunit "Price Calculation Mgt."
ID 7001
Namespace: Microsoft.Pricing.Calculation
Methods
RefreshSetup
procedure RefreshSetup(): Boolean
Returns
GetHandler
procedure GetHandler(LineWithPrice: Interface "Line With Price", var PriceCalculation: Interface "Price Calculation"): Boolean
Parameters
Returns
VerifyMethodImplemented
procedure VerifyMethodImplemented(Method: Enum "Price Calculation Method", PriceType: Enum "Price Type")
Parameters
FindActiveSubscriptions
procedure FindActiveSubscriptions(): Text
Returns
FindSetup
procedure FindSetup(LineWithPrice: Interface "Line With Price", var PriceCalculationSetup: Record "Price Calculation Setup"): Boolean
Parameters
Returns
IsExtendedPriceCalculationEnabled
procedure IsExtendedPriceCalculationEnabled(): Boolean
Returns
GetFeatureKey
procedure GetFeatureKey(): Text[50]
Returns
Type
Description
Text[50]
GetFeatureTelemetryName
procedure GetFeatureTelemetryName(): Text[50]
Returns
Type
Description
Text[50]
TestIsEnabled
Obsolete
This element will become obsolete from version 19.0. Replaced by the method in Codeunit 7049 Feature - Price Calculation
[Obsolete(Replaced by the method in Codeunit 7049 Feature - Price Calculation,19.0)]
procedure TestIsEnabled()
Events
OnIsExtendedPriceCalculationEnabled
[IntegrationEvent(False,False)]
local procedure OnIsExtendedPriceCalculationEnabled(var Result: Boolean)
Parameters
Name
Type
Description
Result
Boolean
OnFindSupportedSetup
[IntegrationEvent(False,False)]
local procedure OnFindSupportedSetup(var TempPriceCalculationSetup: Record "Price Calculation Setup" temporary)
Parameters
OnGetHandlerOnAfterFindSetup
[IntegrationEvent(False,False)]
local procedure OnGetHandlerOnAfterFindSetup(LineWithPrice: Interface "Line With Price", var PriceCalculation: Interface "Price Calculation", var Result: Boolean, var PriceCalculationSetup: Record "Price Calculation Setup")
Parameters
See also