1

In an Android app developed in Genexus Ev3 U4, I need to execute a process in the server after the synchronization ends. The process is an external process in SQL server that uses the recently added records to generate a report.

How could I do that?

gcastano
  • 101
  • 1
  • 9

1 Answers1

3

The procedure GxAfterEventReplicator (under folder GxSynchronization) is called after the replicator applied all the BC operations incoming from the device to the server database.

This procedure receives a variable &EventResults of type GxSynchroEventResultSDT which holds information about the BCs applied due to synchronization.

You may then modify this procedure to add a call to a SQL stored procedure by issuing a sql command.

gusbro
  • 22,357
  • 35
  • 46