Hi,
I had one doubt in Navision Scheduler Server. I used NavSql DB. I gave the Authorisation setups for Purchase Orders. If i send for Approval in Purchase Order then the Authorised person Reopen the DB. Then only the User Setup form will Appear.
For that I used Navision Scheduler. I created one codeunit in that it will check in the user setup table data is there or not. The Scheduler will run in the Server. If data is there then it will check the Authorised user id. If the the Authorised user already connected to the Server then the user task form will open automatically.
My doubt is I will run the scheduler in Server not all the clients. Is it possible to open the User Setup form in Client machine if the authorised user is equal to USERID.?????
Thanks & Regards,
kishore....
0
Comments
Of course, you can have some singleinstance codeunit running after opening the company which check through timer if there is some info for the user and if yes, opening the form. You do not need to use some "Navision Scheduler Server" (and I am not sure if I understand correctly what you are naming by this...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for ur reply. In "Company Open" they wrote the code for user Taks.
IF UserTask.READPERMISSION = TRUE THEN BEGIN
UserTask.RESET;
UserTask.SETRANGE("User ID",USERID);
UserTask.SETRANGE(Status,UserTask.Status::" ");
IF UserTask.FIND('-') THEN
IF CONFIRM(Text019,TRUE,UserTask.COUNT,UserTasks.CAPTION) THEN
UserTasks.RUN;
END;
Every time i open the company and i see the User tasks form after that i approved the Orders. It is very difficult. Thats what iam using Job Scheduler Management(form-6094). If i run this scheduler in Server machine will it popup the user task form in client machine if the data is exist????
Thanks & Regards,
kishore...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for ur reply. But all are connected to the same server.
Thanks & Regards,
kishore.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.