InterviewSolution
| 1. |
How To Restrict Workdate For Several Users |
|
Answer» Create a NEW singleinstance codeunit. This codeunit you have to launch in Codeunit 1 FUNCTION LogInStart(). Globals : recUserSetup : Record : "User Setup" OnRun() of your singleinstance codeunit: IF ISCLEAR(autTimer) THEN BEGIN On Trigger IF TODAY <> WORKDATE THEN Create a New singleinstance codeunit. This codeunit you have to launch in Codeunit 1 Function LogInStart(). Globals : recUserSetup : Record : "User Setup" OnRun() of your singleinstance codeunit: IF ISCLEAR(autTimer) THEN BEGIN On Trigger IF TODAY <> WORKDATE THEN |
|