Prohibiting deletion of sales orders
hubgilbert
Member Posts: 36
We would like to make it a permission to delete a sales order header. We attempted to do this through INDIRECT setting on Sales Order Header, but the F4 key still allows the deletion. Is there any way without coding to disallow the deletion of the sales order header? Though I have no problem making the change, it just seems like this is something that should be tied to a permission.
0
Comments
-
Why are you doing it through INDIRECT?
Simply just say NO ;-)0 -
Will setting this to NO disallow deletion through proper posting of a sales invoice (and therefore deletion of the SO header?)0
-
Yes it does in fact - setting it to NO will not allow you to delete order headers by posting.
But I am slightly wondering - if you set the permission to INDIRECT then the user should not be able to delete the orders from order card anyway - unless you have already altered the code. The order form does not have any permissions set (at least in 3.7 standard for Estonia)
But if the code has been altered then you may alter it more ;-)0 -
I tested it with indirect, and it allowed me to delete it. Not sure if the F4 key was an indirect method. This feature is not modified. Do you get a different result?0
-
You're right, it is a permission, and you can easily set it without having to program it.
Tools/Security/Roles
On the Roles form, click the Role button and select Permissions. In there you should be able to figure out how to give and take away delete permissions.
HTH0 -
S&R-Q/O/I/R/C Create sales orders etc.
S&R-Q/O/I/R/C, POST Post sales orders, etc.
Are the two roles that mainly deal with Sales Order Headers
Check tabledata 36 for the delete permission. I think we removed permission to delete from the Create permission and only gave it to the post. Then we designated one person to post SO's. We also wrote code to archive it automatically if it was deleted without being posted.
-Joe0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

