how to avoid user to delete the posted document?

julkifli33
Member Posts: 1,092
hi all... i have a question
how to avoid user to delete the posted document?
i have an issue... i think there is a user that deleted the posted sales invoiced
and now we cannot track who did it?
is there a way ?
thanks
how to avoid user to delete the posted document?
i have an issue... i think there is a user that deleted the posted sales invoiced
and now we cannot track who did it?
is there a way ?
thanks
0
Answers
-
There's a property DeleteAllowed on the form. Did you try this?"Money is likewise the greatest chance and the greatest scourge of mankind."0
-
einsTeIn.NET wrote:There's a property DeleteAllowed on the form. Did you try this?
this one is good for me but is there any setting which prevent user delete the posted document/0 -
through roles and permissions also you can restrict..
remove delete access for posted tables for particular roles..0 -
mohana_cse06 wrote:through roles and permissions also you can restrict..
remove delete access for posted tables for particular roles..
thanks a lot0 -
julkifli33 wrote:hi all... i have a question
how to avoid user to delete the posted document?
i have an issue... i think there is a user that deleted the posted sales invoiced
and now we cannot track who did it?
is there a way ?
thanks
Put on the OnDelete trigger of the table:ERROR('STOP!!!!');
Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Alex Chow wrote:julkifli33 wrote:hi all... i have a question
how to avoid user to delete the posted document?
i have an issue... i think there is a user that deleted the posted sales invoiced
and now we cannot track who did it?
is there a way ?
thanks
Put on the OnDelete trigger of the table:ERROR('STOP!!!!');
thanks0 -
julkifli33 wrote:einsTeIn.NET wrote:There's a property DeleteAllowed on the form. Did you try this?
this one is good for me but is there any setting which prevent user delete the posted document/
This was also simple..what was the issue with this?0 -
mohana_cse06 wrote:julkifli33 wrote:einsTeIn.NET wrote:There's a property DeleteAllowed on the form. Did you try this?
this one is good for me but is there any setting which prevent user delete the posted document/
This was also simple..what was the issue with this?
but i need to set it in the table
so i dont have to set for each form/page0 -
julkifli33 wrote:mohana_cse06 wrote:einsTeIn.NET wrote:There's a property DeleteAllowed on the form. Did you try this?
but i need to set it in the table
so i dont have to set for each form/page=D>
0 -
As far as I know there's only one Form for each Posted Document Type where deletion is allowed. So the effort should be nearly the same. And most customers do not have access to the Table Designer. But anyway... I think there're many roads that lead to Rome and it depends on your individual situation what's the best solution for you."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
This is another one of our Setup Table Additions too.
Sales & Receiveable Setup
New Boolean = "Block Deletion Of Posted Documents"
Then on Table
OnDelete()
SalesSetup.Get;
If SalesSetup."Block Deletion Of Posted Documents" then
ERROR('You are not allowed to delete Posted Documents');
That way authorized people can turn it on & off if needed without having to go back to change the code.0 -
einsTeIn.NET wrote:As far as I know there's only one Form for each Posted Document Type where deletion is allowed. So the effort should be nearly the same. And most customers do not have access to the Table Designer. But anyway... I think there're many roads that lead to Rome and it depends on your individual situation what's the best solution for you.0
-
DenSter wrote:einsTeIn.NET wrote:As far as I know there's only one Form for each Posted Document Type where deletion is allowed. So the effort should be nearly the same. And most customers do not have access to the Table Designer. But anyway... I think there're many roads that lead to Rome and it depends on your individual situation what's the best solution for you."Money is likewise the greatest chance and the greatest scourge of mankind."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