I tried and start from a function I created before (to copy/paste adress details from Account into Contact) to have the content of a currency field pasted into a another currency field within the module's submodule:
rec = zoho.crm.getRecordById("CustomModule4",ImpiantiId);
mp = Map();
mp.put("Milestone_Value2",ifnull(rec.get("Valore_ordine"),""));
updateResp = zoho.crm.updateRecord("CustomModule4",ImpiantiId,mp);
info updateResp;
Other than in the previous function, where I had two arguments (one for the Account module, one for the Contact module), now I put just one ("ImpiantiId") as the module is the same.
I associated the function to a similar workflow, though it didn't work as I expected.
How shall I edit the function for the value to transfer into the submodule's field?
Thanks
Valeria