Hello.
I want to link an Email record to an Opportunity record via parent relation (parent field in Email).
I use this function in Opportunity Formula (Before Save Custom Script):
But it doesn't work. What's wrong?
Thank you.
I want to link an Email record to an Opportunity record via parent relation (parent field in Email).
I use this function in Opportunity Formula (Before Save Custom Script):
Code:
$EmailID='5ec8db83df7db257';
$ThisId=id;
record\relate('Email', $EmailID,
'parentType', 'Opportunity' ,
'parentId', $ThisId
);
Thank you.

Comment