Hi,
I`ve tried to use NAS to run data import in regular time intervals.
I`ve wote that code in singel instance codeunit (on run trigger).
IF ISCLEAR(Timer) THEN BEGIN
CREATE(Timer);
Timer.Interval := 60000;
Timer.Enabled := TRUE;
END;
Timer is global Variable with:
type: Automation,
subtype: 'Navision Timer 1.0'.Timer.
But i dont`t get any additional trigger to wite code.
Where should I put my code to execute it in time interfals?
regards,
Wojtekm
Answers
check global variable's Timer properties. Set WithEvents to Yes