permissions to create and post certain Journals

lakshmivalluru
Member Posts: 168
Hi,
I am +ve that this can be done using Roles and Permissions. All i want to do is set a role giving permissions to create and post CASH RECEIPT, DEFAULT batch journal. So the user who has this role can only create and post CASH RECEIPT jorunals ( no toher journals) and that too only one single batch that is DEFAULT. I copied S&RJournal and S&Rpostjournal roles and assigned security filters on gen jnl line, gen template and also gen journal batch :roll: it dOdOnt work.... please help....
I am +ve that this can be done using Roles and Permissions. All i want to do is set a role giving permissions to create and post CASH RECEIPT, DEFAULT batch journal. So the user who has this role can only create and post CASH RECEIPT jorunals ( no toher journals) and that too only one single batch that is DEFAULT. I copied S&RJournal and S&Rpostjournal roles and assigned security filters on gen jnl line, gen template and also gen journal batch :roll: it dOdOnt work.... please help....
LR
0
Comments
-
Is there another role defined for the same tables without a security filters or with an other security filter?
Navision uses the role with the most permissions automaticaly.0 -
No. other than the above mentioned roles no other roles have permissions to gen jnl tables.LR0
-
Do not forget, that security filters could not work everywhere... if you open the table directly under this account, can you see all lines?0
-
can anyone let me know what is the best way to achieve what i am trying to do?LR0
-
If the permissions don't work you can do this with code.
If a user is only allowed to post one journal and one batch you can add these fields to the user setup table and test them in the posting routine.
If you need more explanation of this let me know.0 -
I know,it needs a new table, form and link it to user setupo allow to post in multiple journals....but i really want this to be controlled by roles. And even though i create a new table and form and link it to user setup, i would like the users to see only specified journal templates and batches.Don't want to wait till they create the journal and ristrict them to post saying 'he he he... you don't have permissions' ... any more options please.............LR0
-
You can modify the journalmanagement codeunits.0
-
what do you mean? setup roles and then modify the journal management codeunit? or create a new table,form and link it to user setup and then modify the journal management codeunit?LR0
-
In the journal management codeunits the filters are set on the Journal templates/batches, you can expand this with your new user setup tables.
Have a look in codeunit 230 for example.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions