Timer issue with RTC

Hi everybody,
I have an issue with a MESSAGE output in a timer automation trigger, here is the code:

AutTimer::Timer(Milliseconds : Integer)
IF a <> b THEN BEGIN
a := b;
MESSAGE('........');
END;

In classic the MESSAGE appears correctly, in RTC it never appears.
In some other discussions I've seen that timer automation has some trouble with RTC but mine is working fine, the MESSAGE is the only problem.
Anybody has any suggestion?

Thanks

Answers

  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    edited 2018-11-07
    How do you know that the automation is working fine? Have you been able to debug the event raised from Timer?

    By the way, in the newer NAV there is a PingPong control add-in for this:

    Microsoft.Dynamics.Nav.Client.PingPong;PublicKeyToken=31bf3856ad364e35
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • mettiusimmonsmettiusimmons Member Posts: 2
    How do you know that the automation is working fine? Have you been able to debug the event raised from Timer?
    The variable is correctly changed so I'm pretty sure that the timer is working fine until the MESSAGE instruction.
    We're working on a 2009 R2, I suppose PingPong is not available.
    Thanks
  • krikikriki Member, Moderator Posts: 9,086
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.