Official Content

The Offline Database Object only allows the Start Event. It is intended for variables initialization and other processing that could be needed before table synchronization happens.  That is why it is executed before the conditions apply in the synchronization.

Example

Event Start
    &DeviceID = ClientInformation.Id
    For Each
    where DeviceID = &DeviceID
        &SalesAreaID = SalesAreaID
    EndFor
EndEvent

And then this variables can be used in the Conditions tabs like shown in the following code stub:

SalesAreaID = &SalesAreaID;
CustomerStatus = CustomerStatus.Active;

Availability

This feature is available as of GeneXus Tilo Beta 2

See also





Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant