06.01.2014, 19:11 | #1 |
Участник
|
emeadaxsupport: AX 2012 R2 for Retail - Using advanced discount periods with discounts that have start and end times around 12am.
Источник: http://blogs.msdn.com/b/axsupport/ar...discounts.aspx
============== 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:
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/2014 End Date: 12/31/2014 Time within bounds unchecked Ending time after midnight: unchecked For each days fast tab: Time within bounds: Checked Ending time after midnight: Checked
Ending time after midnight: Unchecked
Источник: http://blogs.msdn.com/b/axsupport/ar...discounts.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|