custom function update invoice oder number not woking if the invoice created from zoho books (billings)
Hi, i have workflow that will run whenever invoice created or updated which will call this custom function
job = invoice.get("custom_field_hash");
jsonMap = Map();
jsonMap.put("reference_number",job.get("cf_job_id"));
response = zoho.books.updateRecord("Invoices","123456789",invoice.get("invoice_id"),jsonMap,"zohobooks2");
info response;
manual execution work normal, it can update the order number using the custom field job id.
If the invoice created directly, it can update the order number.
however, if the invoice created by zoho books(subscription), it wont update the Order Number
Please advise
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.