Notifications
Announcements
Hello,
We try to create time sheets in Business Central 160.
When we start "Create Time Sheets" report we press OK on the request page and we get the following message:
But when we press OK "User Setup" page does not start.
What causes this problem?
Never see this message before but I think that this will populate the user's permissions for you. I don't think it will open User Setup page. Check if your user has now the following permissions on the user card.
No, it does not populate User Setup. When we press OK the report request page gets closed and nothing elese happens.
Hi Galina Georgieva,
Can you please clarify following points to provide you best solution
1) Which version of BC 160 you are referring ( On-Premise / Cloud Instance) ?
2) Are you able to login to Client with at-least one User ID with Administrator rights or not?
If you can provide these information then I can assist you on this.
Thanks and Regards,
Jubel
navisionplanet.com
Did you check this?
RegardsJyotsnajyotsnanav.blogspot.com
Don't forget to help the community by verifying my answer or at least like the suggestion if it did help in any way. It will let others know that the topic has a verified answer and was beneficial to you.
Our version is on-premise and my user has "SUPER" permission set.
You might try to change the FLF license and check that you are not targeting a limited user (be sure you have a FULL user). After that, run the debugger against this scenario and evaluate where the code stops.
I have changed the license with a new one and I am a Full User. When I run the debugger it hits the line -
PAGE.Run(PAGE::"User Setup");
But does not go into it. Instead afterwards its goes straight into the next line -
Error('');
The code is as follows:
if (not UserSetup.Get(UserId) or not UserSetup."Time Sheet Admin.") and UserSetup.WritePermission then begin
if Confirm(OpenUserSetupQst, true) then
This code (bad code!) checks if your user has the flag Time Sheet Admin setted as active (see image above) and Write Permissions on the object. If you have Time Sheet Admin flag active the condition is skipped.
Yes, if Time Sheet Admin is "true" in User Setup this check is skipped, but my point is that when it is "false" page User Setup should start after confirming the message and it doesn't.
We also have the same problem with report Calculate Depreciation where after the calculation is done if confirmed the Fixed Asset Journal should open.
After confirming the message nothing happens and again the code in the OnPostReport trigger:
PAGE.Run(PAGE::"Fixed Asset Journal", PageFAJnlLine);
does not execute.
The debugger hits that line but nothing happens.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,742
YUN ZHU 844 Super User 2025 Season 2
Khushbu Rajvi. 719 Super User 2025 Season 2