Creator Subform to own CRM Module Subform
Hey there,
...is it possible to update subform entries by Creator of a record in Zoho CRM? I tried the following script in Creator:
paramsMap = Map();
paramsMap.put("Title",input.Title); // this is working
PriceList = List:Map();
for each rec in input.Prices
{
PriceMap = Map();
PriceMap.put("Item","Test"); // Item = column/field in CRM
PriceList.add(PriceMap);
}
paramsMap.put("Items",PriceList); // Items is the name of the subform field in CRM
respy = zoho.crm.updateRecord("Test_Module",input.CRM_ID.toLong(),paramsMap);
The "Title" is updated, but it is not working for every line in the subform.
What's wrong or missing?