If you want to write to field “date_start” of Lead object from field “date_start” of Meeting object, you sholud control changing in Meeting module using hook after_save.
Here is the code:
custom/modules/logic_hooks.php
$hook_version = 1;
$hook_array = Array();
$hook_array['after_save'] = Array();
$hook_array['after_save'][] = Array(1, '', 'custom/modules/Meetings/my.php', 'User_hook','copy');
custom/modules/Meetings/my.php
class User_hook {
function copy(&$bean, $event, $arguments) {
$lead_bean = new Lead();
$lead_bean->retrieve($bean-><field id of relationship with Lead>);
$lead_bean->date_start = $bean->date_start;
}
}
Change “field id of relationship with Lead” to correct field name. I see name “leads_meetings_1leads_ida” in this conversation.