The GetEvents method gives the developer the ability to access the stored events for processing.
This is useful for example when there are events that returned with errors from the server, to get the error messages.
&SynchronizationEventList = SynchronizationEvents.GetEvents(&EventStatus)
Is a variable based on the EventStatus domain and it represents the status of the events to filter. Its possible values are:
Note: If &EventStatus equals 0, then the GetEvents method does not filter by the status of the events.
Returns a SynchronizationEvent value that represents the collection of events with status &EventStatus stored in the GXPendingEvents table.
As explained in the SynchronizationEvents external object document, the GXPendingEvents table will be used to store all the changes made in the device in order to send them later to the server. With this method it is possible to access those registries and optionaly filter by the EventStatus of those events.
&SynchronizationEventList = SynchronizationEvents.GetEvents(EventStatus.Pending)
Where &SynchronizationEventList is based on SynchronizationEventList SDT and this variable is going to be displayed in a panel's layout as a SD Grid.
As from GeneXus Tilo Beta 2