I have a custom module ("Assets") for tracking hardware units that we sell. The identifying field in the Assets module is Serial Number, but this seems to be mapped to "Name" in the backend even though it is called "Serial Number" on the front end.
I need the ability to email the owner of the asset to send quotes for software updates. However, when I try to send an email to the asset, the recipient name in the "to" field in the email is the serial number, not "John Doe" as I would like. I'm assuming this is because the "Name" field is the Serial Number. The email address is correct, but not the name of the recipient.
Is there a way to change where CRM pulls the recipient name from when emailing the asset? If not, how would I change the module so that this is possible?
{
"Owner": {
"name": "Owner Name",
"id": 4826660000000306001,
"email": "owner@email.com"
},
"Email": "user@email.com",
"$currency_symbol": "$",
"Customer": {
"name": "John Doe",
"id": 4826660000001450020
},
"$review_process": {
"approve": false,
"reject": false,
"resubmit": false
},
"Product": "34279832",
"$canvas_id": null,
"Purchase_Date": "2021-04-01",
"Name": 8512980003,
"Last_Activity_Time": "2021-12-08T08:14:04-05:00",
"$review": null,
"$state": "save",
"Unsubscribed_Mode": null,
"$process_flow": false,
"Customer_Asset_ID": "test_unit",
"id": 4826660000001196062,
"Sold_Through": null,
"$approved": true,
"Status": "Sold",
"$approval": {
"delegate": false,
"approve": false,
"reject": false,
"resubmit": false
},
"Modified_Time": "2021-12-08T08:14:04-05:00",
"Created_Time": "2021-04-29T10:57:53-04:00",
"Unsubscribed_Time": null,
"$editable": true,
"$orchestration": false,
"Manufacturing_Date": "2020-10-26",
"$in_merge": false,
"Support_Expiration_Date": "2022-04-30",
"$approval_state": "approved",
"Location": "Customer Site"
}