Module to Module Function

Module to Module Function

Hello,

I'm trying to create a function for when a custom module record is created (CustomModule 12 or Time Card). When we create the custom module I'd like a Single Line field to update with the content of a field from another custom module (CustomModule1 or Project). Is this possible? Here's what I have so far:

TimeCardsinfo = zoho.crm.v1.getRecordById("CustomModule12",TimeCardsID.toLong());
mp = Map();
mp.put("Project Stage",projectinfo.get("Project Stage"));
update = zoho.crm.v1.updateRecord("Timecards", TimeCardsID.toString(),mp,);
info update;

Thanks!
Megan