Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aloha - Events and Price Change Hierarchy 1

Status
Not open for further replies.
May 13, 2016
2
US
Here is a question for you all,

What is the hierarchy of events and price changes that are set in events.cfg? I was under the assumption that a monthly event would over ride a weekday event and a weekday event would override a daily.

Here is an example of where we are having issues:

[Date.11.01.2016]
12:10 SETPRICECHANGE 20 0                               << (Overrides [daily], but should not be overridden by others below)
[Daily]                                            
00:00 SETPRICECHANGE 30 0                                <<<<<<<<
28:00 EOD
[Weekday.2]
03:00 DISABLEPRICECHANGE 99 0
12:20 SETPRICECHANGE 16 0                                <<<<<<<<
[Month.1]
12:30 SETPRICECHANGE 18 0                                <<<<<<<<

Shouldn't the date over ride all events? As weekday overrides daily? Your input would be much appreciated.
 
if its the same between CFC and Aloha Mgr, then this is the answer.

There are four activation schedule types, and the priority with which the system activates them, from lowest to highest, is as follows:

Daily

Weekly

Monthly

Specific Date

Additionally, when multiple events with the same activation schedule type appear in an event schedule, the event closest to the bottom of the event schedule overrides similar events that appear above it.
 
Events are time specific rather than a hierarchy. What I mean by that is if you have an event scheduled every Tuesday at 4:00 PM to initiate a price change you need to be aware of what is going on with other time frames such as weekly as you said. You would build the Tuesday 4:00 PM price change to also include the Tuesday all day prices that way it carries over into the base Tuesday all day price change and when the 4:00 pm price change is initiated it also carries the prices into this price change. You need to make sure you have events to shut off the price change if it ends at a certain point.

Activation schedules and Events go hand in hand. You need to have an activation schedule set for each time you would need to start and stop an event. End of day obviously moves into the next days pricing whether the items switch to item price (no event set for a particular day) or if there is another price change event.

1 tip- if you have an all day price change going and you have say a happy hour from 4-6 you just need to activate the all day price change and then at 4:00 PM activate the Happy Hour price change. You need to set an event to de-activate the HH price change at 6:00 PM. Remember everything is Military time. I suggest naming the activation schedules and price changes according to day and time for instance: Tues 16:00, Tues 18:00. That way you know what time you are setting and it is easy to decipher in your event maintenance. The key is to keep it as organized as possible so you can figure out any potential problems relatively easy.

Let us know if you have more questions and please be as specific as possible. Thanks!
 
Thank you PosTech72. I appreciate your input. Makes perfect sense. I may bother you again soon.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top