FindPriceAdjustments Method

Get all retail price adjustments matching the given product, channel price groups, currency, unit of measure, and date.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.Data
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

ReadOnlyCollection<PriceAdjustment> FindPriceAdjustments(
	long productId,
	long distinctProductVariantId,
	IEnumerable<long> priceGroupIds,
	string currencyCode,
	string unitOfMeasure,
	DateTime dateToCheck
)

Parameters

productId
Type: System.Int64
distinctProductVariantId
Type: System.Int64
priceGroupIds
Type: System.Collections.Generic.IEnumerable<Int64>
currencyCode
Type: System.String
unitOfMeasure
Type: System.String
dateToCheck
Type: System.DateTime

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PriceAdjustment>
All price adjustment rules which may apply to the item and context given.

Community Additions

Show: