Pricing and Discount – Product Price Precision

In the United States, the common price precision is two digits – for example, a mug costs $9.99 – except when it is not. Example: gasoline In the gas pump, it is three digits, for example, $2.499 per gallon Example: nails In some hardware stores, you would get $4.99 for 100 nails. So per “each”…

0

Dynamics Retail Discount Extensibility – Engagement Notes

I have talked to many partners about pricing and discount extensibility, not just for Dynamics 365 for Retail, but also for AX 2012. I thought to share the experience. Full picture of customer discount scenarios I often get asked about a specific discount customization, yet I always ask for full discount scenarios. For example, buy…

0

Pricing and Discount – Dual Unit of Measures

For some products, we have to deal with dual unit of measures for pricing and discount. Example: cheese The price on a piece of cheese depends on its weight, while a retailer may also want to offer a buy one get one free discount. In other words, price depends on unit of measure “pounds”, while…

0

Retail Discount Design – Mix and Match with Amount Qualification

We covered mix and match with fixed quantity in the past. What about minimal amount threshold? Setup One qualifying group with amount threshold One application group with fixed quantity Example: buy shirts worth $100+, get a free tie. Preliminary analysis In general, it is not suited for the dynamic programming algorithm for discount best deal…

0

Dynamics Retail Discount Extensibility – Multiple ISVs

The core of Dynamics retail discount extensibility is to allow new discount types, and it is natural for a customer to employ new discount types from multiple ISVs. The post is also a replacement of an early post of how to register a new discount type. The issue with the original retail discount store approach…

0

Dynamics Retail Discount Extensibility – Sample Test

It is under private review. If you need it now, ping me or your Dynamics retail extensibility team contact. We build sample test (Runtime.Extensions.PricingEngineSample.Tests in sample SDK) on top on the Dynamics retail pricing engine test foundation. Mock your new discount type (Folder TestDataManager) Extends PeriodicDisocuntData and PeriodicDiscountLineData from test foundation. See ExtensionDiscountData and ExtensionDiscountLineData….

0

Dynamics Retail Discount Extensibility – Test Foundation

Creating a new discount type is a complex task as we really need to understand how discount works functionally. Assuming we have just created a new discount type, how do we test it out? We can always deploy it to Dynamics Lifecycle Services sandbox and test it out there. I have tried it myself a few…

0

Dynamics Retail Discount Extensibility – Main Picture

Prerequisite: we assume you are familiar with Dynamics Retail Commerce Runtime framework and Dynamics AX. One pricing engine serves all retail channels All retail channels: store POS, call center orders and store front orders share the same pricing engine. Call center is part of AX, while POS and store front utilize commerce runtime framework via…

0

Dynamics Retail Discount Sample – Rounding

Rounding is hard. Sometimes, we do not have a choice. Let’s get down to code. PriceContext.HoldTogetherForDisocuntRounding = false Example first: $10 distributed to quantity 7, down to penny, Smallest amount: $0.01 Unit amount not-rounded is $1.42857143 (10 / 7) Take the floor: $1.42 Remainder: $0.06 ($10 – 7 * $1.42) Remainder / smallest amount: 6…

0

Dynamics Retail Discount Tribe – Rounding

Rounding is a pain. And rounding is not cheap either, if you round too often. In Dynamics retail discount engine, the general guideline is not to round when getting the basic discount applications (or discount application multiples) and when calculating discount deal estimate. We round when we applied a discount application and when we total…

0