Allow Quote Detail deletion, but not Quote Head?

That works perfect.  Thank you very much!
Having a few sales people accidentally deleting entire Quotes, when all they intend to do is delete a single line on the Quote.  Any suggestions on how to allow them to delete single lines, but put a hard stop on deleting an entire Quote (header)? 

I've run the tracing and don't see anything obvious, but hoping someone with a better skill might be able to help. 

Thanks!


I had to do the same thing with Customer Shipments.

Create a Pre-Processing Method Directive on the Quote.Update method:

Conditions...
There is at least one deleted row in the ttQuoteHed table

Actions...
raise exception based on the "your template name here" template
and set the QuoteHed.RowMod field of the deleted row to the '' expression


Thanks,

Brian M. Garver
Northern Concrete Pipe, Inc.
401 Kelton Street
Bay City, MI Â 48706
800.222.9918
989.892.3545
989.892.3533 fax


Check out our standard details and other product information available on our web site at www.ncp-inc.com


CONFIDENTIALITY: This email communication may contain CONFIDENTIAL INFORMATION and is intended only for the use of the intended recipients identified above. If you are not the intended recipient of this communication, you are hereby notified that any unauthorized review, use, dissemination, distribution, downloading, or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by reply e-mail, delete the communication and destroy all copies.