<div dir="ltr">You are welcome.</div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 2:07 PM, Holbok István <span dir="ltr"><<a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Prasad, Thank you.<br>
<br>
It is valuable help for me. The VTEntityDelta::hasChanged() method
can show any modified fields and this is what I looked for.<br>
<br>
Kindest regards:<br>
Istvan<div class=""><br>
<br>
<br>
<div>üdvözlettel:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div></div>
2014.07.10. 0:41 keltezéssel, Prasad írta:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Have a look at ModTrackerHandler - it uses
EntityDelta to capture the changes.
<div><br>
</div>
<div>There should not be any changes made during this event
(vtiger.entity.aftersave.final) - you many however record the
changes.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Prasad</div>
</div>
<div class="gmail_extra"><br clear="all">
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect
with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br>
<br>
<div class="gmail_quote">On Thu, Jul 10, 2014 at 1:58 AM, Holbok
István <span dir="ltr"><<a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Dear vtiger
Community,<br>
<br>
Is there any method to catch a field data change or modify
event in a vtiger module e.g. in Contacts?<br>
<br>
In the <modulename>Handler.php I can define for the
event e.g. 'vtiger.entity.beforesave' a unique handler and
I can access the $entityData object for the record of the
module. But I did not realize how to know what is the
change in this object before save.<br>
<br>
Is there any built in method to determine what a field was
changed?<br>
<br>
I need to run an event handler in the frame of
'vtiger.entity.beforesave' or even
'vtiger.entity.aftersave' with a specific
ON_THIS_FIELD_MODIFIED condition.<br>
<br>
The vtiger Workflow manager somehow can handle this in
case VTWorkflowManager::$ON_MODIFY <br>
<br>
Any idea?<br>
<br>
Kindest regards:<br>
Istvan<span><font color="#888888"><br>
<br>
<br>
<div>-- <br>
üdvözlettel:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div>
</font></span></div>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</div></div></div>
</blockquote></div><br></div>