<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">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<br>
<br>
<br>
<div class="moz-signature">üdvözlettel:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a class="moz-txt-link-abbreviated" href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div>
2014.07.10. 0:41 keltezéssel, Prasad írta:<br>
</div>
<blockquote class=" cite"
id="mid_CAMeS7p_mCRA3_fsuFqdnqPciYsBB4p_m_ntSAymkQx7XU2KrnQ_mail_gmail_com"
cite="mid:CAMeS7p=mCRA3=fsuFqdnqPciYsBB4p-m_ntSAymkQx7XU2KrnQ@mail.gmail.com"
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 moz-do-not-send="true"
href="http://twitter.com/vtigercrm"
style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a
moz-do-not-send="true"
href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall"
style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a
moz-do-not-send="true" href="https://blogs.vtiger.com/"
style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a
moz-do-not-send="true"
href="http://wiki.vtiger.com/index.php/Main_Page"
style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a
moz-do-not-send="true"
href="https://discussions.vtiger.com"
style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a
moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:holbok@gmail.com" target="_blank">holbok@gmail.com</a>></span>
wrote:<br>
<blockquote id="Cite_5510886" class="gmail_quote cite"
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 class="HOEnZb"><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 moz-do-not-send="true"
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 moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
</body>
</html>