Dynamics Retail Discount Tribe – Discount Totaling For Best Price Within Priority

Let’s recap the compounding behavior for concurrency control model of best price within priority and compound across before hitting discount totaling. No compound within priority for each of non-threshold discounts and threshold discounts. Compound across priority for each of non-threshold discounts and threshold discounts. Compounded threshold discounts can compound on top of compounded non-threshold discounts,…

0

Dynamics Retail Discount Tribe – Discount Totaling For Best Price and Compound Within Priority

Before we get to the compounding discount totaling details for best price and compound within priority, recall the compounding behavior for configuration option of discount concurrency control: best price and compound within priority and no compound across. Compound within priority for each of non-threshold discounts and threshold discounts. No compound across priority for each of…

0

Dynamics Retail Discount Tribe – Discount Totaling

A tribe starts with a history. In enterprise POS (EPOS) in AX6 (a.k.a. Dynamics AX 2012), sales line totaling, which covers discount totaling, and taxes, etc., is called all over the place. In AX7 (a.k.a. Dynamics 365), the situation is better as it is wrapped in totaling service, which is called in few places. Let’s…

0

Dynamics Retail Discount Tribe – Concurrency Mode vs Concurrency Control Model

Talk about confusion. As always, history first. In the beginning, we have three concurrency modes and a discount must use one: Exclusive, Best price and Compounded. The concurrency mode essentially controlled discount concurrency. In other words, the concurrency mode is the concurrency control. How concurrency mode worked in the beginning Exclusive first: all exclusive discounts…

0

Dynamics Retail Discount Interface – IDiscountUsingMarginalValueRanking

We have talked about marginal value ranking algorithm as a backup plan for dynamic programming best deal algorithm. IDiscountUsingMarginalValueRanking is the interface that the discount needs to implement.         public interface IDiscountUsingMarginalValueRanking         {             /// <summary>             /// Gets the discount deal estimate.             /// </summary>             /// <param name=”discountableItemGroups”>The valid sales line items…

0

Dynamics Retail Discount Extensibility – Discount Base Amount

We have talked about the concept of discount base amount. Now we will discuss technical details and share extensibility interface. Please note that everything here is not final and we may change it. First, the interface         /// <summary>         /// Interface for priority discount base amount calculator.         /// </summary>         /// <remarks>        …

0

Dynamics Retail Discount Concepts: Discount Base Amount

We know that retailers can be generous, stingy, or both regarding discount outcome. We will talk about a stingy case today: make discount base amount smaller. Smaller discount base amount to begin with By default, the discount base amount is the item price. If a third party pays partially, for example, $30 out of a…

0

Retail Discount: Generous or Stingy Retailers

Retailers want to have happy customers, so in general they want to get the best deal for customers when there are multiple options. In details, they can be generous or stingy; and they can be both. Behind the scene, it mostly depends on who sponsors the discounts. Compounding If retailers covers the cost of discounts,…

0

Discount Knapsack Dynamic Programming – Adjust for Two Remaining Quantities

As we examined in mixing in exclusive discounts in the concurrency mode of compete within priority and compound across, we may have to deal with uneven knapsack sizes (a.k.a. remaining quantities in Dynamics Retail discount engine) in a knapsack algorithm for discount best deal. We will focus on dynamics programming for now. I will use…

0

Dynamics Retail Discount Details: Remain Quantities I

We will first talk about remaining quantities in the context of concurrency model of compete within priority and compound across. If all discounts are compoundable, then for each round of priority, the quantities available are the same for all the discounts. Let’s have an example, Discount Discount method Priority S99 20% off an ergo keyboard…

0