Add a Calendar Activity
This scenario occurs most commonly as a result of control initialization or because a user travels to a date that he has not traveled to before during the course of the session. A user can travel to a new date by clicking the Next or Previous buttons.
Upon the button click, runtime uses ER to call the system function, Load Calendar Activity, with the start and end time being passed in as system values. Runtime derives the start and end times from the new date to which the user has just traveled. The system then populates the control with the newly fetched data.
After the initial fetch, data for each date is kept in memory to avoid unnecessary data refreshes. That is why runtime calls Load Calendar Activity only when the user travels to a date that has not been loaded for the current session.