Simple Request : Insert record to CRM Custom Module via Deluge

Simple Request : Insert record to CRM Custom Module via Deluge

I'm quite used to Deluge in Creator, however I can not get the simplest bit of code to work in the CRM. I have full admin access to the system and ensured and am running the script on the Administrator permissions which has access to everything.

I have created a Custom Module called Analysis with a couple of fields and just want to run a script every night to add the totals as they stand at that time. However I can't even insert a single record with basic information. This is my code entered as a Function :

  1. varInfo = {"Analysis Name":"Testing3","Avg Total Amount":"999","BANT Opportunities":"888","Analysis Owner":"Catherine Parkinson","Currency":"GBP","Exchange Rate":"1"};
  2. info varInfo;
  3. response = zoho.crm.createRecord("Analysis",varInfo);
I get a green successful message and the Info command shows me the following text :

{"Analysis Name":"Testing3","Avg Total Amount":"999","BANT Opportunities":"888","Analysis Owner":"Catherine Parkinson","Currency":"GBP","Exchange Rate":"1"}

So why doesn't a record called Testing3 appear anywhere either in the Analysis Module or a report run from it ? I have checked the Audit Log and it shows that I executed a function.

This is so simple to do in Creator - why can't I get this to work in CRM. I'm using the instructions from here

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now