This blog contains posts from the Microsoft Dynamics AX support team highlighting interesting features or issues within Microsoft Dynamics AX.
There are many combinations to set up the validation periods for discount. If you're not careful, an incorrect configuration may prevent the discount from being applied at the POS at all. This blog will focus on the scenarios when you need to use the start and ending times that both fall around 12:00am. Other ranges such as 5pm to 9pm do not have the issues that this blog is concerned with. An example of a scenario for this blog would be a discount period that ends at the close of business which may be 2am of the next day. This can be tricky because an end time of 2am on Monday also has the possibility of encapsulating a 12am start of Tuesday. This confuses the system and as such doesn't display a discount at POS at all for the full day. In the text below I've added a few notes as well as a few configurations that work and don't work, specifically when it comes to using the discount for a full day or setting the "Ending time after midnight". One of the most common scenarios that the system gets confused with is 12am-12am start to end times for each day. The code does not properly handle the 12am end time of Monday and 12am start time of Tuesday.First lets define a few of the fields available on the discount period form:
Additional details on field in the form can be found here: Setting up discount periods <http://technet.microsoft.com/en-us/library/hh580630.aspx>
To give you an example of some scenarios that work and don't work, I created 10 different discount periods with the configurations below by only changing 4 things: Time within bounds, Ending time after midnight, the Start time, and End time. Next to each Start-End time. With each configuration, I listed whether that combination was then able to display the discount at the POS not.
This form is located at: Retail >> Setup >> Pricing and Discounts >> Discount Period
General fast tab (same for each configuration below)
Start Date: 1/1/2014End Date: 12/31/2014Time within bounds uncheckedEnding time after midnight: unchecked
For each days fast tab:Time within bounds: CheckedEnding time after midnight: Checked
Time within bounds: CheckedEnding time after midnight: Unchecked
Additional details for setting up discounts can be found here: <http://blogs.msdn.com/b/axsupport/archive/2013/01/25/ax-2012-r2-for-retail-setting-up-discounts-coupons-with-bar-codes-for-scanning-into-pos.aspx>
Other Microsoft Sites
I'm a Customer
I'm a Partner
Follow Microsoft Dynamics