User Roles Problem

mxlim
Member Posts: 21
Hi all,
I need guidance on the user roles setup where the user is not allowed to delete Purchase Order & Sales Order by setting Purchase Header, Purchase Line, Sales Header, Sales Line = not allowed to delete.
This will block the user when posting of invoice. Because posting of invoice needs to delete PO/SO. And I need to allow the user to post PO/SO but disallow user from deleting PO/SO.
Hope my question is clear..thanks in advance!
I need guidance on the user roles setup where the user is not allowed to delete Purchase Order & Sales Order by setting Purchase Header, Purchase Line, Sales Header, Sales Line = not allowed to delete.
This will block the user when posting of invoice. Because posting of invoice needs to delete PO/SO. And I need to allow the user to post PO/SO but disallow user from deleting PO/SO.
Hope my question is clear..thanks in advance!
0
Comments
-
An order is deleted when it is posted as received and invoiced from the order form.
When it is invoiced using invoices, the order is not deleted, but it needs to be deleted separately by using a batch job, whenever required.Regards,
Deep
India0 -
Hi,
In order to allow users to delete SO/PO during posting you can give permissions in the posting codeunit(80 for SO, 90 for PO). The permissions are set on the codeunit properties. You just add the tables and put the delete allowed checkmark.0 -
Yes, you can use the indirect permissions to that. Assign just indirect permissions to the users, they will be not able to delete the records manually. Be sure, that the posting routine has permissions to delete in these tables and you are done. Or you can do some modifications in OnDelete trigger, because posting routine is not calling it but if user wants to delete it manually, it is called. But you will need to think it through because there can be situations, when the user needs to delete the header too...0
-
Thanks for the reply..will try it out soon. How could I forgot about Indirect permissions :shock: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