You could make a copy of the role for Sales Orders and change the permission for "Table Data" 36 to Delete empty.
But this would also mean that user cannot delete a sales order, invoice, credit memo.
Another solution is to add a field to table User Setup: "Prevent delete quote".
In the OnDelete of the Sales Header you check if the user is allowed to delete the Sales Header.
Hi all,
How can I stop the user action of deleting Sales Quotation?
Also want to block the F4 function key functionality on Sales Quotation.
thanks,
sandip.
When the quote is converted to a sales order, it'll delete the sales quote automatically. You'll need to modify codeunit 86 to prevent it from happening.
Answers
But this would also mean that user cannot delete a sales order, invoice, credit memo.
Another solution is to add a field to table User Setup: "Prevent delete quote".
In the OnDelete of the Sales Header you check if the user is allowed to delete the Sales Header.
Tino Ruijs
Microsoft Dynamics NAV specialist
When the quote is converted to a sales order, it'll delete the sales quote automatically. You'll need to modify codeunit 86 to prevent it from happening.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book