... fetch all payments against this customer in order of payment reference (oldest to most recent)
r_SearchResults = zoho.books.getRecords("customerpayments",v_BooksOrgID,m_SearchCriteria,"zbooks");
if(!isnull(r_SearchResults.get("customerpayments")))
{
l_SearchResults ...
... page
for each v_Page in l_Pages
{
l_SearchResults = zoho.crm.searchRecords("ModuleToSearch", v_SearchCriteria, v_Page, 200, m_SearchParam);
//
// loop through search results
for each r_Result ...
... if not found, let's see if state is specified
else if(!isnull(r_LeadDetails.get("State")))
{
// find a module record matching the State
l_SearchResults = zoho.crm.searchRecords("States","Name:equals:" ...
... = "(field0:equals:" + v_UserID + ")";
l_SearchResults = zoho.crm.searchRecords("Vendors_X_Users",v_SearchCriteria);
Code to Add a value to a multi-lookup (on Create Record):
// sample code when ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.