<div dir="ltr">You might want to look at CRMEntity.trash before you decide to edit the database directly.  It triggers the appropriate before/afterdelete events and backs up any relations defined in vtiger_fieldmodulerel, in addition to calling CRMEntity.mark_deleted.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 18, 2013 at 2:44 AM, Joe Bordes <span dir="ltr"><<a href="mailto:joe@tsolucio.com" target="_blank">joe@tsolucio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">That is all you need to do<br><br><div class="gmail_quote">Lajeesh K <<a href="mailto:lajeesh@practicesuite.com" target="_blank">lajeesh@practicesuite.com</a>> escribió:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5">











<div>

<p class="MsoNormal">Hi,</p><p></p>

<p class="MsoNormal"></p><p> </p>

<p class="MsoNormal">How we can retain a deleted record? . Is it can be attained
by simply changing deleted=0 in crmentity table for corresponding ids ? . Do I need
to change any other tables ?</p><p></p>

<p class="MsoNormal"></p><p> </p>

<p class="MsoNormal"></p><p> </p>

<p class="MsoNormal">Regards,</p><p></p>

<p class="MsoNormal">Lajeesh</p><p></p>

</div>




<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><pre><hr><br><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre></blockquote></div><span class="HOEnZb"><font color="#888888"><br>

-- <br>
Enviado desde mi teléfono con K-9 Mail.</font></span></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>