Field not updating

Field not updating

Hi All

Please have a look at my code and guide me where I have gone wrong, I juts cannot get the field to update in the form "Expiry Date" even though it says the codes executed fine.

records = zoho.crm.getRecordById("Contracts", 4994407000000384299);
info records;
term = records.get('Term');
info term;

Expiry_Date = ifnull (records.get("Inception_Date"),'').toDate().addMonth(term);
info Expiry_Date;
mp = Map();
mp.put( "Expiry Date", Expiry_Date.toDate());
update = zoho.crm.updateRecord("Contracts",4994407000000384299 ,mp);

Info update ;
    • Sticky Posts

    • Function #41: Sync Associated Subforms!

      Welcome back everyone! The last custom function showed how to update a Contact with Product details from it's Related list in Deals. This week, let's look at a function that lets you update subform records in two modules simultaneously when one of them is updated. Business scenario Let's look at how subform helps in an education institution that has deployed Zoho CRM. National Public School, Austin (made up, of course!) has set up Zoho CRM and it follows the same relationship pattern of "Students",

    Zoho Pagesense Resources

        Zoho SalesIQ Resources

              Zoho TeamInbox Resources

                Zoho DataPrep Resources

                    Zoho CRM Plus Resources

                      Zoho Books Resources

                        Zoho Subscriptions Resources

                          Zoho Desk Resources

                            Zoho Projects Resources

                              Zoho Sprints Resources

                                Qntrl Resources

                                  Zoho Creator Resources

                                    Zoho WorkDrive Resources

                                        Zoho Campaigns Resources

                                          Zoho CRM Resources

                                                      Design. Discuss. Deliver.

                                                      Create visually engaging stories with Zoho Show.

                                                      Get Started Now