IF CGNASStartedinLoop = FALSE THEN
CASE Parameter OF
'OSYNCH','JOBQUEUE':
BEGIN
IF NOT JobQueueSetup.GET THEN BEGIN
JobQueueSetup.INIT;
JobQueueSetup.INSERT;
END;
IF NOT JobQueueSetup."Job Queue Active" THEN BEGIN
JobQueueSetup.VALIDATE("Job Queue Active",TRUE);
JobQueueSetup.MODIFY;
END;
CODEUNIT.RUN(CODEUNIT::"Job Queue Dispacher");
END;
END;
Where OSYNCH is for Outlook Synchronization, and JOBQUEUE is for jobs... So, basically, we need only one startup paramter (OSYNCH or JOBQUEUE) which will allow us to do both:
1. sync outlook
2. run job queues
i would use two NAS because your two processes are differnt and not belong together. So, if you change your source in your jobQue, also the Outlooksync. stop. For a better handling and support i would use two NAS in your scenario.
Comments
you can have only one startup parameter at a time.
you can set multiple nas having different startup paramter.
Regards,
Rajesh Patel
Regards
Thomas
Where OSYNCH is for Outlook Synchronization, and JOBQUEUE is for jobs... So, basically, we need only one startup paramter (OSYNCH or JOBQUEUE) which will allow us to do both:
1. sync outlook
2. run job queues
Am I correct?
Dynamics NAV Enthusiast
Regards