Search CRM custom module by date field
Hi folks,
I am attempting to create a deluge script that will search a custom CRM module (Publishing) for all records where the Publishing_Date field is set to specific date.
My code is as follows:
// fetch all publishing module records for the Month and Year
searchDateString = concat("Publishing:Publishing_Date:is:",TargetPublishingDate);
pubList = zoho.crm.searchRecords("Publishing",searchDateString);
info "date ";
info searchdatestring;
info "Publishing List Returned";
info pubList;
When testing this code, I get the following output.
- Publishing:Publishing_Date:is:2020-03-01
- Publishing List Returned
- {"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Publishing"},"message":"invalid query formed","status":"error"}
I do not seem to be able to search on the date field in that module. Is it possible to search a customer module based on a date field, or my code just broken?
Best regards,
Joe
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
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.