Recurring Invoice message:- java.lang.Object@9ede8b
Trying to access and update a recurring invoice custom field using the following but not recieve any kind of response other than the subject title message.
the code
- /*
- This is a sample function. Uncomment to execute or make changes to this function.
- recurringInvoiceID = recurring_invoice.get("recurring_invoice_id");
- organizationID = organization.get("organization_id");
- */
- // This is a sample function. Uncomment to execute or make changes to this function.
- invoiceID = recurring_invoice.get("recurring_invoice_id");
- organizationID = organization.get("organization_id");
- url = 'https://examples.com/'.concat(invoiceID);
- res = zoho.books.updateRecord('RecurringInvoices',organizationID,invoiceID,{"custom_fields":{{"label":"Payment Link","value":url,"place_holder":"cf_payment_link"}}},"internal--zohobooks");
- i = zoho.books.getRecordsByID('Recurring-Invoices',organizationID,invoiceID,"internal--zohobooks");
- info i;