Using the PingPong Add-in

The 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.

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.

Note

The PingPong add-in is only supported in the Microsoft Dynamics NAV Windows client

Using PingPong Events

PingPong::AddInReady()  
      CurrPage.PingPong.Ping(500);  
PingPong::Pong()  
      CurrPage.PingPong.Ping(1000);