If you do not know or understand how to create extended vardefs you can also create a custom field.
Add a custom field to Contacts in Studio - call it account_phone_office
(This does step 1 and 2 suggested by andopes for you, but will save it to the database)
Then use the editLogicHooks tool in my signature and create a process_record logic hook on Contacts that contain this
PHP Code:
//Retrieve the related account
require_once "modules/Accounts/Acount.php";
$account = new Account();
$account->retrieve($bean->account_id);
// Set the new field on Contacts from the Account
$bean->account_phone_office_c = $account->phone_office;
(This takes care of step 3)
Now simple add that field to the subpanel and you're done.
M
Bookmarks