[Vtigercrm-developers] Retain a deleted record

Adam Heinz amh at metricwise.net
Wed Sep 18 13:20:59 UTC 2013


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.


On Wed, Sep 18, 2013 at 2:44 AM, Joe Bordes <joe at tsolucio.com> wrote:

> That is all you need to do
>
> Lajeesh K <lajeesh at practicesuite.com> escribió:
>>
>>  Hi,
>>
>>
>>
>> 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 ?
>>
>>
>>
>>
>>
>> Regards,
>>
>> Lajeesh
>>
>>  ------------------------------
>>
>> http://www.vtiger.com/
>>
>>
> --
> Enviado desde mi teléfono con K-9 Mail.
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130918/ec84cf8f/attachment.html>


More information about the vtigercrm-developers mailing list