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.
Event Start
Event_code
EndEvent
Where:
Event_code
Code associated with the event.
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;
This feature is available since GeneXus Tilo Beta 2.
Offline Database object
Offline Database Object conditions