Hi,
I'm currently implementing Microsoft Dynamics AX 2012 R3 CU13 in one of retail supermarket in Indonesia. Our customer's requirement is a discount scenario that there is maximum discount for the item .
For example :
- Item A normal price is $10, today the item get discount amount $1, and maximum discount amount is $3.
- The customer bought the item A 5 pcs, which means the total price is $50 ($10 x 5), so they should get discount $1 for each item, which is $5 ($1 x 5 pcs)
- But, because of the maximum discount scenario for Item A is $3, the customer only get discount amount $3 even though they bought 5 items. So they should pay $50 - $3 = $47.
The steps that i taken so far for achieving the maximum discount scenario.
1. Create a custom field (MaxDiscount with field type Amount) at RetailPeriodicDiscount table
2. Create a discount offer from the Discount form in AX, for specific item
3. Fill the amount Max Discount for the Offer ID (example $3)
The last step is customizing the discount calculation, so the Retail POS can apply the maximum discount scenario.
The problem is, I don't know where i could put the custom logic in order to achieve such scenario. I checked the discount module in Retail SDK POS Plugin and the discount pricing engine in Commerce run time, but i don't know where to put the logic.
Please share if you know the solution.
Thank you.
Hi Yonathan,
As this is not standard scenario, but a customization needed, I will leave this thread for the community to answer. Let's see if anybody has experienced the same and can advise for you anything.
Sohaib Cheema
764
User Group Leader
Martin Dráb
619
Most Valuable Professional
André Arnaud de Cal...
603
Super User 2025 Season 2