Custom Modules

Custom Modules

Hi..

I am trying to retrieve a record from a custom module in CRM.  However, when I try to read the individual field values I am just getting null values. In the example below r1.get("customer") returns null value, is there a naming convention i'm not aware of ?


   crmResp = zoho.crm.searchRecordsByPDC("CustomModule2", "customer", "xyz123");
    if (crmResp.size()  >  0)
    {
        for each r1 in crmResp
        {
input.Customer= r1.get("customer");
        }
    }
else 
    {
alert "No machines found";
    }