Closed Tech-Kishan closed 10 months ago
Hello, you can refer to the Commerce SDK sample here: https://github.com/microsoft/Dynamics365Commerce.Solutions/blob/release/9.48/src/PricingEngine/PricingSerivce/PricingService/PricingServiceSampleCustomization.cs
More specifically, the migrated code will be looking like
private async Task<GetPriceServiceResponse> CalculatePricesAsync(CalculatePricesServiceRequest request)
{
// Change here
var response = await request.RequestContext.Runtime.ExecuteNextAsync<GetPriceServiceResponse>(this, request, request.RequestContext, skipRequestTriggers: false).ConfigureAwait(false);
return response;
}
Migration issue: Price engine deprecated in Commerce SDK.
Summary
We have done customization in Retail SDK using Price engine. Kindly find code below. now we are trying to do migration Retail sdk to Commerce SDK. as we got to know that Price engine depreciated in Commerce sdk so we are facing issue during migration.
Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine
Version and Error Info Commerce SDK : 9.44 Exception/Error Details:
Retail SDK Code: