The Microsoft Dynamics NAV PingPong add-in can be invoked to request a callback after a specified timeout. The PingPong add-in does one callback on request. The callback is requested from C/AL code by specifying the time to wait in milliseconds.

Note
Using the PingPong add-in instead of a timer is recommended, because you can run all of the C/AL code on the trigger. If you use a server timer, you cannot trigger events on the client.

Using PingPong Events

Copy Code
PingPong::AddInReady()
      CurrPage.PingPong.Ping(500);

Copy Code
PingPong::Pong()
      CurrPage.PingPong.Ping(1000);